Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-14 23:59:03.684919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-14 23:59:22.463237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d1d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.205121278762817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-14 23:59:42.887319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.373593330383301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:00:02.443715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.464040756225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:00:21.989125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d70d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.0690979957580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:00:41.920331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554beb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.8485770225524902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:01:02.916585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.242823600769043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:01:22.102892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.005952596664429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:01:46.766345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.172652006149292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:02:03.347137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ecfd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.6642496585845947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:02:22.754250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e0b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.858052492141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:02:42.731551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.320601224899292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:03:02.778866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.15472674369812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:03:21.905709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.828362226486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:03:41.911418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.143549203872681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:04:03.087225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.0478780269622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:04:22.336197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55550d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.800556659698486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:04:42.478612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 7.712589502334595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:05:02.951149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eef90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9860754013061523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:05:21.965688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55940f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.492246866226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:05:42.087772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.131036043167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:06:02.932335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.0474653244018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:06:22.374735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d11b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.845186471939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:06:42.393884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ae70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.107114315032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:07:03.204780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ff70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.147408962249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:07:22.410734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559f070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.011099338531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:07:42.448937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ddf0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.6539745330810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:08:04.658611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.244801759719849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:08:24.073318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a20d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.830800533294678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:08:44.050298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.174716949462891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:09:03.126997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558aed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.235108375549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:09:22.094812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8113853931427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:09:43.351815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.155694007873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:10:02.923063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.714365005493164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:10:22.371821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.856014966964722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:10:42.289645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3793869018554688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:11:03.233270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.036444664001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:11:22.427841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.801881313323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:11:42.369305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5812149047851562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:12:02.951686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8797597885131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:12:22.329593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.822616100311279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:12:42.470468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558beb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.241881847381592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:13:03.202495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.070574045181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:13:22.357267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.796811103820801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:13:42.427082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.648553848266602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:14:03.622188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a1050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.612852573394775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:14:22.620675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4130>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.854964256286621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:14:42.693382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aee90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.9427638053894043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:15:02.743144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5499e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.214234828948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:15:21.986382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55990b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8514814376831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:15:42.009553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.149449825286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:16:03.137140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5449030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.101794481277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:16:22.460616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.818711042404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:16:42.468661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ded0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.172664403915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:17:03.368878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592f70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9922287464141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:17:22.577046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55730d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.225188970565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:17:42.642220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.1204023361206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:18:02.497105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f03f30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.265430688858032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:18:21.967378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559d090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.876013278961182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:18:41.933126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ff10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9917194843292236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:19:03.188484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ded0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.263367176055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:19:22.066521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1796793937683105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:19:42.093373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffdf0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.234046220779419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:20:02.852246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.834604024887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:20:22.248753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.839483022689819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:20:42.290216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.198038816452026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:21:03.106072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.022772312164307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:21:25.127062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c10d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.122954845428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:21:42.333726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.235774993896484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:22:02.478550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:22:21.895340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.79658579826355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:22:41.935398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549be70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3568108081817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:23:03.356601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bdeb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 9.21281623840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:23:22.453970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.799419641494751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:23:42.520858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.213097333908081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:24:02.631109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.543887138366699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:24:21.918653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55890d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.1368350982666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:24:41.968708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549edd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.207854270935059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:25:03.613416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551feb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.0031068325042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:25:22.713828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.7833945751190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:25:42.742060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fde10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3967623710632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:26:02.844177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533fd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.256465673446655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:26:22.177161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.842059373855591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:26:42.208348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.052122116088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:27:03.195728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55610d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1846723556518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:27:22.553172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f105d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.788684844970703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:27:42.657898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553fe50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.164058685302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:28:02.598947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557cff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.1037826538085938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:28:22.038887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.824829339981079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:28:42.007528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.176607847213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:29:03.312232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.632504224777222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:29:22.243290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b30d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 6.342544317245483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:29:42.285092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.501217842102051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:30:03.363057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593f70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.223817586898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:30:22.797421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55840f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.549740552902222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:30:45.357125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ae10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9106228351593018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:31:03.214868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5524fd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9316062927246094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:31:22.378959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.797766208648682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:31:42.271748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.299626111984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:32:03.272344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554f30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8871302604675293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:32:22.629252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a80f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.839418172836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:32:42.653788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.126890182495117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:33:03.482060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.088795185089111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:33:22.785711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55700b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.814801216125488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:33:50.479701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553df10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.83261775970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:34:03.346449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:34:22.712353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cb0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.3608033657073975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:34:43.648961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.104982852935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:35:03.009040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.385366678237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:35:21.932941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55620d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.781612157821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:35:41.880498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.15494704246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:36:03.130406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3059706687927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:36:22.420251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.856842279434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:36:42.410613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.186174154281616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:37:03.373811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.104517936706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:37:22.534394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.824834585189819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:37:42.580298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.500182867050171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:38:03.146802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bdfb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.893696069717407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:38:22.444254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8363776206970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:38:42.461545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ddf0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.6601595878601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:39:03.760900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.041242599487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:39:22.571179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.79140305519104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:39:42.584757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ae90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.178861379623413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:40:02.757655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2065482139587402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:40:22.095595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9094152450561523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:40:42.151637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ae70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.8936080932617188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:41:02.951497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:41:22.323533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55690b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.963580846786499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:41:42.249584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 7.797473669052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:42:03.059084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b5030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 8.828798532485962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:42:22.474763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55410d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 7.524513244628906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:42:42.499931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556aeb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.158214330673218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:43:02.778903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8f30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.0730767250061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:43:21.855645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55821b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.874626636505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:43:41.873297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f01a10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.099046230316162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:44:02.498908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e5050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.953112840652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:44:22.030652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55310f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.862451076507568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:44:41.919687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.2133824825286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:45:03.138577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5455030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.293808221817017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:45:22.397138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.457822561264038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:45:42.307671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1475512981414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:46:03.024519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faf70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.591660499572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:46:22.510512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.7858400344848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:46:42.561461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ddd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.456516742706299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:47:03.165893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551be50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.012213468551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:47:22.434185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.784382104873657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:47:42.563669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.8156218528747559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:48:03.374527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:48:29.569058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559f1f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.692000389099121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:48:42.752818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fdd70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.188335418701172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:49:03.549328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fafd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.112595081329346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:49:22.667776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55790f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.634929656982422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:49:42.684235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.6986405849456787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:50:03.236195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.587810277938843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:50:22.773347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.771560907363892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:50:42.794864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.4304172992706299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:51:02.614544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.171321868896484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:51:21.863968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569110>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.802273273468018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:51:41.861245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.126753091812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:52:02.964847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2634246349334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:52:22.321850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.826900482177734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:52:42.260663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.209500551223755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:53:03.225624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9765610694885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:53:22.463359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2871224880218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:53:42.401671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.150010347366333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:54:03.474975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.1570587158203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:54:22.755758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e10d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 6.617167949676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:54:42.683328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.230088233947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:55:03.086479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:55:22.342960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:55:44.180131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ce90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 6.67718243598938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:56:02.984609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:56:27.875791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e40f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 8.601853132247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:56:42.242997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.154313564300537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:57:03.627020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555fb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.7453434467315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:57:22.430838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55158d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.807447910308838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:57:42.488553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ff6710>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1506171226501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 00:59:03.453093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.468778371810913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 00:59:22.415515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 6.06664514541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 00:59:42.462748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f4df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3401551246643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:00:02.755459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.1281800270080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:00:22.171325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a1190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.992764949798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:00:42.135979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550530>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.189973831176758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:01:02.944001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9583001136779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:01:22.079706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a50b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.846728563308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:01:42.143866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.663438558578491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:02:02.850706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54baf90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.556561231613159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:02:22.310796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 11.565682649612427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:02:42.299494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.192058324813843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:03:04.534681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:03:22.032457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.818776607513428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:03:42.224662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bded0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 6.216023683547974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:04:03.517287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:04:23.217306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bd190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.83530068397522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:04:42.764208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.2485270500183105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:05:02.638014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.255587100982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:05:21.919964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.774322748184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:05:42.043019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553bef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.132088661193848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:06:02.932782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.002875328063965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:06:22.510163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d90b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.826462030410767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:06:42.473235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aee10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1836748123168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:07:03.580279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.797314167022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:07:22.787779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a5190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.630998849868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:07:42.704216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550aef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1951494216918945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:08:02.589811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eeb50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.269515752792358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:08:21.923740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.936808824539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:08:41.892993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaeb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.568594217300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:09:03.729499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5497eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.61194372177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:09:22.584337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.838204860687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:09:42.851469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.212240695953369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:10:03.256546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.0872983932495117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:10:22.571308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.853192090988159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:10:42.658961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e0e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.165548086166382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:11:02.531640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.220362663269043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:11:21.946043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.840322971343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:11:41.867914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.2392730712890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:12:02.879101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ee50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.228682041168213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:12:22.234128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e5170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.794727087020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:12:42.317654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ae90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.6317577362060547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:13:03.275396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557aeb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1967668533325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:13:22.403017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559d0b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.849123477935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:13:42.457003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fe30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.187130689620972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:14:02.643735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb65a5570>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3502283096313477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:14:21.872398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55991b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9930810928344727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:14:41.931906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fd1470>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.2030487060546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:15:02.956682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.208540201187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:15:22.185239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.171720743179321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:15:42.291501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553be30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.420720100402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:16:02.829841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:16:22.214324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 8.478341341018677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:16:42.261256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c8e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 7.613726615905762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:17:03.221494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:17:22.470863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a40b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.605288982391357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:17:42.593900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 7.039358139038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:18:03.007951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:18:22.369219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b30b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 8.389307022094727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:18:42.872515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3db0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.56547737121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:19:03.386879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5574eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.585600852966309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:19:22.131402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8279128074646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:19:42.104078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5594dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.0156750679016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:20:03.023922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501b10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.176816940307617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:20:22.379773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.821701288223267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:20:42.381603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5499dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.42086124420166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:21:03.357216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550fff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.046068906784058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:21:22.458097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.825873613357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:21:42.491681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.193182945251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:22:02.427648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2173569202423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:22:21.873785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559e0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.851963758468628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:22:41.892442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ddf0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.15437388420105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:23:02.901593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.264942646026611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:23:22.110248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.017418384552002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:23:42.234855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.773559808731079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:24:03.448716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.440711498260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:24:22.775605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55280f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.833386659622192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:24:42.702642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.548417806625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:25:02.931150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.080012083053589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:25:22.045315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8463218212127686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:25:41.988268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534df0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.144134759902954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:26:03.098420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.954756736755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:26:22.571939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c80d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.801593065261841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:26:42.553633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efe70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.140554904937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:27:03.361724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556deb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.133269309997559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:27:22.636389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9389901161193848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:27:42.648760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ae70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.9684386253356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:28:02.934470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.201714754104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:28:22.404478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a110>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.813210725784302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:28:42.368470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.36995267868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:29:03.744615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7f50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.154326677322388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:29:22.502775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.796371936798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:29:42.470550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.22937536239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:30:03.105855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ac8c70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 10.012507915496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:30:22.633691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.7484962940216064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:30:42.509730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.831756591796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:31:03.346878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.996229410171509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:31:22.400873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.662147283554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:31:47.317470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 19.148603200912476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:32:08.091101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:32:27.327779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.777754068374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:32:47.233595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dccf0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.192203521728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:33:03.044164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5577070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.86259913444519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:33:21.919424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e0b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.987853050231934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:33:42.115263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb622a790>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.192963600158691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:34:03.298813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554aed0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.1692118644714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:34:22.313451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e30b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.835842847824097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:34:42.432693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515e70>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.277084589004517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:35:03.243260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.2795703411102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:35:22.515906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e20b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.795512676239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:35:42.542388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.24994421005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:36:03.073870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.238206148147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:36:22.508243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9110>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.805042743682861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:36:42.487752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1db0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5468244552612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:37:03.419762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5484030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.094479084014893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:37:22.528654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.786581754684448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:37:42.608244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4e50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.108027696609497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:38:02.724996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5492030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.8315913677215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:38:21.982909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55370d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.053899049758911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:38:41.925490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8e90>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.152331352233887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:39:03.099687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f9eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8987348079681396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:39:22.138759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.8603880405426025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:39:42.035766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de5d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.203901767730713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:40:02.426341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.2543017864227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:40:21.803449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4090>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.79720401763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:40:41.817412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cee50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.305131435394287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:41:02.934680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.0277276039123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:41:22.034717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55101d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.808069229125977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:41:41.998585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5658185482025146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:42:03.322647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb543c030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.681636095046997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:42:22.693216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f0f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.871439218521118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:42:42.677102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.209366083145142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:43:02.856402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5488030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.1102118492126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:43:22.072939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b41d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.853827714920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:43:42.083350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1570>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3252248764038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:44:03.187053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.381178140640259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:44:22.396511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55040d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.852798938751221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:44:42.466241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.14337158203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:45:02.748888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55a3070>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.143073320388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:45:22.001405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8490519523620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:45:42.048621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ae10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.2038819789886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:46:02.953694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549afb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.4588029384613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:46:22.458295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55771b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.794758081436157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:46:42.376334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.198347091674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:47:03.175975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.376455545425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:47:22.474225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.541138172149658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:47:42.513524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fe50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.222362041473389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:48:02.446074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.250283241271973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:48:21.856093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.84096097946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:48:41.858654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7f30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.7996573448181152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:49:03.004287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a1eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.468128442764282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:49:22.005213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.773524761199951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:49:42.061693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558de30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.357949733734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:50:02.631438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564ff0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3084003925323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:50:22.028511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.831852436065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:50:42.025708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fb4710>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.155998706817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:51:03.026342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504fd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9957399368286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:51:22.145079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b90f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.797454833984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:51:42.201423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557fe10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.14306902885437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:52:03.239175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb624d750>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.0252320766448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:52:22.604374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef0d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.8205180168151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:52:42.545951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.080265998840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:53:03.599895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530fd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.026418447494507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:53:22.704945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532150>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.802070140838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:53:42.772036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5597cb0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.215585708618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:54:03.201570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e9030>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.46728515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:54:22.416309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8190>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.770596742630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:54:42.437978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4e30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.142195224761963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:55:03.127493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fefd0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9220693111419678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:55:22.082674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af170>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.9273464679718018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:55:42.115395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573e10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.216456413269043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:56:02.918497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563050>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 4.7726826667785645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:56:22.392876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553d9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:56:42.459482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5541a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:57:03.180190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:57:22.298720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555d8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:57:42.337611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552e970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 01:59:03.233726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 01:59:22.861768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 01:59:42.108960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554ca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:00:02.716362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:00:22.079141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:00:42.015084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eca30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eca30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eca30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:01:02.686891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fec710>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fec710>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fec710>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:01:21.913466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f80550>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f80550>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f80550>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:01:42.024141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5565a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:02:02.684088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a8990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:02:22.115584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55009b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:02:42.074475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cfa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cfa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:03:02.837068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553d590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:03:22.032595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a3970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:03:42.048940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d29d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:04:03.220333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5591990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:04:22.498837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a3a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:04:42.451274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ef9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:05:03.202561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d8970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:05:22.456448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bb9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:05:42.487445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ad9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:06:03.246660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:06:22.592379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a09d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a09d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a09d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:06:42.583738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552f9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:07:03.550476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:07:23.691987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:07:42.663201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:08:02.585271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549d8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:08:22.085545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:08:41.944228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553a590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:09:02.896104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:09:21.836767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55079d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55079d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55079d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:09:41.939862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c89f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c89f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c89f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:10:03.365966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552a1f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a1f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a1f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:10:22.680010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5569a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5569a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:10:42.607562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5546a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:11:03.308327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:11:22.533246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:11:42.585666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55159d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:12:03.291588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:12:22.674246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:12:42.786421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549da10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:13:02.674495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ed8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:13:21.830962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5586a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:13:41.996135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5528a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:14:03.018207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5532950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:14:22.151760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:14:42.153883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551d9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:15:03.392563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb6687d70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6687d70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6687d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:15:22.599279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557da70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:15:42.702255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:16:02.833219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:16:22.250553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f27870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f27870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f27870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:16:42.295361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f98d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f98d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f98d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:17:03.138498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f1a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:17:22.254620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54df9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:17:42.239581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eda30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eda30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eda30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:18:02.972697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5541970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:18:22.335279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f38d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f38d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f38d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:18:42.391665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5576570>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576570>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576570>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:19:03.545834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aaa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:19:22.244078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:19:42.310783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:20:02.678615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:20:22.052815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54be970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:20:42.022260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:21:03.061135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d79d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d79d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d79d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:21:22.123724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e78f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e78f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e78f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:21:42.216388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d3890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d3890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d3890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:22:03.106845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:22:22.562315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554a8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:22:42.562897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:23:03.272700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5514a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:23:22.391682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5506910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:23:42.510784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:24:03.494319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557b950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:24:22.735892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ed930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ed930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:24:42.761019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558b8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:25:02.892522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5513a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:25:22.129760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:25:42.077880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:26:03.291420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5593890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:26:22.613606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55389f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55389f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:26:42.627613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b89b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b89b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b89b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:27:03.554360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f0490>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0490>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0490>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:27:22.687553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557ba50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ba50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ba50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:27:42.730800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:28:02.490936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aa8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:28:21.993386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5553ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:28:42.009490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5522a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:29:03.441333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5508970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:29:22.226397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ce9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:29:42.257186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fe39d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fe39d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fe39d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:30:02.522972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:30:21.881703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aa930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:30:41.918545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c88d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c88d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c88d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:31:02.956161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e48b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e48b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e48b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:31:22.081338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a59f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:31:42.105677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5592970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:32:02.998087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:32:22.390821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5581890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:32:42.319635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5584210>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584210>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584210>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:33:03.096790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:33:22.325577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c19f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:33:42.251769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:34:03.384630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:34:22.568147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5506a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:34:42.448188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eaa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eaa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eaa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:35:03.265305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558b9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:35:22.684851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:35:42.792151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:36:02.673522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5561ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:36:21.937911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:36:41.959709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:37:02.767538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:37:22.153601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:37:42.151712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5575a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5575a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5575a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:38:03.096277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:38:22.343407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553c910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:38:42.294865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:39:03.321892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c68f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c68f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c68f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:39:22.296435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:39:42.400735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:40:02.612231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55919f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55919f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55919f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:40:22.025057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555f970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:40:41.908485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55228d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55228d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55228d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:41:02.602971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:41:21.932008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d49b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d49b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d49b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:41:41.969028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:42:02.907271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5572950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:42:22.396072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55681f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55681f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55681f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:42:42.320014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5531950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:43:03.204027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:43:22.429128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:43:42.443778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5591950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:44:03.412690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557ca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:44:22.638969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553fa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553fa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553fa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:44:42.672907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55089d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:45:02.988251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:45:21.970576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:45:42.028257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558c9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:46:03.067968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b19f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b19f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b19f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:46:22.452441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:46:42.461094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:47:03.367222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b88d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b88d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b88d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:47:22.494406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:47:42.527167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d1910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:48:03.182497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:48:22.716275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:48:42.624973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f7930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:49:03.587823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:49:22.562652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55629d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55629d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:49:42.568722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557b9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:50:02.956178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55038f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55038f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55038f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:50:22.329870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560ad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560ad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560ad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:50:42.298723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:51:03.268472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b69f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b69f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:51:22.401746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:51:42.428100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:52:03.213241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5545a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:52:22.660097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:52:42.614151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5532990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:53:03.336063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aea30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aea30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aea30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:53:22.499373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557cab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557cab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557cab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:53:42.524738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5517a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:54:02.674752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:54:21.877258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a98f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a98f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a98f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:54:41.907027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5519990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:55:02.795564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:55:22.102142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ae990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:55:42.258149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5517a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:56:03.188027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f89d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f89d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f89d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:56:22.511003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551a930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:56:42.442447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:57:03.070033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:57:22.467079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:57:42.440578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554e990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 02:59:03.044155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eaa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eaa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eaa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 02:59:21.922001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a6990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 02:59:41.881101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558b930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:00:02.616975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:00:21.939346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55069b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55069b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55069b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:00:41.919835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554e850>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e850>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e850>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:01:02.656381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5563970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5563970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:01:21.993743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557ea30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ea30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557ea30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:01:41.986225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5554a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:02:02.857755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b9a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:02:22.219729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:02:42.177762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553c930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:03:03.113256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55409b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:03:22.258771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:03:42.260054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550f890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:04:03.452508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:04:22.556380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:04:42.544280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5512a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:05:03.620165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:05:22.802610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:05:42.895364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d9a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:06:02.759372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:06:22.171051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5551910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:06:42.082672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5584a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:07:02.683523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555e9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:07:21.938099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5532ad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532ad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532ad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:07:41.971734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55599d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55599d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55599d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:08:02.850218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:08:22.309295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bda50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bda50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bda50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:08:42.220507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:09:03.563844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:09:22.307057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:09:42.308178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:10:02.534766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556e590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:10:21.958476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a49d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a49d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a49d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:10:41.938706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551f970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551f970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:11:03.169787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5598a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5598a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5598a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:11:22.301140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:11:42.341185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eea50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:12:03.504120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c3a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:12:22.780785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:12:42.781024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:13:02.557149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:13:21.924920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:13:41.930218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55258b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55258b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55258b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:14:03.036031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d09d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:14:22.213067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55709b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55709b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55709b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:14:42.363402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:15:03.447448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:15:22.466360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a7a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:15:42.601300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5562990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:16:02.869716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d6990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:16:22.106597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b48f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b48f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b48f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:16:42.287097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559ba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559ba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:17:03.003988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:17:22.222018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:17:42.234797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5512a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5512a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:18:03.289808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5523590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:18:22.593073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b9a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:18:42.578092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a2950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a2950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:19:04.031980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:19:22.741638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:19:42.775621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5583a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:20:03.095915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5581a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:20:22.487746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554b950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:20:42.539018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e6990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:21:02.788508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5540950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:21:21.821026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:21:41.870406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55209b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55209b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55209b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:22:03.145759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5527970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:22:22.516810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fda30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:22:42.545839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cc9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:23:03.547705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d1930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:23:22.657141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eba70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eba70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eba70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:23:42.784966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:24:03.545297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553ba50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ba50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ba50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:24:22.792237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c3a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:24:42.783632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:25:03.012834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:25:22.064812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5586a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:25:42.114265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557a910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:26:02.623607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550f9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:26:22.147511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5567a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:26:42.140926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5565910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:27:02.603083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:27:21.925833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5517970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:27:42.015902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d94d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d94d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d94d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:28:02.906516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fa950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:28:22.422046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:28:42.304599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557d9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:29:03.770444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552a970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552a970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:29:22.576140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587850>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587850>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587850>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:29:42.687152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5553990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:30:02.934746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c4a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:30:22.316791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555b8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:30:42.361466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:31:03.268957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5571890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:31:22.516785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550ba50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:31:42.483385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5561910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:32:02.569023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ce5b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce5b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce5b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:32:21.972667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:32:41.967124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5583990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5583990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:33:02.839754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:33:21.887466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551a910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:33:41.954039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb616c790>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb616c790>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb616c790>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:34:03.498642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551da10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551da10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551da10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:34:22.607388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5ac6c70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ac6c70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ac6c70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:34:42.607193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5579950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:35:02.848582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55309f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:35:21.878751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a19b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a19b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:35:41.923027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:36:03.130493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a5890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:36:22.545856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55145b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55145b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55145b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:36:42.488539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a3990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a3990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:37:03.050472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551c9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:37:22.200357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550da10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550da10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550da10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:37:42.228813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb6539f70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6539f70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb6539f70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:38:03.230602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:38:22.679874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:38:42.727647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555f910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:39:03.695566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:39:22.669278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e3a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:39:42.720891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c7a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:40:03.231743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5519910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5519910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:40:22.629517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:40:42.576116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f37450>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f37450>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f37450>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:41:03.344599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5502a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:41:22.411817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554c990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:41:42.569815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5518970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:42:02.666115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:42:21.911218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:42:41.909097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5584a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5584a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:43:02.611177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:43:21.834199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:43:41.919669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549ba70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ba70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549ba70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:44:03.353265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f6a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:44:22.451750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d39d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:44:42.340858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fda10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fda10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:45:03.358303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55299b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55299b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:45:22.464927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54caad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:45:42.521307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c48f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c48f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c48f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:46:02.634162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550b9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:46:22.068339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:46:41.927115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55899b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:47:02.646422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c6a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:47:21.956045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f73930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f73930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f73930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:47:41.957543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ba970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:48:02.801804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fa4f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa4f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa4f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:48:22.162524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:48:42.168342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5598a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5598a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5598a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:49:03.206400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:49:22.261459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a99d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a99d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a99d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:49:42.234838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55408b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55408b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55408b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:50:02.822813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:50:22.189950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c4ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:50:42.176843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:51:02.844734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:51:22.088853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5506a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5506a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:51:42.122388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:52:03.217159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:52:22.691330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:52:42.658047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:53:03.148224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:53:22.490195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552fab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552fab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552fab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:53:42.519796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555f9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555f9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:54:02.693298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b59f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b59f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b59f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:54:22.019438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:54:41.949277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:55:03.099945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a69d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a69d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a69d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:55:22.380812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ad9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:55:42.350458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550c9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:56:02.865183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:56:22.239717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54caa90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:56:42.354700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5557950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:57:03.138808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554c8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:57:22.297137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55428f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55428f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55428f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:57:44.150582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5513990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5513990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 03:59:03.552835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588490>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588490>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588490>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 03:59:22.378361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 03:59:42.310557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55058b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55058b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55058b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:00:02.994419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5525990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:00:22.525622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fa9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:00:45.518065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55049b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:01:03.177340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5541430>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541430>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541430>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:01:22.300659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554da30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:01:43.212302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556fa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:02:02.806937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5559a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:02:22.094623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:02:43.346169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55189b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55189b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55189b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:03:03.317745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:03:22.865707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:03:42.724042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5576990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:04:03.489248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55039b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55039b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55039b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:04:22.740417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:04:42.726586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aa910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:05:02.700528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a6870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:05:22.071729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5570a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:05:42.027922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b18f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:06:03.094253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:06:22.492873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550e8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:06:42.518908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e2990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:07:03.243734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551d910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:07:22.460135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:07:42.526920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:08:02.747496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55669b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55669b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55669b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:08:25.687103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e59d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:08:42.205560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:09:03.234976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:09:22.296158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:09:42.255516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55209f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55209f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55209f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:10:02.618990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:10:22.008912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:10:42.068842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55809b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:11:02.784148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:11:22.012036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:11:42.025213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55319b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55319b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55319b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:12:03.298606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f29d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:12:22.693823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5533930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:12:42.798069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54faa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:13:03.394411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:13:22.525772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:13:42.662742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e1910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:14:03.740229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e28d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e28d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e28d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:14:23.344794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55848f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55848f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55848f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:14:42.158033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:15:03.130899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:15:22.385102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:15:42.501334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5504a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:16:03.350773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55969d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:16:22.742245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5514a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:16:42.841814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55639b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55639b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55639b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:17:02.613294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ae910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:17:22.013450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5530a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:17:42.807735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f44950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f44950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f44950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:18:03.415174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ec9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:18:22.732076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aca70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:18:42.757270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d89f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:19:03.679871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:19:22.660137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549c990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:19:42.683472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:20:03.308171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:20:22.683071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:20:42.587737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:21:03.358632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:21:22.393978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:21:42.415183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f6a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:22:03.361520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:22:22.711267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a4a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a4a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:22:42.722177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:23:03.496549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:23:22.582385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5585a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:23:42.722945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:24:05.002307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:24:24.004195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55239b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55239b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55239b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:24:45.217927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552cab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552cab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552cab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:25:03.449131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:25:22.453981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d69d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d69d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:25:42.466831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fba90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fba90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fba90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:26:02.399997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c91f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c91f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c91f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:26:21.861320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b0a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b0a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:26:41.794347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e3990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:27:02.545138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:27:21.912395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:27:41.937013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b9a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b9a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:28:02.992174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555a9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:28:22.442874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:28:42.389728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55888f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55888f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55888f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:29:03.245146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553a8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:29:22.254577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5561a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5561a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:29:42.441591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ac8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:30:02.608494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:30:21.995042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:30:41.990415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555a890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555a890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:31:07.117994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5591a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:31:26.563186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5502930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:31:46.322618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c0990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:32:03.175819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:32:23.080463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:32:42.542347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55429b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:33:03.628918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:33:22.735362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:33:42.823994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5551a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:34:02.995986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d8530>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8530>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d8530>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:34:22.185659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5536990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:34:42.085932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5524950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5524950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5524950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:35:02.980958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55329b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55329b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55329b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:35:22.046503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552e9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:35:42.168796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:36:02.619580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b1a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b1a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:36:22.004663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55298f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55298f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55298f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:36:41.960730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5518a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:37:02.703247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5aa0cb0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5aa0cb0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5aa0cb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:37:21.896081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:37:41.867851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d2a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:38:02.819551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ad970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:38:22.265689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5550990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:38:42.178057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a5a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:39:03.480560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55978b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55978b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55978b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:39:22.387683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a9950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:39:42.424001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:40:02.803995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552da50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552da50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:40:22.205450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eb9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:40:42.170912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551fad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551fad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551fad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:41:02.891089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55449d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55449d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55449d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:41:22.105049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c58d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c58d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c58d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:41:42.148673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55129f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:42:02.930113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:42:22.398443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:42:42.422986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550aa70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550aa70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550aa70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:43:03.312567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d2a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:43:22.499310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5574a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5574a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5574a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:43:42.569273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a39b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a39b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a39b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:44:02.633636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5527990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:44:30.192413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55328f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55328f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55328f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:44:41.785351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590830>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590830>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590830>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:45:10.346304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:45:26.709866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d5a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:45:48.136786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:46:02.949856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:46:22.248190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55508d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55508d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55508d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:46:42.364895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5582990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:47:03.295597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e48f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e48f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e48f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:47:22.561739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fa08d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fa08d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fa08d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:47:42.644805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c19b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:48:02.725037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5576970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:48:22.254535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55939b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55939b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55939b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:48:42.194002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55349d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:49:03.152080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5531970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:49:22.152183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:49:42.234617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:50:02.845534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5586870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:50:22.204039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:50:42.239394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:51:02.856189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:51:22.078461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a5990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:51:42.184051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:52:03.097000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b89d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b89d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b89d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:52:22.642339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559b990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:52:42.457559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:53:03.398503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:53:22.715360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55419d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:53:42.735935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:54:03.587515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:54:22.741615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:54:42.705632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55529b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:55:03.614439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551b930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:55:22.871228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54df1b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df1b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df1b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:55:42.795934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:56:02.765956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d09b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d09b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:56:22.269843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55909d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55909d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55909d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:56:42.180578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:57:02.972786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c38b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c38b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c38b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:57:22.037670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559a930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559a930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:57:42.255936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 04:59:03.573557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5502a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 04:59:22.566520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bca50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bca50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bca50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 04:59:43.612783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549d1f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d1f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549d1f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:00:03.018284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:00:22.568096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d2890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:00:42.615730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b4990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:01:03.128643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554a590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:01:22.282048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54be950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:01:42.314979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5530a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:02:02.974158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a48d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a48d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a48d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:02:22.293831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553b9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:02:42.251598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54df8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:03:03.397091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55168d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55168d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55168d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:03:22.583402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:03:42.642226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54efa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54efa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:04:03.339199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:04:22.636042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b7ad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7ad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7ad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:04:42.608528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cba50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cba50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cba50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:05:03.489721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5564990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:05:22.649732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5570a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:05:42.598282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f5d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f5d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f5d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:06:02.830645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:06:22.309095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5537ad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537ad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5537ad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:06:42.271721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5589950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:07:03.068394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5570970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5570970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:07:22.160987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549e8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:07:42.242776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553f990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:08:03.088632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:08:22.476274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:08:44.022454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55409d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55409d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:09:02.832897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:09:21.959620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553a9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:09:41.896756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55408f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55408f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55408f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:10:03.268217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:10:22.733960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eea90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:10:42.596708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558e950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:11:03.270414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55059b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55059b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55059b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:11:22.459884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557e990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557e990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:11:42.553312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5521950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:12:03.431148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c7910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:12:22.844999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5571910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:12:42.810374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5517a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5517a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:13:03.599477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:13:22.863010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:13:42.826164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:14:02.822958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55439d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:14:22.057294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:14:42.109223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cd9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:15:03.163254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fb970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:15:22.416451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55771d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55771d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55771d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:15:42.446894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553c8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553c8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:16:03.210970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:16:22.585796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:16:42.530384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:17:03.264029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5516950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5516950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:17:22.418160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:17:42.430968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553d9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:18:03.314003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ac930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:18:22.785319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55499b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55499b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:18:42.596727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f58b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f58b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f58b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:19:03.622805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5540a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5540a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:19:22.636537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55849d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55849d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55849d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:19:42.629493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b8970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:20:02.989344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:20:22.343003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5501890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5501890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:20:42.328070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:21:03.167657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55899d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:21:22.342393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5500930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:21:42.335270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55779b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:22:03.157984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d18d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d18d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d18d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:22:22.656669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54afa90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:22:42.619724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:23:03.289833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:23:22.450984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:23:42.432488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:24:03.624809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55109b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55109b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:24:22.749924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55718f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55718f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55718f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:24:42.761407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c28f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c28f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c28f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:25:03.119377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55368b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55368b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55368b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:25:22.215459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:25:42.239769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:26:03.422632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d0970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d0970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:26:22.717894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:26:42.706954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55879b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55879b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55879b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:27:02.742217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f99b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f99b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f99b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:27:21.774480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5535970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:27:41.849729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e38b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e38b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e38b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:28:02.922138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5523a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:28:22.182166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5553a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:28:42.129744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5579970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5579970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:29:03.304166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:29:22.203214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554da50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554da50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:29:42.219486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5509990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:30:02.372259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55829d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55829d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55829d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:30:21.778095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5564970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:30:41.834642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:31:03.391638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5551a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5551a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:31:22.740310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554c970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:31:42.735612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55589b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55589b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55589b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:32:02.804014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:32:22.052947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5541990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:32:41.979427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5521a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5521a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:33:02.929527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f88f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f88f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f88f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:33:22.100955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549da30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549da30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:33:42.102968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5592990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:34:03.412765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e7950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:34:22.552105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:34:42.559954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5580990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:35:02.744760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:35:21.976407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55129b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55129b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:35:42.103916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:36:02.920210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bea30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bea30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:36:22.301298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:36:42.264025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ae9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ae9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:37:03.220044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e2a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:37:22.313306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558d8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558d8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558d8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:37:42.347334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559b590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:38:03.362697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55279f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55279f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55279f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:38:22.665021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5593a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:38:42.703681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c9a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c9a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:39:03.878918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dd970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dd970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:39:22.744541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55229b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:39:42.812983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ca9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:40:03.220998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:40:22.643086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fd9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:40:42.655801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b7590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:41:03.414316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:41:22.636293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5527a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5527a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:41:42.676983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550ca30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ca30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ca30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:42:02.561691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553f8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:42:22.036024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:42:41.891418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:43:02.616356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:43:21.807074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:43:41.857683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a5870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:44:02.817588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d6a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:44:22.002665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5534930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:44:42.106338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5532a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5532a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:45:02.846046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55359d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55359d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55359d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:45:22.115793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55938d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55938d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55938d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:45:42.152641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556a8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:46:03.245923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5535a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:46:22.550003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5529a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:46:42.491326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b39f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b39f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b39f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:47:03.357369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d2910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d2910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:47:22.475542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b18b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:47:42.407284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f3950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:48:03.288594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c49d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c49d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c49d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:48:22.626687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:48:42.654851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:49:03.747469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f0a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:49:22.578586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:49:42.666403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb618d750>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb618d750>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb618d750>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:50:03.146976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fbab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fbab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fbab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:50:22.494316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55369f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55369f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55369f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:50:42.460564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fa970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:51:03.369604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5533950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:51:22.597903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:51:42.605753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55559b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55559b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:52:02.649305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:52:21.941738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:52:41.883722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55988d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55988d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55988d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:53:03.650273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b6950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b6950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b6950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:53:22.801541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:53:42.797583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:54:02.883821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ce990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ce990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:54:22.057596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a9a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:54:42.070529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556d970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:55:03.138053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ca50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:55:22.268974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553f910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:55:42.353307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55009f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:56:03.392336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:56:22.714794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:56:42.726831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f1930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:57:03.443095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55819d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:57:22.578409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c6a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c6a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:57:42.621190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54be990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54be990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 05:59:03.180802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5531990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5531990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 05:59:21.996408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 05:59:42.073182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5539870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5539870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:00:03.313875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55269d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:00:22.804967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:00:42.734329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aaa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:01:03.410181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5578870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:01:22.535474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:01:42.692613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552f8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:02:02.670342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5528830>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528830>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528830>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:02:21.996797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d6a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:02:41.961539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55579f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55579f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55579f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:03:02.890406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f3910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:03:22.017842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:03:42.062362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:04:03.210010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:04:22.630445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551ca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:04:42.481632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558a190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a190>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:05:02.626803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55449b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55449b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55449b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:05:21.787409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:05:41.960752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:06:02.589846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5582ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5582ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:06:22.009731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:06:41.932489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553a9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553a9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:07:02.563064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5565af0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565af0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565af0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:07:21.883944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55439b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:07:41.889869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5591ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:08:02.564505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:08:21.982774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e1a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e1a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:08:42.046609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55641b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55641b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55641b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:09:03.289993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554ba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:09:22.353252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552f950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:09:42.245582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551b190>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b190>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b190>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:10:03.024878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:10:22.368518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553cab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553cab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553cab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:10:42.357122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55439f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55439f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:11:03.137559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:11:22.470035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556d8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556d8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:11:42.490149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5510930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5510930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5510930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:12:03.230894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55139f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:12:22.633368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549c9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:12:42.690901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:13:03.514397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5511950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5511950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:13:22.553654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5558a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:13:42.624766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e6970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:14:02.928483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:14:22.050232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55119d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:14:42.118082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:15:03.172215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5e6f970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5e6f970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5e6f970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:15:22.221330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:15:42.247218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d4a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d4a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:16:03.019772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:16:22.358983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552ca50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ca50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ca50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:16:42.385746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ec970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ec970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:17:03.152606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5572a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5572a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:17:22.386742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:17:42.411369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5bd5870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5bd5870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5bd5870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:18:03.276629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5546970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5546970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:18:22.500685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b99f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b99f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b99f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:18:42.529328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555ca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:19:03.850092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:19:22.566276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5515a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5515a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:19:42.682919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c09b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c09b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c09b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:20:02.956027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5593a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5593a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:20:22.333643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553da10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553da10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553da10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:20:42.295266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f64d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f64d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f64d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:21:03.007131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5592a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:21:22.093750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dca50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dca50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dca50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:21:42.134850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f487b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f487b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f487b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:22:02.755667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54afa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54afa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:22:22.181167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556e950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:22:42.092981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551d950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551d950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:23:03.091573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5585a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5585a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:23:22.134708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:23:42.145776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fc8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fc8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:24:03.522388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559b970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:24:22.451912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554b130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b130>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:24:42.467517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5573a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5573a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:25:02.840382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555c9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:25:22.101605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55879d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55879d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55879d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:25:42.204136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c1950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c1950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:26:02.878635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d1a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:26:22.297743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5ab2c90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ab2c90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5ab2c90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:26:42.301409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551e8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551e8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:27:03.311814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55519d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55519d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55519d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:27:22.531324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5508510>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508510>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5508510>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:27:42.543368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550e910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:28:03.042960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:28:22.586022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55159b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55159b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:28:42.534581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bb990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bb990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:29:03.527202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b8890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:29:22.263514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:29:42.386169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5545910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:30:02.611081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55568f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55568f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55568f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:30:22.108793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:30:42.052199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cd8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cd8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:31:03.123611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5571990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:31:22.291613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:31:42.311244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552fa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552fa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552fa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:32:02.939475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bc9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bc9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:32:22.312769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5550a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:32:42.316105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:33:02.803552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55378d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55378d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55378d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:33:22.162258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b2a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b2a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:33:42.181671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5507950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:34:03.137251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55429f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:34:22.420094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fc9410>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fc9410>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fc9410>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:34:42.292518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54de130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de130>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:35:03.589627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5558930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5558930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:35:22.678474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e7a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e7a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:35:42.685891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dcab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dcab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dcab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:36:02.494308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:36:21.982974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eb9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:36:41.908974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:37:02.719015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ac9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ac9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:37:21.995494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:37:42.022511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:38:02.866081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55089f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55089f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:38:22.284198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5552990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5552990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:38:42.219148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54aa990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:39:03.192467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:39:22.444795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55338d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:39:42.279244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f79f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f79f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f79f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:40:03.302248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:40:22.696100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c29d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:40:42.755690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:41:03.388272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f5f6b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f5f6b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f5f6b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:41:22.679049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:41:42.717922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fb950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fb950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:42:02.915229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5578a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:42:22.327637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5504ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:42:42.274507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5a14c50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a14c50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a14c50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:43:03.175979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55469d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55469d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55469d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:43:22.425072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ad930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ad930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:43:42.336037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55609d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55609d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:44:03.010779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ef890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ef890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:44:22.199146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5571970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5571970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:44:42.244240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5522970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:45:03.029565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5555970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:45:22.394373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c7a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c7a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:45:42.502274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55878d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55878d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55878d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:46:02.405518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:46:21.832517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5592950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5592950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:46:41.803207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:47:02.777631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54df930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54df930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:47:21.903307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556b9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:47:42.093059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:48:02.784909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:48:22.317655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55589f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55589f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55589f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:48:42.291481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:49:03.132881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a6890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:49:22.119889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55399d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:49:42.317991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55688d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55688d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55688d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:50:02.675885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a7990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:50:21.971658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d530>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d530>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d530>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:50:42.018628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5549990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5549990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:51:02.747897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:51:21.877541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f8a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:51:41.940917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:52:02.927864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d19d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d19d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:52:22.308590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5581ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:52:42.261271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5504970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5504970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:53:02.934867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:53:22.124492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5594a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5594a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5594a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:53:42.125216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5564950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5564950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:54:03.160065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a8af0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8af0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a8af0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:54:22.509882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558da90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558da90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558da90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:54:42.545809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5590990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5590990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:55:03.427231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb559b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb559b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:55:22.769850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55958b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55958b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55958b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:55:42.721576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5536a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:56:02.503993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d6910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:56:22.019713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ea70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:56:41.995781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5535870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5535870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:57:03.053669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:57:22.229039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5530990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5530990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:57:42.139947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549f8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 06:59:02.887330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 06:59:21.883065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 06:59:41.916782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f8950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:00:02.591250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c0a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:00:22.032849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554b9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:00:42.000226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5523910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5523910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:01:02.878433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:01:22.135357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55171f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55171f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55171f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:01:42.058088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:02:02.873136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5594990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5594990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5594990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:02:22.342426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556fa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556fa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:02:42.377184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558fa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558fa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558fa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:03:02.944653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5566970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:03:22.364701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:03:42.375300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554d870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:04:03.290973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549fa70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549fa70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549fa70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:04:22.663373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5580a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5580a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:04:42.703570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555aa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:05:02.797566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fd9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:05:22.140948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:05:42.001084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5589930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5589930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:06:02.824576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5514970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5514970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:06:22.262076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:06:42.198508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552b8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:07:02.940713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55079b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55079b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55079b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:07:22.223044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f5a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f5a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:07:42.093667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5553950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:08:02.898705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5a79c50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a79c50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5a79c50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:08:22.310000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557da30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:08:42.272447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555ca30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555ca30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:09:03.278130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb62397b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb62397b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb62397b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:09:22.318619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d44f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d44f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d44f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:09:42.342540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bf910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:10:02.745397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5562a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:10:22.211318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ea910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:10:42.197089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5502990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:11:02.750916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553ca10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ca10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553ca10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:11:22.164310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c0a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c0a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:11:42.212327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5576110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576110>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:12:02.925836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5fb0850>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fb0850>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5fb0850>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:12:22.298265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:12:42.278660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55979b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:13:02.917922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550a4f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a4f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a4f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:13:22.227464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5562a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:13:42.298176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552f930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:14:03.203181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55498b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55498b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55498b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:14:22.398951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ddab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ddab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ddab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:14:42.501099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5562a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5562a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:15:02.714856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55318f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55318f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55318f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:15:21.915010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553e930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:15:42.027439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55659d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55659d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:16:02.931549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552d9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:16:22.325327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c3a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c3a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:16:42.248373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551a950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:17:03.185929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:17:22.417990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55959b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55959b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55959b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:17:42.368975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54caa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54caa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:18:03.366651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5536970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:18:22.681841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5545a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:18:42.663938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b7a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b7a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:19:03.487780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f67910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f67910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f67910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:19:22.635436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c19d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c19d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:19:42.766084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:20:03.400353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5591a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5591a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:20:22.805031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550c990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550c990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:20:42.747895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553d990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553d990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:21:02.739251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:21:23.059871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e39b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:21:41.924184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:22:03.129003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55368d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55368d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55368d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:22:22.534680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54af910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:22:42.524783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a7970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:23:03.258115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5568a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:23:22.588692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e3170>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3170>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e3170>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:23:42.510151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555da10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555da10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555da10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:24:02.776386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f3a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:24:21.889985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b4950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:24:41.939506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55049f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55049f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:25:03.270065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:25:22.390120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55649d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:25:42.349581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:26:03.417490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:26:22.679294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f6970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f6970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:26:42.662078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5528970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5528970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:27:03.135961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f8890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f8890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:27:22.271250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5500a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5500a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:27:42.250765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55809f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55809f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:28:02.955760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5581990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:28:22.390001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:28:42.407923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557b110>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b110>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557b110>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:29:03.355973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550e9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550e9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:29:22.302388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f48d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f48d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f48d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:29:42.419753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f7a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f7a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:30:03.106109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5556990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5556990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:30:22.518886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550f970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550f970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:30:42.498364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5b3d8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5b3d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5b3d8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:31:03.134682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f7d750>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f7d750>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f7d750>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:31:22.355921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f0b730>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f0b730>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f0b730>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:31:43.866921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55348b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55348b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55348b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:32:02.591952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:32:22.011057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5509a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:32:42.046269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5533a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:33:03.506077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:33:22.853170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fa990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fa990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:33:42.847375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550b9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:34:03.366159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d89b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:34:22.790022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5548990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5548990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5548990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:34:42.835184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e68d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e68d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e68d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:35:02.872104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5557ab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557ab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5557ab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:35:21.999681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550a990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:35:41.966353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55639d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55639d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55639d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:36:03.085130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5554970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:36:22.364176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:36:42.378489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d1970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d1970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:37:03.224749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:37:22.457946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:37:42.334526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cf8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cf8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:38:02.530955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:38:21.883401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553f8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:38:41.851754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552e990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552e990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:39:02.887029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a7490>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7490>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7490>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:39:21.912740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:39:41.786685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cfa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cfa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cfa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:40:02.968084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5520970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5520970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:40:22.446672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558e9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:40:42.522839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e2a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e2a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:41:03.097394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505510>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505510>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505510>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:41:22.364737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55729d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:41:42.416044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54faa50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:42:02.389099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f3c650>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f3c650>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f3c650>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:42:21.776896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:42:43.592858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553aa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553aa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553aa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:43:03.466221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:43:22.851140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55328d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55328d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55328d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:43:42.824595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ab5f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab5f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ab5f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:44:03.036683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e99f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e99f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e99f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:44:22.179868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555fa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555fa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555fa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:44:42.242852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558c910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558c910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:45:03.425244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c99d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:45:22.655778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5550910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:45:42.735805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5588150>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588150>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5588150>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:46:02.713607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b29d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:46:22.117862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55399b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55399b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:46:41.993786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f48f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f48f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f48f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:47:02.860148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ff950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:47:22.169310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552aa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:47:42.238528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5553a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5553a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:48:03.352911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eb890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:48:22.796494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557d9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:48:42.835170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b8590>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8590>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b8590>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:49:03.837656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f09d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f09d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f09d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:49:22.840772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b4930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:49:42.846900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55249d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55249d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55249d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:50:03.162527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549c8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:50:22.564389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d9570>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9570>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9570>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:50:42.534052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550ba10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550ba10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:51:03.454980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a0a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:51:22.594399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5536a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:51:42.636747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb553e970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553e970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:52:03.096807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551c9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:52:22.394112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55969f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:52:42.330183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55119f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:53:03.023859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554a9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554a9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:53:22.327010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:53:42.289950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a0930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a0930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:54:03.556575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557c970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557c970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:54:22.735431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bcaf0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bcaf0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bcaf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:54:42.730979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55804d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55804d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55804d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:55:02.663983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557a8d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:55:21.974537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c4930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c4930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:55:42.033544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d7a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:56:02.812242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55769f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:56:22.298071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:56:43.118497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ea990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ea990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:57:06.052649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5f04870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f04870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5f04870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:57:25.143921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:57:45.170170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55099b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55099b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55099b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 07:59:03.590011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5518990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5518990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 07:59:22.333782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ba9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ba9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 07:59:45.064578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5578970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5578970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:00:02.634113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55829b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55829b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55829b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:00:22.045960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55689d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55689d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55689d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:00:42.005684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55529d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:01:03.341078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:01:22.665842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5522a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5522a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:01:42.698348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:02:02.712831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5509970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:02:22.162568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ecab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ecab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ecab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:02:42.252754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556f910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:03:03.067699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb61ff790>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61ff790>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb61ff790>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:03:22.156522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c08f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c08f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c08f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:03:42.267346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55379b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55379b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55379b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:04:03.649063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54ca870>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca870>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ca870>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:04:22.765641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54b18d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b18d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:04:42.876743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55799f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55799f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:05:02.973639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554d510>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d510>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554d510>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:05:22.079288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552f9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552f9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:05:42.350234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55929b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55929b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55929b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:06:03.116608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54db950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:06:22.570768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555e910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:06:42.504433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dc890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:07:03.279430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d5a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:07:22.399809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55729f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:07:42.556920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5547950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:08:02.621909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb549f910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549f910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:08:22.037520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:08:42.112928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d9930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d9930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:09:03.279223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f69b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f69b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:09:22.197868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:09:42.234880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c5950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c5950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:10:02.964282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:10:22.411082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:10:42.422514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54db890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54db890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:11:03.690141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5587970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:11:22.791083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:11:42.872877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cc910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:12:02.773538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5559910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:12:22.210494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55769d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55769d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:12:42.204647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5545850>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545850>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5545850>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:13:03.132462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54eea30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54eea30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:13:22.313302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552ba30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ba30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:13:42.388610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55619f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:14:02.681102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5599910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5599910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5599910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:14:21.946091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a68f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:14:41.924220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:15:03.084791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:15:22.313647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb551aa30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551aa30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551aa30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:15:42.336916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:16:02.499189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5525a70>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525a70>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5525a70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:16:21.940068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55229f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:16:41.903296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554b970>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b970>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b970>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:17:02.839661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505a90>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a90>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:17:22.000808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fe8b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe8b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fe8b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:17:42.061234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5560930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5560930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:18:03.060056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5543990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:18:22.419398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb550d9f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:18:42.421724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5548930>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5548930>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5548930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:19:03.533770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f1890>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1890>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1890>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:19:22.538045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54bfab0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfab0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54bfab0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:19:42.654915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a5a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a5a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:20:03.371283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a9990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a9990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:20:22.705758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5565990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5565990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:20:42.713917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54faa10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54faa10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:21:03.427610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54cc9b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54cc9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:21:22.741487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54da990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:21:42.811451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55309b0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309b0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55309b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:22:02.880313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f19d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f19d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f19d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:22:22.306940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5534a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5534a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:22:42.295544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55839d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55839d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55839d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:23:03.058606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c29f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c29f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:23:22.252831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5505a50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5505a50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:23:42.363036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54a6910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a6910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:24:03.582191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d30d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d30d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d30d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:24:22.735483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55139d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55139d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:24:42.829528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54d85d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d85d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d85d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:25:03.330986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb554c9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:25:22.442616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb558ba50>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba50>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558ba50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:25:42.514194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:26:03.358028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5586990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5586990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:26:22.714095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54dea10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dea10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dea10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:26:42.699121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb552c9d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:27:02.699966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5533990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5533990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:27:21.863636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb555b910>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b910>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb555b910>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:27:41.977055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55549d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55549d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55549d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:28:02.953760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55029f0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55029f0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55029f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:28:22.462432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb55538d0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55538d0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55538d0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:28:42.388317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54c2a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:29:03.451093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5547a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5547a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:29:22.369635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5555990>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:29:42.450004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54e6a30>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6a30>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e6a30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:30:03.274951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5544950>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544950>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5544950>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:30:22.540391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f2a10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:30:42.553527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb5576ad0>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576ad0>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5576ad0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:31:02.937767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 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_15072025.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)
OSError: [Errno 113] No route to host

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 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, 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.VerifiedHTTPSConnection object at 0xb54fd130>: Failed to establish a new connection: [Errno 113] No route to host

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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd130>: Failed to establish a new connection: [Errno 113] No route to host'))

During handling of 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 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: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fd130>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:31:22.191312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:31:42.246696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:32:02.562146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:32:22.000869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:32:41.961601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:33:02.822863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:33:22.005627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:33:42.098446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:34:03.486859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:34:22.535603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
error with portfolio, creating one with hour/min
Maybe name is duplicate : plaque_valcor_0323_15072025
 Status : 503
 Content : b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
 All Response : <Response [503]>
couldn't create portfolio, exiting...
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:34:42.603527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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_15072025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 24949303, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1752561343000}
4220
3288710
4220
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/01/56/image_15072025_01_56_40_3591.jpg', '/home/pi/Desktop/images/15072025/01/56/image_15072025_01_56_58_3783.jpg', '/home/pi/Desktop/images/15072025/01/57/image_15072025_01_57_16_2632.jpg', '/home/pi/Desktop/images/15072025/01/57/image_15072025_01_57_46_2536.jpg', '/home/pi/Desktop/images/15072025/01/58/image_15072025_01_58_04_2670.jpg', '/home/pi/Desktop/images/15072025/01/59/image_15072025_01_59_25_3602.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/01/56/image_15072025_01_56_40_3591.jpg
/home/pi/Desktop/images/15072025/01/56/image_15072025_01_56_58_3783.jpg
/home/pi/Desktop/images/15072025/01/57/image_15072025_01_57_16_2632.jpg
/home/pi/Desktop/images/15072025/01/57/image_15072025_01_57_46_2536.jpg
/home/pi/Desktop/images/15072025/01/58/image_15072025_01_58_04_2670.jpg
/home/pi/Desktop/images/15072025/01/59/image_15072025_01_59_25_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153488","1372153482","1372153491","1372153485","1372153500","1372153495"],"photo_ids_order":["1372153482","1372153485","1372153488","1372153491","1372153495","1372153500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e7f474b130a79fbe2d87eaa4a13ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody3020566295922010963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_57_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/7/15/e462f3aae06e9e7117c90db85bb01a05.jpg","text":"TemporaryFile(/tmp/multipartBody5515359580516908104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_56_40_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f675f9f8577834009be8d91190b426fd.jpg","text":"TemporaryFile(/tmp/multipartBody3364455435059123783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_57_46_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be0c85e03f08037e68168a57ce95a89f.jpg","text":"TemporaryFile(/tmp/multipartBody2392592795701812968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_56_58_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/528db83e6e4c760d4b14c3e7c197fb47.jpg","text":"TemporaryFile(/tmp/multipartBody3642135579642260425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_59_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ad47f293b1bb325a24b9a7cef65b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2576091532792015965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561347035,"filename":"image_15072025_01_58_04_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153488","file1":"1372153485","file0":"1372153482","file4":"1372153495","file5":"1372153500","file3":"1372153491"},"map_files_photo_id_array":[{"photo_id":"1372153500","filename":"file5"},{"photo_id":"1372153488","filename":"file2"},{"photo_id":"1372153495","filename":"file4"},{"photo_id":"1372153485","filename":"file1"},{"photo_id":"1372153482","filename":"file0"},{"photo_id":"1372153491","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153488":["hashtag1","hashtag2"]},{"1372153482":["hashtag1","hashtag2"]},{"1372153491":["hashtag1","hashtag2"]},{"1372153485":["hashtag1","hashtag2"]},{"1372153500":["hashtag1","hashtag2"]},{"1372153495":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153488, 1372153482, 1372153491, 1372153485, 1372153500, 1372153495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.25888013839722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:35:42.049416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/02/02/image_15072025_02_02_52_3775.jpg', '/home/pi/Desktop/images/15072025/02/11/image_15072025_02_11_03_3805.jpg', '/home/pi/Desktop/images/15072025/02/26/image_15072025_02_26_13_2681.jpg', '/home/pi/Desktop/images/15072025/02/55/image_15072025_02_55_49_3607.jpg', '/home/pi/Desktop/images/15072025/03/13/image_15072025_03_13_30_2772.jpg', '/home/pi/Desktop/images/15072025/03/26/image_15072025_03_26_04_1571.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/02/02/image_15072025_02_02_52_3775.jpg
/home/pi/Desktop/images/15072025/02/11/image_15072025_02_11_03_3805.jpg
/home/pi/Desktop/images/15072025/02/26/image_15072025_02_26_13_2681.jpg
/home/pi/Desktop/images/15072025/02/55/image_15072025_02_55_49_3607.jpg
/home/pi/Desktop/images/15072025/03/13/image_15072025_03_13_30_2772.jpg
/home/pi/Desktop/images/15072025/03/26/image_15072025_03_26_04_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153522","1372153506","1372153509","1372153518","1372153511","1372153514"],"photo_ids_order":["1372153506","1372153509","1372153511","1372153514","1372153518","1372153522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3eddf8139ba1fe5a3e2c1b20720f84c.jpg","text":"TemporaryFile(/tmp/multipartBody5005074207583997189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_03_26_04_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5833f66eaf0cdffce3e93c48af2886a.jpg","text":"TemporaryFile(/tmp/multipartBody2261617155974482997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_02_02_52_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c9e4d5adc13fe23fdd9d43c463166fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6198114009372899814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_02_11_03_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f002cd05e573bda0c982543aa47ee1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8524914425469601973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_03_13_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/7/15/45142a51461a3a24818c430edf2b3baf.jpg","text":"TemporaryFile(/tmp/multipartBody5309005203286070941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_02_26_13_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bbdd35d50090452f27b2d16cb82a60ec.jpg","text":"TemporaryFile(/tmp/multipartBody4204194609258175860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561403275,"filename":"image_15072025_02_55_49_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153511","file1":"1372153509","file0":"1372153506","file4":"1372153518","file5":"1372153522","file3":"1372153514"},"map_files_photo_id_array":[{"photo_id":"1372153522","filename":"file5"},{"photo_id":"1372153511","filename":"file2"},{"photo_id":"1372153518","filename":"file4"},{"photo_id":"1372153509","filename":"file1"},{"photo_id":"1372153506","filename":"file0"},{"photo_id":"1372153514","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153522":["hashtag1","hashtag2"]},{"1372153506":["hashtag1","hashtag2"]},{"1372153509":["hashtag1","hashtag2"]},{"1372153518":["hashtag1","hashtag2"]},{"1372153511":["hashtag1","hashtag2"]},{"1372153514":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153522, 1372153506, 1372153509, 1372153518, 1372153511, 1372153514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97367072105408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:36:42.392407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/03/53/image_15072025_03_53_05_2778.jpg', '/home/pi/Desktop/images/15072025/04/21/image_15072025_04_21_22_2621.jpg', '/home/pi/Desktop/images/15072025/04/52/image_15072025_04_52_34_2562.jpg', '/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_36_2685.jpg', '/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_54_2701.jpg', '/home/pi/Desktop/images/15072025/05/39/image_15072025_05_39_36_3630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/03/53/image_15072025_03_53_05_2778.jpg
/home/pi/Desktop/images/15072025/04/21/image_15072025_04_21_22_2621.jpg
/home/pi/Desktop/images/15072025/04/52/image_15072025_04_52_34_2562.jpg
/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_36_2685.jpg
/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_54_2701.jpg
/home/pi/Desktop/images/15072025/05/39/image_15072025_05_39_36_3630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7751996517181396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:37:03.083862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/03/53/image_15072025_03_53_05_2778.jpg', '/home/pi/Desktop/images/15072025/04/21/image_15072025_04_21_22_2621.jpg', '/home/pi/Desktop/images/15072025/04/52/image_15072025_04_52_34_2562.jpg', '/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_36_2685.jpg', '/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_54_2701.jpg', '/home/pi/Desktop/images/15072025/05/39/image_15072025_05_39_36_3630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/03/53/image_15072025_03_53_05_2778.jpg
/home/pi/Desktop/images/15072025/04/21/image_15072025_04_21_22_2621.jpg
/home/pi/Desktop/images/15072025/04/52/image_15072025_04_52_34_2562.jpg
/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_36_2685.jpg
/home/pi/Desktop/images/15072025/05/35/image_15072025_05_35_54_2701.jpg
/home/pi/Desktop/images/15072025/05/39/image_15072025_05_39_36_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153561","1372153549","1372153568","1372153556","1372153544","1372153564"],"photo_ids_order":["1372153544","1372153549","1372153556","1372153561","1372153564","1372153568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2177fecf7cc4d82f651e604386b3c171.jpg","text":"TemporaryFile(/tmp/multipartBody7369416333102344680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_05_35_36_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f6b96a4015b8022beebf735c2d4e29c2.jpg","text":"TemporaryFile(/tmp/multipartBody1361407218678844303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_04_21_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc89d6b182d755028025c66d324255e1.jpg","text":"TemporaryFile(/tmp/multipartBody4100617926193517265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_05_39_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/7/15/77941bcd2710c9535e3ba9ca4c3884a3.jpg","text":"TemporaryFile(/tmp/multipartBody1081154976912838595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_04_52_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/294180ecfd044d92b690600df3e4c160.jpg","text":"TemporaryFile(/tmp/multipartBody5015745483771248250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_03_53_05_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fab674ac2b29777fd2c3f872981fef6a.jpg","text":"TemporaryFile(/tmp/multipartBody6974827929382690596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561484368,"filename":"image_15072025_05_35_54_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153556","file1":"1372153549","file0":"1372153544","file4":"1372153564","file5":"1372153568","file3":"1372153561"},"map_files_photo_id_array":[{"photo_id":"1372153568","filename":"file5"},{"photo_id":"1372153556","filename":"file2"},{"photo_id":"1372153564","filename":"file4"},{"photo_id":"1372153549","filename":"file1"},{"photo_id":"1372153544","filename":"file0"},{"photo_id":"1372153561","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153561":["hashtag1","hashtag2"]},{"1372153549":["hashtag1","hashtag2"]},{"1372153568":["hashtag1","hashtag2"]},{"1372153556":["hashtag1","hashtag2"]},{"1372153544":["hashtag1","hashtag2"]},{"1372153564":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153561, 1372153549, 1372153568, 1372153556, 1372153544, 1372153564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.384958267211914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:38:02.703966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/05/46/image_15072025_05_46_38_2808.jpg', '/home/pi/Desktop/images/15072025/05/50/image_15072025_05_50_14_2710.jpg', '/home/pi/Desktop/images/15072025/05/56/image_15072025_05_56_16_2764.jpg', '/home/pi/Desktop/images/15072025/06/00/image_15072025_06_00_24_2765.jpg', '/home/pi/Desktop/images/15072025/06/01/image_15072025_06_01_52_2795.jpg', '/home/pi/Desktop/images/15072025/06/03/image_15072025_06_03_51_2613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/05/46/image_15072025_05_46_38_2808.jpg
/home/pi/Desktop/images/15072025/05/50/image_15072025_05_50_14_2710.jpg
/home/pi/Desktop/images/15072025/05/56/image_15072025_05_56_16_2764.jpg
/home/pi/Desktop/images/15072025/06/00/image_15072025_06_00_24_2765.jpg
/home/pi/Desktop/images/15072025/06/01/image_15072025_06_01_52_2795.jpg
/home/pi/Desktop/images/15072025/06/03/image_15072025_06_03_51_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153587","1372153575","1372153584","1372153580","1372153594","1372153591"],"photo_ids_order":["1372153575","1372153580","1372153584","1372153587","1372153591","1372153594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f0077ac3db292028ea46fad2c8433991.jpg","text":"TemporaryFile(/tmp/multipartBody8498087886482284971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_06_00_24_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab37d78427a0b69075bee979a223e104.jpg","text":"TemporaryFile(/tmp/multipartBody4680020476001093938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_05_46_38_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3b292ab8664dbf5f749351ab2ae5511.jpg","text":"TemporaryFile(/tmp/multipartBody8656746418663169907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_05_56_16_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a33c45d1096177f133ad24930b44c61.jpg","text":"TemporaryFile(/tmp/multipartBody6997465670937957965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_05_50_14_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03125c9aea4ef0caaf5b412fb3405771.jpg","text":"TemporaryFile(/tmp/multipartBody6779213766225012233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_06_03_51_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2703f9d9d725ceac8e977b8c58c0c15c.jpg","text":"TemporaryFile(/tmp/multipartBody5089782952869914432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561543919,"filename":"image_15072025_06_01_52_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153584","file1":"1372153580","file0":"1372153575","file4":"1372153591","file5":"1372153594","file3":"1372153587"},"map_files_photo_id_array":[{"photo_id":"1372153594","filename":"file5"},{"photo_id":"1372153584","filename":"file2"},{"photo_id":"1372153591","filename":"file4"},{"photo_id":"1372153580","filename":"file1"},{"photo_id":"1372153575","filename":"file0"},{"photo_id":"1372153587","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153587":["hashtag1","hashtag2"]},{"1372153575":["hashtag1","hashtag2"]},{"1372153584":["hashtag1","hashtag2"]},{"1372153580":["hashtag1","hashtag2"]},{"1372153594":["hashtag1","hashtag2"]},{"1372153591":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153587, 1372153575, 1372153584, 1372153580, 1372153594, 1372153591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.692320108413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:39:03.002858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/07/image_15072025_06_07_51_3572.jpg', '/home/pi/Desktop/images/15072025/06/10/image_15072025_06_10_36_2723.jpg', '/home/pi/Desktop/images/15072025/06/12/image_15072025_06_12_47_2782.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_11_2805.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_50_2663.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_54_3616.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/07/image_15072025_06_07_51_3572.jpg
/home/pi/Desktop/images/15072025/06/10/image_15072025_06_10_36_2723.jpg
/home/pi/Desktop/images/15072025/06/12/image_15072025_06_12_47_2782.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_11_2805.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_50_2663.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_54_3616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0224568843841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:39:21.871132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/07/image_15072025_06_07_51_3572.jpg', '/home/pi/Desktop/images/15072025/06/10/image_15072025_06_10_36_2723.jpg', '/home/pi/Desktop/images/15072025/06/12/image_15072025_06_12_47_2782.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_11_2805.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_50_2663.jpg', '/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_54_3616.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/07/image_15072025_06_07_51_3572.jpg
/home/pi/Desktop/images/15072025/06/10/image_15072025_06_10_36_2723.jpg
/home/pi/Desktop/images/15072025/06/12/image_15072025_06_12_47_2782.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_11_2805.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_50_2663.jpg
/home/pi/Desktop/images/15072025/06/13/image_15072025_06_13_54_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153627","1372153621","1372153635","1372153637","1372153631","1372153639"],"photo_ids_order":["1372153621","1372153627","1372153631","1372153635","1372153637","1372153639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30d443fbf264a871cc47a9e9ba2f968b.jpg","text":"TemporaryFile(/tmp/multipartBody4470184066692774408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_10_36_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b7b4d665a1e0ba75460b45d6baa609a.jpg","text":"TemporaryFile(/tmp/multipartBody5904013109391830086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_07_51_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3ecd3841d4554d333f056ec4dc3a70e.jpg","text":"TemporaryFile(/tmp/multipartBody81894697499205684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_13_11_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a10b080f0b182d456d661622ef21a45.jpg","text":"TemporaryFile(/tmp/multipartBody674658198971036965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_13_50_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2539426a646c2fa04ff06452e86a6ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5655956587121536752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_12_47_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fafd1e3a51bc5c71233b23dd3ec9c9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8268456972506657148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561622982,"filename":"image_15072025_06_13_54_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153631","file1":"1372153627","file0":"1372153621","file4":"1372153637","file5":"1372153639","file3":"1372153635"},"map_files_photo_id_array":[{"photo_id":"1372153639","filename":"file5"},{"photo_id":"1372153631","filename":"file2"},{"photo_id":"1372153637","filename":"file4"},{"photo_id":"1372153627","filename":"file1"},{"photo_id":"1372153621","filename":"file0"},{"photo_id":"1372153635","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153627":["hashtag1","hashtag2"]},{"1372153621":["hashtag1","hashtag2"]},{"1372153635":["hashtag1","hashtag2"]},{"1372153637":["hashtag1","hashtag2"]},{"1372153631":["hashtag1","hashtag2"]},{"1372153639":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153627, 1372153621, 1372153635, 1372153637, 1372153631, 1372153639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.202189445495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:40:22.177762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_08_2662.jpg', '/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_14_2628.jpg', '/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_18_3593.jpg', '/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_23_2758.jpg', '/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_32_2684.jpg', '/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_38_2638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_08_2662.jpg
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_14_2628.jpg
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_18_3593.jpg
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_23_2758.jpg
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_32_2684.jpg
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_38_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":["1372153668","1372153650","1372153655","1372153658","1372153663","1372153666"],"photo_ids_order":["1372153650","1372153655","1372153658","1372153663","1372153666","1372153668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45aa5f7780c4d18c3e1a333e93df641c.jpg","text":"TemporaryFile(/tmp/multipartBody525128657240745829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_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/7/15/396d5d52161099f62a65d798267a2d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5080491784699540735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_08_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/925ab3d97bd338919ccfc484a2e324a8.jpg","text":"TemporaryFile(/tmp/multipartBody6286713573203352787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_14_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/696c081660ee4528ad17204d4f658963.jpg","text":"TemporaryFile(/tmp/multipartBody8450558837047569374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_18_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcae7fb9537ed23f0b4f7fbc4d119b17.jpg","text":"TemporaryFile(/tmp/multipartBody2349767977688207277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_23_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faa03ff160cbad1c78ebab1e1029b697.jpg","text":"TemporaryFile(/tmp/multipartBody6532099456103769394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561683270,"filename":"image_15072025_06_14_32_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153658","file1":"1372153655","file0":"1372153650","file4":"1372153666","file5":"1372153668","file3":"1372153663"},"map_files_photo_id_array":[{"photo_id":"1372153668","filename":"file5"},{"photo_id":"1372153658","filename":"file2"},{"photo_id":"1372153666","filename":"file4"},{"photo_id":"1372153655","filename":"file1"},{"photo_id":"1372153650","filename":"file0"},{"photo_id":"1372153663","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153668":["hashtag1","hashtag2"]},{"1372153650":["hashtag1","hashtag2"]},{"1372153655":["hashtag1","hashtag2"]},{"1372153658":["hashtag1","hashtag2"]},{"1372153663":["hashtag1","hashtag2"]},{"1372153666":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153668, 1372153650, 1372153655, 1372153658, 1372153663, 1372153666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.0048942565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:41:21.931150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_53_2561.jpg', '/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_08_2524.jpg', '/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_14_3633.jpg', '/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_32_3674.jpg', '/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_38_2741.jpg', '/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_44_2774.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/14/image_15072025_06_14_53_2561.jpg
/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_08_2524.jpg
/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_14_3633.jpg
/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_32_3674.jpg
/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_38_2741.jpg
/home/pi/Desktop/images/15072025/06/15/image_15072025_06_15_44_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153695","1372153683","1372153697","1372153688","1372153693","1372153678"],"photo_ids_order":["1372153678","1372153683","1372153688","1372153693","1372153695","1372153697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f2c52780ddafa07fca69eb68046caa7.jpg","text":"TemporaryFile(/tmp/multipartBody8055420751798959461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_15_38_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d91bb1b00d793ae589df75ec9146d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6301290594608633956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_15_08_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/daad70dd86e74b4097f9b373fbd3ad0f.jpg","text":"TemporaryFile(/tmp/multipartBody3683809686887666571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_15_44_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80e74104e720b19beb93569b432e06c0.jpg","text":"TemporaryFile(/tmp/multipartBody3705944544309282278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_15_14_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9cc58535b26ecdd6c406ee56495b783f.jpg","text":"TemporaryFile(/tmp/multipartBody4241922424969334864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_15_32_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30bb54750da8232169abacd1076fd63d.jpg","text":"TemporaryFile(/tmp/multipartBody6499798860465345896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561743017,"filename":"image_15072025_06_14_53_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153688","file1":"1372153683","file0":"1372153678","file4":"1372153695","file5":"1372153697","file3":"1372153693"},"map_files_photo_id_array":[{"photo_id":"1372153697","filename":"file5"},{"photo_id":"1372153688","filename":"file2"},{"photo_id":"1372153695","filename":"file4"},{"photo_id":"1372153683","filename":"file1"},{"photo_id":"1372153678","filename":"file0"},{"photo_id":"1372153693","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153695":["hashtag1","hashtag2"]},{"1372153683":["hashtag1","hashtag2"]},{"1372153697":["hashtag1","hashtag2"]},{"1372153688":["hashtag1","hashtag2"]},{"1372153693":["hashtag1","hashtag2"]},{"1372153678":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153695, 1372153683, 1372153697, 1372153688, 1372153693, 1372153678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87507128715515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:42:22.213296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_08_2594.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_17_2637.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_24_3598.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_29_2654.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_35_3583.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_41_3667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_08_2594.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_17_2637.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_24_3598.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_29_2654.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_35_3583.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_41_3667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6946251392364502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:42:42.241440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_08_2594.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_17_2637.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_24_3598.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_29_2654.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_35_3583.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_41_3667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_08_2594.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_17_2637.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_24_3598.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_29_2654.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_35_3583.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_41_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153732","1372153720","1372153713","1372153716","1372153727","1372153724"],"photo_ids_order":["1372153713","1372153716","1372153720","1372153724","1372153727","1372153732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c20bd0ef8b9fb79358379e676d1be17a.jpg","text":"TemporaryFile(/tmp/multipartBody3192007989406903207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_41_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/41d76471a04f57207e6bb7a7e605daab.jpg","text":"TemporaryFile(/tmp/multipartBody1956032809176083551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_24_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c005d27204454b8e2101a6da655e54d9.jpg","text":"TemporaryFile(/tmp/multipartBody4825733890729920813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_08_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb6ad1426cd7453a83ed3c89b0f6af87.jpg","text":"TemporaryFile(/tmp/multipartBody170563354530417079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_17_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31da38d07d331e5910f2fe452722875d.jpg","text":"TemporaryFile(/tmp/multipartBody1530067673486394288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_35_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ef8fab02e3665d9e7deff752f64593d7.jpg","text":"TemporaryFile(/tmp/multipartBody583460746478355678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561823360,"filename":"image_15072025_06_16_29_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153720","file1":"1372153716","file0":"1372153713","file4":"1372153727","file5":"1372153732","file3":"1372153724"},"map_files_photo_id_array":[{"photo_id":"1372153732","filename":"file5"},{"photo_id":"1372153720","filename":"file2"},{"photo_id":"1372153727","filename":"file4"},{"photo_id":"1372153716","filename":"file1"},{"photo_id":"1372153713","filename":"file0"},{"photo_id":"1372153724","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153732":["hashtag1","hashtag2"]},{"1372153720":["hashtag1","hashtag2"]},{"1372153713":["hashtag1","hashtag2"]},{"1372153716":["hashtag1","hashtag2"]},{"1372153727":["hashtag1","hashtag2"]},{"1372153724":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153732, 1372153720, 1372153713, 1372153716, 1372153727, 1372153724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.18653702735901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:43:42.026493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_47_2762.jpg', '/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_56_2640.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_02_2594.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_08_3755.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_11_2524.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_26_2634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_47_2762.jpg
/home/pi/Desktop/images/15072025/06/16/image_15072025_06_16_56_2640.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_02_2594.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_08_3755.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_11_2524.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_26_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153767","1372153761","1372153749","1372153746","1372153751","1372153756"],"photo_ids_order":["1372153746","1372153749","1372153751","1372153756","1372153761","1372153767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/044935071a2bd693aea6dada29d3d964.jpg","text":"TemporaryFile(/tmp/multipartBody9203896539681192800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_17_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/7/15/4afacb721fe978fa7583832c5a922911.jpg","text":"TemporaryFile(/tmp/multipartBody5251391461729374842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_17_11_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f0c1d858fb9b812217ef58920f14285a.jpg","text":"TemporaryFile(/tmp/multipartBody1015022002305677615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_16_56_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0d6022b71b9761ce970d7d6b4e45d06.jpg","text":"TemporaryFile(/tmp/multipartBody1407213672410816273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_16_47_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0c2cd0fe8a4761d55a687e35d82de71.jpg","text":"TemporaryFile(/tmp/multipartBody8548566464391698439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_17_02_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05a2848539aa47e69aa473de61fca947.jpg","text":"TemporaryFile(/tmp/multipartBody7458883118251432606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561883136,"filename":"image_15072025_06_17_08_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153751","file1":"1372153749","file0":"1372153746","file4":"1372153761","file5":"1372153767","file3":"1372153756"},"map_files_photo_id_array":[{"photo_id":"1372153767","filename":"file5"},{"photo_id":"1372153751","filename":"file2"},{"photo_id":"1372153761","filename":"file4"},{"photo_id":"1372153749","filename":"file1"},{"photo_id":"1372153746","filename":"file0"},{"photo_id":"1372153756","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153767":["hashtag1","hashtag2"]},{"1372153761":["hashtag1","hashtag2"]},{"1372153749":["hashtag1","hashtag2"]},{"1372153746":["hashtag1","hashtag2"]},{"1372153751":["hashtag1","hashtag2"]},{"1372153756":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153767, 1372153761, 1372153749, 1372153746, 1372153751, 1372153756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.00798749923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:44:42.685331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_29_2733.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_32_2648.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_41_2833.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_50_2609.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_53_3777.jpg', '/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_56_2557.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_29_2733.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_32_2648.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_41_2833.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_50_2609.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_53_3777.jpg
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_56_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153779","1372153804","1372153782","1372153796","1372153800","1372153786"],"photo_ids_order":["1372153779","1372153782","1372153786","1372153796","1372153800","1372153804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccb9b5f20fbad8830c2879057b995166.jpg","text":"TemporaryFile(/tmp/multipartBody1766204340307237034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_29_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1073bbc1158a8289e85ded041b8a102.jpg","text":"TemporaryFile(/tmp/multipartBody4276836871824442195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_56_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/785b157b3c38c0e52c3fc01fca49a673.jpg","text":"TemporaryFile(/tmp/multipartBody1561477222840259291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_32_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e0ba45c62d5d4f690ddbcd81a67e045.jpg","text":"TemporaryFile(/tmp/multipartBody7181071717159337962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_50_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec0758f1f3b2e51d584fa6304d89f382.jpg","text":"TemporaryFile(/tmp/multipartBody895992507716044069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_53_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4411070a085798799f957c0442d373a1.jpg","text":"TemporaryFile(/tmp/multipartBody8751378729213049334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752561943779,"filename":"image_15072025_06_17_41_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153786","file1":"1372153782","file0":"1372153779","file4":"1372153800","file5":"1372153804","file3":"1372153796"},"map_files_photo_id_array":[{"photo_id":"1372153804","filename":"file5"},{"photo_id":"1372153786","filename":"file2"},{"photo_id":"1372153800","filename":"file4"},{"photo_id":"1372153782","filename":"file1"},{"photo_id":"1372153779","filename":"file0"},{"photo_id":"1372153796","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153779":["hashtag1","hashtag2"]},{"1372153804":["hashtag1","hashtag2"]},{"1372153782":["hashtag1","hashtag2"]},{"1372153796":["hashtag1","hashtag2"]},{"1372153800":["hashtag1","hashtag2"]},{"1372153786":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153779, 1372153804, 1372153782, 1372153796, 1372153800, 1372153786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.50849771499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:45:41.993867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_59_2663.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_02_3634.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_05_2635.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_14_2814.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_17_2664.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_23_2578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/17/image_15072025_06_17_59_2663.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_02_3634.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_05_2635.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_14_2814.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_17_2664.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_23_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":["1372153819","1372153828","1372153822","1372153824","1372153833","1372153838"],"photo_ids_order":["1372153819","1372153822","1372153824","1372153828","1372153833","1372153838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09d96590bfddb1512200bf0be50866b9.jpg","text":"TemporaryFile(/tmp/multipartBody55316690418406319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_17_59_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6883fa24e51bb9a294bb4c5aed78936.jpg","text":"TemporaryFile(/tmp/multipartBody8413788147305698251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_18_14_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f47b1b0fc4f1caf5bd7d5f61da048bb.jpg","text":"TemporaryFile(/tmp/multipartBody1175691648707064729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_18_02_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81f12b190b44f1a1a73252d4ca43f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6684539723023372683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_18_05_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd13e2460fe6fa74a1f45ced5cb7b47f.jpg","text":"TemporaryFile(/tmp/multipartBody6663112205621409707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_18_17_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f82ddf1152f72ccec5b044c668b367ad.jpg","text":"TemporaryFile(/tmp/multipartBody5068645833024067467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562003115,"filename":"image_15072025_06_18_23_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153824","file1":"1372153822","file0":"1372153819","file4":"1372153833","file5":"1372153838","file3":"1372153828"},"map_files_photo_id_array":[{"photo_id":"1372153838","filename":"file5"},{"photo_id":"1372153824","filename":"file2"},{"photo_id":"1372153833","filename":"file4"},{"photo_id":"1372153822","filename":"file1"},{"photo_id":"1372153819","filename":"file0"},{"photo_id":"1372153828","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153819":["hashtag1","hashtag2"]},{"1372153828":["hashtag1","hashtag2"]},{"1372153822":["hashtag1","hashtag2"]},{"1372153824":["hashtag1","hashtag2"]},{"1372153833":["hashtag1","hashtag2"]},{"1372153838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153819, 1372153828, 1372153822, 1372153824, 1372153833, 1372153838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.46158266067505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:46:41.840250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_26_2554.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_32_2687.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_38_3591.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_41_2586.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_43_2704.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_47_3583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_26_2554.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_32_2687.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_38_3591.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_41_2586.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_43_2704.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_47_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153854","1372153848","1372153851","1372153865","1372153859","1372153850"],"photo_ids_order":["1372153848","1372153850","1372153851","1372153854","1372153859","1372153865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f2d3c2bd473040987c63e3a223ffa2a9.jpg","text":"TemporaryFile(/tmp/multipartBody5370608683720031401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_41_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f1ab1c96dd89a9c9276246b5d8e1cc1.jpg","text":"TemporaryFile(/tmp/multipartBody526310360492000227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_26_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1e14434f7ed8512e3e9f08e75525d22.jpg","text":"TemporaryFile(/tmp/multipartBody3261926941607868457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_38_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ade1570a1d25c47fd890a531e09d5a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7274662843689350254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_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/7/15/8a63992e15a146fa581d03391b36ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody7624894974585614048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_43_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/861b62d6beceaa0faa9340b0db143165.jpg","text":"TemporaryFile(/tmp/multipartBody6659831519711808186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562062935,"filename":"image_15072025_06_18_32_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153851","file1":"1372153850","file0":"1372153848","file4":"1372153859","file5":"1372153865","file3":"1372153854"},"map_files_photo_id_array":[{"photo_id":"1372153865","filename":"file5"},{"photo_id":"1372153851","filename":"file2"},{"photo_id":"1372153859","filename":"file4"},{"photo_id":"1372153850","filename":"file1"},{"photo_id":"1372153848","filename":"file0"},{"photo_id":"1372153854","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153854":["hashtag1","hashtag2"]},{"1372153848":["hashtag1","hashtag2"]},{"1372153851":["hashtag1","hashtag2"]},{"1372153865":["hashtag1","hashtag2"]},{"1372153859":["hashtag1","hashtag2"]},{"1372153850":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153854, 1372153848, 1372153851, 1372153865, 1372153859, 1372153850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.175118923187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:47:42.650917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_53_3664.jpg', '/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_59_2625.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_02_3618.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_07_2615.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_11_3655.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_14_2702.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_53_3664.jpg
/home/pi/Desktop/images/15072025/06/18/image_15072025_06_18_59_2625.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_02_3618.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_07_2615.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_11_3655.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_14_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153912","1372153893","1372153883","1372153886","1372153907","1372153879"],"photo_ids_order":["1372153879","1372153883","1372153886","1372153893","1372153907","1372153912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a4c14911a6c663632d5025e1cc0061d.jpg","text":"TemporaryFile(/tmp/multipartBody1718146426455527957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_19_14_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14a59c5c425562725fab1a5fd97e3181.jpg","text":"TemporaryFile(/tmp/multipartBody5448007409848690389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_19_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/7/15/6ae2154ec0ab27d3bc98855a25b54b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2383521633821017141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_18_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/7/15/24f217e54513be109d65ff405a5ffeba.jpg","text":"TemporaryFile(/tmp/multipartBody8140799651515644405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_19_02_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ebfed34e061608dfd9bd1462bd4a427.jpg","text":"TemporaryFile(/tmp/multipartBody4331073209757458475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_19_11_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f327e7b6deb8504da3947e51c18bc26.jpg","text":"TemporaryFile(/tmp/multipartBody2451743386096289207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562123752,"filename":"image_15072025_06_18_53_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153886","file1":"1372153883","file0":"1372153879","file4":"1372153907","file5":"1372153912","file3":"1372153893"},"map_files_photo_id_array":[{"photo_id":"1372153912","filename":"file5"},{"photo_id":"1372153886","filename":"file2"},{"photo_id":"1372153907","filename":"file4"},{"photo_id":"1372153883","filename":"file1"},{"photo_id":"1372153879","filename":"file0"},{"photo_id":"1372153893","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153912":["hashtag1","hashtag2"]},{"1372153893":["hashtag1","hashtag2"]},{"1372153883":["hashtag1","hashtag2"]},{"1372153886":["hashtag1","hashtag2"]},{"1372153907":["hashtag1","hashtag2"]},{"1372153879":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153912, 1372153893, 1372153883, 1372153886, 1372153907, 1372153879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.733415603637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:48:42.343440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_16_2613.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_28_2832.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_32_3590.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_35_2621.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_38_3721.jpg', '/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_41_2672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_16_2613.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_28_2832.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_32_3590.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_35_2621.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_38_3721.jpg
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_41_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372153939","1372153932","1372153929","1372153944","1372153970","1372153946"],"photo_ids_order":["1372153929","1372153932","1372153939","1372153944","1372153946","1372153970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3e1d136bc956e9588dde76cb9041ede.jpg","text":"TemporaryFile(/tmp/multipartBody5311017452619522527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_32_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e3e96e53efe1c6e77617ff44b077f21.jpg","text":"TemporaryFile(/tmp/multipartBody8696984391764707978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_28_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6856af62a0959f86335e806bd88b5a20.jpg","text":"TemporaryFile(/tmp/multipartBody8703982972198810283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_16_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6b3568761fd2dc4074ac768e77a70ed.jpg","text":"TemporaryFile(/tmp/multipartBody322281558171850704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_35_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e6a4d288ffc33a47b56d657fa86bff8.jpg","text":"TemporaryFile(/tmp/multipartBody6628092029146176118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_41_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/020eef9fa8c11ef8513f85ec2c103594.jpg","text":"TemporaryFile(/tmp/multipartBody4685382912208844115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562183450,"filename":"image_15072025_06_19_38_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372153939","file1":"1372153932","file0":"1372153929","file4":"1372153946","file5":"1372153970","file3":"1372153944"},"map_files_photo_id_array":[{"photo_id":"1372153970","filename":"file5"},{"photo_id":"1372153939","filename":"file2"},{"photo_id":"1372153946","filename":"file4"},{"photo_id":"1372153932","filename":"file1"},{"photo_id":"1372153929","filename":"file0"},{"photo_id":"1372153944","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372153939":["hashtag1","hashtag2"]},{"1372153932":["hashtag1","hashtag2"]},{"1372153929":["hashtag1","hashtag2"]},{"1372153944":["hashtag1","hashtag2"]},{"1372153970":["hashtag1","hashtag2"]},{"1372153946":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372153939, 1372153932, 1372153929, 1372153944, 1372153970, 1372153946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.097524642944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:49:42.351937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_59_3688.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_02_2520.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_05_2955.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_11_3804.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_14_2536.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_17_2797.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/19/image_15072025_06_19_59_3688.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_02_2520.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_05_2955.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_11_3804.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_14_2536.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_17_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154112","1372154040","1372154034","1372154043","1372154060","1372154038"],"photo_ids_order":["1372154034","1372154038","1372154040","1372154043","1372154060","1372154112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cb55043196f79fe0ead4b50ff0fa7e55.jpg","text":"TemporaryFile(/tmp/multipartBody1830576286783554295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_20_17_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80dcea5ce723ead05efd4b5566085866.jpg","text":"TemporaryFile(/tmp/multipartBody3618934698795323220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_20_05_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c9cd0fb57976ec48dcd5b38fb02c719.jpg","text":"TemporaryFile(/tmp/multipartBody1876100002742886900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_19_59_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3e128f5fd1d19da2e334e758e35484f.jpg","text":"TemporaryFile(/tmp/multipartBody7658185289718503358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_20_11_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c83dcb102124d6b86b31286887a42744.jpg","text":"TemporaryFile(/tmp/multipartBody5519182607971150043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_20_14_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd2379f6c5d6e0d7652ac5c546156d30.jpg","text":"TemporaryFile(/tmp/multipartBody3126016314001992748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562243500,"filename":"image_15072025_06_20_02_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154040","file1":"1372154038","file0":"1372154034","file4":"1372154060","file5":"1372154112","file3":"1372154043"},"map_files_photo_id_array":[{"photo_id":"1372154112","filename":"file5"},{"photo_id":"1372154040","filename":"file2"},{"photo_id":"1372154060","filename":"file4"},{"photo_id":"1372154038","filename":"file1"},{"photo_id":"1372154034","filename":"file0"},{"photo_id":"1372154043","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154112":["hashtag1","hashtag2"]},{"1372154040":["hashtag1","hashtag2"]},{"1372154034":["hashtag1","hashtag2"]},{"1372154043":["hashtag1","hashtag2"]},{"1372154060":["hashtag1","hashtag2"]},{"1372154038":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154112, 1372154040, 1372154034, 1372154043, 1372154060, 1372154038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.867940187454224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:50:42.138206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_19_2856.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_23_3655.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_26_2659.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_32_2754.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_38_2701.jpg', '/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_40_2568.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_19_2856.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_23_3655.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_26_2659.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_32_2754.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_38_2701.jpg
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_40_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154151","1372154174","1372154171","1372154132","1372154179","1372154167"],"photo_ids_order":["1372154132","1372154151","1372154167","1372154171","1372154174","1372154179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3aa87f5fa3ab0da418571bae4bcdd4fa.jpg","text":"TemporaryFile(/tmp/multipartBody2319851286403262613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_23_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf32532d3dbf4e02bbb057b428573d43.jpg","text":"TemporaryFile(/tmp/multipartBody1757400842278480321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_38_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b49548e2a266f3574ccdaa8555403e5.jpg","text":"TemporaryFile(/tmp/multipartBody7846648521025095220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_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/7/15/23da75bc72ab9b37143648e24e0beb44.jpg","text":"TemporaryFile(/tmp/multipartBody3289997549243380021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_19_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0620b6433637cd193750765491c1c9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8993126105559665652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_40_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75d4fc2852dcb7fe4f246aace8426e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4021212679742723236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562303261,"filename":"image_15072025_06_20_26_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154167","file1":"1372154151","file0":"1372154132","file4":"1372154174","file5":"1372154179","file3":"1372154171"},"map_files_photo_id_array":[{"photo_id":"1372154179","filename":"file5"},{"photo_id":"1372154167","filename":"file2"},{"photo_id":"1372154174","filename":"file4"},{"photo_id":"1372154151","filename":"file1"},{"photo_id":"1372154132","filename":"file0"},{"photo_id":"1372154171","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154151":["hashtag1","hashtag2"]},{"1372154174":["hashtag1","hashtag2"]},{"1372154171":["hashtag1","hashtag2"]},{"1372154132":["hashtag1","hashtag2"]},{"1372154179":["hashtag1","hashtag2"]},{"1372154167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154151, 1372154174, 1372154171, 1372154132, 1372154179, 1372154167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.311471462249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:51:42.186501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_56_3621.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_08_2703.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_10_2594.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_32_2503.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_38_3611.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_41_2634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/20/image_15072025_06_20_56_3621.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_08_2703.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_10_2594.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_32_2503.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_38_3611.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_41_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154200","1372154214","1372154198","1372154205","1372154210","1372154194"],"photo_ids_order":["1372154194","1372154198","1372154200","1372154205","1372154210","1372154214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/929f3e781c5f84ee04dba79f7f2553ab.jpg","text":"TemporaryFile(/tmp/multipartBody7552366722723784006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_21_10_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b9183028ebaa381c286d83d7aca1360.jpg","text":"TemporaryFile(/tmp/multipartBody9159269721598466932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_21_41_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04d0bae5db3ff282018e3601e021966e.jpg","text":"TemporaryFile(/tmp/multipartBody9032191739274715286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_21_08_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f0f59697ece9fb98f96e5d57f4aa405.jpg","text":"TemporaryFile(/tmp/multipartBody3639733978823844965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_21_32_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/628207fc99950b2acb5604dda83a256d.jpg","text":"TemporaryFile(/tmp/multipartBody7224503961106573591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_21_38_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5005bee0d32facb9bb840f2394f85471.jpg","text":"TemporaryFile(/tmp/multipartBody5682653284193906260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562363284,"filename":"image_15072025_06_20_56_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154200","file1":"1372154198","file0":"1372154194","file4":"1372154210","file5":"1372154214","file3":"1372154205"},"map_files_photo_id_array":[{"photo_id":"1372154214","filename":"file5"},{"photo_id":"1372154200","filename":"file2"},{"photo_id":"1372154210","filename":"file4"},{"photo_id":"1372154198","filename":"file1"},{"photo_id":"1372154194","filename":"file0"},{"photo_id":"1372154205","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154200":["hashtag1","hashtag2"]},{"1372154214":["hashtag1","hashtag2"]},{"1372154198":["hashtag1","hashtag2"]},{"1372154205":["hashtag1","hashtag2"]},{"1372154210":["hashtag1","hashtag2"]},{"1372154194":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154200, 1372154214, 1372154198, 1372154205, 1372154210, 1372154194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.707602977752686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 08:52:42.712846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_43_2752.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_49_2598.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_01_2734.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_05_3808.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_08_2589.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_28_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_43_2752.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_49_2598.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_01_2734.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_05_3808.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_08_2589.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_28_2567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.688988208770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:53:03.319243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_43_2752.jpg', '/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_49_2598.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_01_2734.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_05_3808.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_08_2589.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_28_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_43_2752.jpg
/home/pi/Desktop/images/15072025/06/21/image_15072025_06_21_49_2598.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_01_2734.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_05_3808.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_08_2589.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_28_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154382","1372154352","1372154378","1372154304","1372154255","1372154386"],"photo_ids_order":["1372154255","1372154304","1372154352","1372154378","1372154382","1372154386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7901b149f902a47b2ea377a01298a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4752228524950677816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_22_08_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/58124071f0989b86c5eeb3d1105f9df8.jpg","text":"TemporaryFile(/tmp/multipartBody6644406828063289596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_22_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/7/15/8e6c18a5206a6c2b74f5e60e6e6aac13.jpg","text":"TemporaryFile(/tmp/multipartBody4404050535228747948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_22_05_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7eaf68b453cc799ab0607ae54b9b2e45.jpg","text":"TemporaryFile(/tmp/multipartBody6777285649010441194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_21_49_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccc5968d3a3d16ea79b11314fbe0a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody257927571475238921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_21_43_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2eb6deeefbd6f35a5d24726e0fac8cf.jpg","text":"TemporaryFile(/tmp/multipartBody6515997048449269915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562444537,"filename":"image_15072025_06_22_28_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154352","file1":"1372154304","file0":"1372154255","file4":"1372154382","file5":"1372154386","file3":"1372154378"},"map_files_photo_id_array":[{"photo_id":"1372154386","filename":"file5"},{"photo_id":"1372154352","filename":"file2"},{"photo_id":"1372154382","filename":"file4"},{"photo_id":"1372154304","filename":"file1"},{"photo_id":"1372154255","filename":"file0"},{"photo_id":"1372154378","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154382":["hashtag1","hashtag2"]},{"1372154352":["hashtag1","hashtag2"]},{"1372154378":["hashtag1","hashtag2"]},{"1372154304":["hashtag1","hashtag2"]},{"1372154255":["hashtag1","hashtag2"]},{"1372154386":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154382, 1372154352, 1372154378, 1372154304, 1372154255, 1372154386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.946096420288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:54:02.907199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_32_3522.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_38_3503.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_55_2621.jpg', '/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_59_3558.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_07_2570.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_14_2675.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_32_3522.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_38_3503.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_55_2621.jpg
/home/pi/Desktop/images/15072025/06/22/image_15072025_06_22_59_3558.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_07_2570.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_14_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":["1372154517","1372154439","1372154399","1372154403","1372154489","1372154395"],"photo_ids_order":["1372154395","1372154399","1372154403","1372154439","1372154489","1372154517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/743987fb21abfbc03ccac961b1b115bd.jpg","text":"TemporaryFile(/tmp/multipartBody5510214066465965930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_23_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/7/15/d3645921e26215b7d7f7eabf0a983974.jpg","text":"TemporaryFile(/tmp/multipartBody5641832792032498045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_22_59_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/efd37f830b1635d3a415022c2e0a58f0.jpg","text":"TemporaryFile(/tmp/multipartBody3064278650377905393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_22_38_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88b18d7512e32de1c0796610d039c32d.jpg","text":"TemporaryFile(/tmp/multipartBody9152449045674107664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_22_55_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f37f2e45bf951444250dcb6d49db6a50.jpg","text":"TemporaryFile(/tmp/multipartBody4262704062237562844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_23_07_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9a41aefff2439d9fc218a01c96165e13.jpg","text":"TemporaryFile(/tmp/multipartBody8269262378701794879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562504207,"filename":"image_15072025_06_22_32_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154403","file1":"1372154399","file0":"1372154395","file4":"1372154489","file5":"1372154517","file3":"1372154439"},"map_files_photo_id_array":[{"photo_id":"1372154517","filename":"file5"},{"photo_id":"1372154403","filename":"file2"},{"photo_id":"1372154489","filename":"file4"},{"photo_id":"1372154399","filename":"file1"},{"photo_id":"1372154395","filename":"file0"},{"photo_id":"1372154439","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154517":["hashtag1","hashtag2"]},{"1372154439":["hashtag1","hashtag2"]},{"1372154399":["hashtag1","hashtag2"]},{"1372154403":["hashtag1","hashtag2"]},{"1372154489":["hashtag1","hashtag2"]},{"1372154395":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154517, 1372154439, 1372154399, 1372154403, 1372154489, 1372154395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.23467206954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:55:03.363994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_16_2565.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_20_3526.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_22_2683.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_26_3517.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_31_2634.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_35_3778.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_16_2565.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_20_3526.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_22_2683.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_26_3517.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_31_2634.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_35_3778.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9375510215759277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:55:22.732203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_16_2565.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_20_3526.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_22_2683.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_26_3517.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_31_2634.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_35_3778.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_16_2565.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_20_3526.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_22_2683.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_26_3517.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_31_2634.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_35_3778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154625","1372154639","1372154723","1372154722","1372154719","1372154697"],"photo_ids_order":["1372154625","1372154639","1372154697","1372154719","1372154722","1372154723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06a28bb2d6c845f048a6c4dc2b1bf03d.jpg","text":"TemporaryFile(/tmp/multipartBody6893744158553718636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_16_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6516cbba5e12e3616b88db064b4a370d.jpg","text":"TemporaryFile(/tmp/multipartBody6144698572397817254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_20_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6bbd962e0ea54c61a40213f156b2d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody4195281681082187814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_35_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a166c79634682ff1493b39c0ec3c9e75.jpg","text":"TemporaryFile(/tmp/multipartBody8204499753663329001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_31_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a28e0999509d4d9c948586566af885f1.jpg","text":"TemporaryFile(/tmp/multipartBody6161222946471723336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_26_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a34bcdaa6a1b9b2f269d74d838dec80b.jpg","text":"TemporaryFile(/tmp/multipartBody5312059268118916023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562583817,"filename":"image_15072025_06_23_22_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154697","file1":"1372154639","file0":"1372154625","file4":"1372154722","file5":"1372154723","file3":"1372154719"},"map_files_photo_id_array":[{"photo_id":"1372154723","filename":"file5"},{"photo_id":"1372154697","filename":"file2"},{"photo_id":"1372154722","filename":"file4"},{"photo_id":"1372154639","filename":"file1"},{"photo_id":"1372154625","filename":"file0"},{"photo_id":"1372154719","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154625":["hashtag1","hashtag2"]},{"1372154639":["hashtag1","hashtag2"]},{"1372154723":["hashtag1","hashtag2"]},{"1372154722":["hashtag1","hashtag2"]},{"1372154719":["hashtag1","hashtag2"]},{"1372154697":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154625, 1372154639, 1372154723, 1372154722, 1372154719, 1372154697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.791120290756226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:56:22.310667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_40_2658.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_49_2583.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_56_3687.jpg', '/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_59_2879.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_08_3648.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_14_3545.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_40_2658.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_49_2583.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_56_3687.jpg
/home/pi/Desktop/images/15072025/06/23/image_15072025_06_23_59_2879.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_08_3648.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_14_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372154760","1372154736","1372154858","1372154831","1372154828","1372154803"],"photo_ids_order":["1372154736","1372154760","1372154803","1372154828","1372154831","1372154858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46d313b6ba9ff175bab21f4f17cd2e88.jpg","text":"TemporaryFile(/tmp/multipartBody8940940607303786072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_23_49_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/43c14725b4af6cbce7aac97305959433.jpg","text":"TemporaryFile(/tmp/multipartBody4219836232829498192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_23_40_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5c9667ccb22879a88f94254c37a8e04.jpg","text":"TemporaryFile(/tmp/multipartBody1465888912454074704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_24_14_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af6f4fb7e44d17ca37048ab38bdf72b7.jpg","text":"TemporaryFile(/tmp/multipartBody7418162888160657357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_24_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/7/15/cbb1fe563e47e7c670e154016cef5d26.jpg","text":"TemporaryFile(/tmp/multipartBody22911834371155369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_23_59_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b98fd9f0a7dcf1363c2161b8678af706.jpg","text":"TemporaryFile(/tmp/multipartBody2140927673232039462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562643424,"filename":"image_15072025_06_23_56_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372154803","file1":"1372154760","file0":"1372154736","file4":"1372154831","file5":"1372154858","file3":"1372154828"},"map_files_photo_id_array":[{"photo_id":"1372154858","filename":"file5"},{"photo_id":"1372154803","filename":"file2"},{"photo_id":"1372154831","filename":"file4"},{"photo_id":"1372154760","filename":"file1"},{"photo_id":"1372154736","filename":"file0"},{"photo_id":"1372154828","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372154760":["hashtag1","hashtag2"]},{"1372154736":["hashtag1","hashtag2"]},{"1372154858":["hashtag1","hashtag2"]},{"1372154831":["hashtag1","hashtag2"]},{"1372154828":["hashtag1","hashtag2"]},{"1372154803":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372154760, 1372154736, 1372154858, 1372154831, 1372154828, 1372154803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.11279797554016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 08:57:22.064629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_16_2670.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_19_2619.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_40_2746.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_43_3585.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_46_2600.jpg', '/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_50_3653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_16_2670.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_19_2619.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_40_2746.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_43_3585.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_46_2600.jpg
/home/pi/Desktop/images/15072025/06/24/image_15072025_06_24_50_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372155165","1372155309","1372155263","1372155116","1372155214","1372155063"],"photo_ids_order":["1372155063","1372155116","1372155165","1372155214","1372155263","1372155309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c247fa2bfdc888df0722b474cb95ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody5915630993066873225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_40_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a21a6ec5840374ddd402730b5cc3f93b.jpg","text":"TemporaryFile(/tmp/multipartBody4452254380137128029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_50_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f22ccc9395ab2d291cff4c3e01adaac2.jpg","text":"TemporaryFile(/tmp/multipartBody2930604678966080750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_46_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1665b0c14c2c2cbc97bfdae72ca35625.jpg","text":"TemporaryFile(/tmp/multipartBody2383368016484408692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_19_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81165b580504992bd05dae612a04f955.jpg","text":"TemporaryFile(/tmp/multipartBody750596906605116698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_43_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4f52a8f1a679dbeaaca074cd96faa07.jpg","text":"TemporaryFile(/tmp/multipartBody3461770346515079050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562703145,"filename":"image_15072025_06_24_16_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372155165","file1":"1372155116","file0":"1372155063","file4":"1372155263","file5":"1372155309","file3":"1372155214"},"map_files_photo_id_array":[{"photo_id":"1372155309","filename":"file5"},{"photo_id":"1372155165","filename":"file2"},{"photo_id":"1372155263","filename":"file4"},{"photo_id":"1372155116","filename":"file1"},{"photo_id":"1372155063","filename":"file0"},{"photo_id":"1372155214","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372155165":["hashtag1","hashtag2"]},{"1372155309":["hashtag1","hashtag2"]},{"1372155263":["hashtag1","hashtag2"]},{"1372155116":["hashtag1","hashtag2"]},{"1372155214":["hashtag1","hashtag2"]},{"1372155063":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372155165, 1372155309, 1372155263, 1372155116, 1372155214, 1372155063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.5905077457428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 08:59:03.514545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/25/image_15072025_06_25_11_3655.jpg', '/home/pi/Desktop/images/15072025/06/25/image_15072025_06_25_47_3785.jpg', '/home/pi/Desktop/images/15072025/06/26/image_15072025_06_26_16_2841.jpg', '/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_07_2537.jpg', '/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_13_3648.jpg', '/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_22_2672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/25/image_15072025_06_25_11_3655.jpg
/home/pi/Desktop/images/15072025/06/25/image_15072025_06_25_47_3785.jpg
/home/pi/Desktop/images/15072025/06/26/image_15072025_06_26_16_2841.jpg
/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_07_2537.jpg
/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_13_3648.jpg
/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_22_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372155890","1372155801","1372155827","1372155871","1372155865","1372155894"],"photo_ids_order":["1372155801","1372155827","1372155865","1372155871","1372155890","1372155894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c79969e7f41c280e67fc8335c03ee57f.jpg","text":"TemporaryFile(/tmp/multipartBody2362252088683996571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_27_13_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9980c52b200e42fcd93ad2c93323f7a3.jpg","text":"TemporaryFile(/tmp/multipartBody9180880236926033852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_25_11_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5b6fcdc3f914dbdfb7eb372881d56864.jpg","text":"TemporaryFile(/tmp/multipartBody7636919831055857231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_25_47_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c49dfa50a9aa4100b03e531cfeb7dce.jpg","text":"TemporaryFile(/tmp/multipartBody1354188516059139814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_27_07_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9c09ed32ffb83882cd016ae6fdff4a6.jpg","text":"TemporaryFile(/tmp/multipartBody967179837265524677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_26_16_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0172448589576997c61859099a268588.jpg","text":"TemporaryFile(/tmp/multipartBody4578338174318062572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562804758,"filename":"image_15072025_06_27_22_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372155865","file1":"1372155827","file0":"1372155801","file4":"1372155890","file5":"1372155894","file3":"1372155871"},"map_files_photo_id_array":[{"photo_id":"1372155894","filename":"file5"},{"photo_id":"1372155865","filename":"file2"},{"photo_id":"1372155890","filename":"file4"},{"photo_id":"1372155827","filename":"file1"},{"photo_id":"1372155801","filename":"file0"},{"photo_id":"1372155871","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372155890":["hashtag1","hashtag2"]},{"1372155801":["hashtag1","hashtag2"]},{"1372155827":["hashtag1","hashtag2"]},{"1372155871":["hashtag1","hashtag2"]},{"1372155865":["hashtag1","hashtag2"]},{"1372155894":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372155890, 1372155801, 1372155827, 1372155871, 1372155865, 1372155894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.24738073348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:00:02.848878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_58_2745.jpg', '/home/pi/Desktop/images/15072025/06/28/image_15072025_06_28_10_3731.jpg', '/home/pi/Desktop/images/15072025/06/28/image_15072025_06_28_40_3718.jpg', '/home/pi/Desktop/images/15072025/06/30/image_15072025_06_31_00_2784.jpg', '/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_10_3645.jpg', '/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_15_2656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/27/image_15072025_06_27_58_2745.jpg
/home/pi/Desktop/images/15072025/06/28/image_15072025_06_28_10_3731.jpg
/home/pi/Desktop/images/15072025/06/28/image_15072025_06_28_40_3718.jpg
/home/pi/Desktop/images/15072025/06/30/image_15072025_06_31_00_2784.jpg
/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_10_3645.jpg
/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_15_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":["1372155932","1372155929","1372155920","1372155926","1372155931","1372155916"],"photo_ids_order":["1372155916","1372155920","1372155926","1372155929","1372155931","1372155932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4393e7bbe5fedf4b5657181416379062.jpg","text":"TemporaryFile(/tmp/multipartBody7370693389523588594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_31_15_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9a2259857a04bc270c338f7956355ae.jpg","text":"TemporaryFile(/tmp/multipartBody6842924416963656536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_31_00_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4ea875bfecd5a25355e476096297b76.jpg","text":"TemporaryFile(/tmp/multipartBody4197416237821673534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_28_10_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f82b792cdcba43ee7cebd2cc2e898bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8878273765999119416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_28_40_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9d64424ddd2628e3b9775aedab5868f.jpg","text":"TemporaryFile(/tmp/multipartBody7074933870777883659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_31_10_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a75ebf85f30119babe7feb2898db5156.jpg","text":"TemporaryFile(/tmp/multipartBody5985392513237655260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562863991,"filename":"image_15072025_06_27_58_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372155926","file1":"1372155920","file0":"1372155916","file4":"1372155931","file5":"1372155932","file3":"1372155929"},"map_files_photo_id_array":[{"photo_id":"1372155932","filename":"file5"},{"photo_id":"1372155926","filename":"file2"},{"photo_id":"1372155931","filename":"file4"},{"photo_id":"1372155920","filename":"file1"},{"photo_id":"1372155916","filename":"file0"},{"photo_id":"1372155929","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372155932":["hashtag1","hashtag2"]},{"1372155929":["hashtag1","hashtag2"]},{"1372155920":["hashtag1","hashtag2"]},{"1372155926":["hashtag1","hashtag2"]},{"1372155931":["hashtag1","hashtag2"]},{"1372155916":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372155932, 1372155929, 1372155920, 1372155926, 1372155931, 1372155916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.635345697402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:01:02.987298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_28_3645.jpg', '/home/pi/Desktop/images/15072025/06/37/image_15072025_06_37_42_2879.jpg', '/home/pi/Desktop/images/15072025/06/38/image_15072025_06_38_18_2665.jpg', '/home/pi/Desktop/images/15072025/06/38/image_15072025_06_38_35_2735.jpg', '/home/pi/Desktop/images/15072025/06/39/image_15072025_06_39_41_2838.jpg', '/home/pi/Desktop/images/15072025/06/39/image_15072025_06_39_45_3596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/31/image_15072025_06_31_28_3645.jpg
/home/pi/Desktop/images/15072025/06/37/image_15072025_06_37_42_2879.jpg
/home/pi/Desktop/images/15072025/06/38/image_15072025_06_38_18_2665.jpg
/home/pi/Desktop/images/15072025/06/38/image_15072025_06_38_35_2735.jpg
/home/pi/Desktop/images/15072025/06/39/image_15072025_06_39_41_2838.jpg
/home/pi/Desktop/images/15072025/06/39/image_15072025_06_39_45_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372155951","1372155965","1372155959","1372155947","1372155962","1372155955"],"photo_ids_order":["1372155947","1372155951","1372155955","1372155959","1372155962","1372155965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdc6a16d2a143426c88a05b8d274d38a.jpg","text":"TemporaryFile(/tmp/multipartBody7234314224166086722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_37_42_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/909fa1e45e0d38dd4daf726de6ffa160.jpg","text":"TemporaryFile(/tmp/multipartBody7944167463752518826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_39_45_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4f24db80a7f6d5769f4577ccbaf5938.jpg","text":"TemporaryFile(/tmp/multipartBody1480773466381463248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_38_35_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/303894dfd9c7a967678ad829d960794f.jpg","text":"TemporaryFile(/tmp/multipartBody2527055643041360891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_31_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/7/15/d19c7d7d3dc3853dce21707c758faf33.jpg","text":"TemporaryFile(/tmp/multipartBody128621369723339222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_39_41_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f931968de3b117403ee389001d09dc36.jpg","text":"TemporaryFile(/tmp/multipartBody586377363380217266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562924254,"filename":"image_15072025_06_38_18_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372155955","file1":"1372155951","file0":"1372155947","file4":"1372155962","file5":"1372155965","file3":"1372155959"},"map_files_photo_id_array":[{"photo_id":"1372155965","filename":"file5"},{"photo_id":"1372155955","filename":"file2"},{"photo_id":"1372155962","filename":"file4"},{"photo_id":"1372155951","filename":"file1"},{"photo_id":"1372155947","filename":"file0"},{"photo_id":"1372155959","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372155951":["hashtag1","hashtag2"]},{"1372155965":["hashtag1","hashtag2"]},{"1372155959":["hashtag1","hashtag2"]},{"1372155947":["hashtag1","hashtag2"]},{"1372155962":["hashtag1","hashtag2"]},{"1372155955":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372155951, 1372155965, 1372155959, 1372155947, 1372155962, 1372155955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68424344062805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:02:03.240122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/39/image_15072025_06_40_00_2725.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_02_2727.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_06_3771.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_09_2775.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_32_2526.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_36_3662.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/39/image_15072025_06_40_00_2725.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_02_2727.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_06_3771.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_09_2775.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_32_2526.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_36_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372155995","1372155989","1372155977","1372155992","1372155986","1372155981"],"photo_ids_order":["1372155977","1372155981","1372155986","1372155989","1372155992","1372155995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a8baa492829c0df34de03c3b60d69ef3.jpg","text":"TemporaryFile(/tmp/multipartBody9059815145163026973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_36_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a3d07e293388757f2c357252edc45a0.jpg","text":"TemporaryFile(/tmp/multipartBody1339248772810173743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_09_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b853da6661208c24dd2d05dfc17c341c.jpg","text":"TemporaryFile(/tmp/multipartBody7987056788923070804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_00_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5b1ee2f128c00ef61014f6ab23022e31.jpg","text":"TemporaryFile(/tmp/multipartBody8375368872310235188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_32_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab76fcf9b4d6425cb4969349aeb85bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8600714538476034595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_06_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6186d0699bdb794e7d805e85a2222797.jpg","text":"TemporaryFile(/tmp/multipartBody3881497753738511049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752562984407,"filename":"image_15072025_06_40_02_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372155986","file1":"1372155981","file0":"1372155977","file4":"1372155992","file5":"1372155995","file3":"1372155989"},"map_files_photo_id_array":[{"photo_id":"1372155995","filename":"file5"},{"photo_id":"1372155986","filename":"file2"},{"photo_id":"1372155992","filename":"file4"},{"photo_id":"1372155981","filename":"file1"},{"photo_id":"1372155977","filename":"file0"},{"photo_id":"1372155989","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372155995":["hashtag1","hashtag2"]},{"1372155989":["hashtag1","hashtag2"]},{"1372155977":["hashtag1","hashtag2"]},{"1372155992":["hashtag1","hashtag2"]},{"1372155986":["hashtag1","hashtag2"]},{"1372155981":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372155995, 1372155989, 1372155977, 1372155992, 1372155986, 1372155981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.73529577255249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:03:03.455869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_39_2825.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_42_2749.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_44_2883.jpg', '/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_48_3549.jpg', '/home/pi/Desktop/images/15072025/06/41/image_15072025_06_41_12_2727.jpg', '/home/pi/Desktop/images/15072025/06/41/image_15072025_06_41_36_3716.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_39_2825.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_42_2749.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_44_2883.jpg
/home/pi/Desktop/images/15072025/06/40/image_15072025_06_40_48_3549.jpg
/home/pi/Desktop/images/15072025/06/41/image_15072025_06_41_12_2727.jpg
/home/pi/Desktop/images/15072025/06/41/image_15072025_06_41_36_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372156016","1372156001","1372156019","1372156006","1372155999","1372156011"],"photo_ids_order":["1372155999","1372156001","1372156006","1372156011","1372156016","1372156019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae2ee169f1ba22bb8c29c6b29dd49aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6353021985147374186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_41_12_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46eb042df5344357211f0295834fc71b.jpg","text":"TemporaryFile(/tmp/multipartBody7369132408123626070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_40_42_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe828a0924aebb63b2909ed955a881c9.jpg","text":"TemporaryFile(/tmp/multipartBody4277254155718864042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_41_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/7/15/5c9f1b488d93608ff32595deb5793f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5779299036098366958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_40_44_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/363fc57a9dde884ba6c1bda0d76ce75f.jpg","text":"TemporaryFile(/tmp/multipartBody2369989188956297400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_40_39_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b921eb3c8df3561a859fff92c7bac5bb.jpg","text":"TemporaryFile(/tmp/multipartBody8384227630158245844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563044717,"filename":"image_15072025_06_40_48_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372156006","file1":"1372156001","file0":"1372155999","file4":"1372156016","file5":"1372156019","file3":"1372156011"},"map_files_photo_id_array":[{"photo_id":"1372156019","filename":"file5"},{"photo_id":"1372156006","filename":"file2"},{"photo_id":"1372156016","filename":"file4"},{"photo_id":"1372156001","filename":"file1"},{"photo_id":"1372155999","filename":"file0"},{"photo_id":"1372156011","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372156016":["hashtag1","hashtag2"]},{"1372156001":["hashtag1","hashtag2"]},{"1372156019":["hashtag1","hashtag2"]},{"1372156006":["hashtag1","hashtag2"]},{"1372155999":["hashtag1","hashtag2"]},{"1372156011":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372156016, 1372156001, 1372156019, 1372156006, 1372155999, 1372156011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.0120267868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:04:03.094165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/43/image_15072025_06_43_35_2764.jpg', '/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_11_2706.jpg', '/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_20_2602.jpg', '/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_23_2714.jpg', '/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_33_3625.jpg', '/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_35_2506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/43/image_15072025_06_43_35_2764.jpg
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_11_2706.jpg
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_20_2602.jpg
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_23_2714.jpg
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_33_3625.jpg
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_35_2506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372156042","1372156045","1372156033","1372156027","1372156029","1372156038"],"photo_ids_order":["1372156027","1372156029","1372156033","1372156038","1372156042","1372156045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d94ae63d49fb64e9f594ea716d9e3b55.jpg","text":"TemporaryFile(/tmp/multipartBody4550010656402077639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_44_33_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2209ed489b4b20e3f448bb72962a08c.jpg","text":"TemporaryFile(/tmp/multipartBody3442957965879471265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_44_35_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7aad6c71d228b129bfd3d6b1362200e6.jpg","text":"TemporaryFile(/tmp/multipartBody2779864091070144802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_44_20_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17e3d21f2dc65f69d7a9e6aa52b4bd36.jpg","text":"TemporaryFile(/tmp/multipartBody108211650798027377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_43_35_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dac3a87e57f4ee61e213bb4da119e66f.jpg","text":"TemporaryFile(/tmp/multipartBody8062672241340518781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_44_11_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70f21f06e5c371aff03ac5234c6babc5.jpg","text":"TemporaryFile(/tmp/multipartBody1940643653073382054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563104324,"filename":"image_15072025_06_44_23_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372156033","file1":"1372156029","file0":"1372156027","file4":"1372156042","file5":"1372156045","file3":"1372156038"},"map_files_photo_id_array":[{"photo_id":"1372156045","filename":"file5"},{"photo_id":"1372156033","filename":"file2"},{"photo_id":"1372156042","filename":"file4"},{"photo_id":"1372156029","filename":"file1"},{"photo_id":"1372156027","filename":"file0"},{"photo_id":"1372156038","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372156042":["hashtag1","hashtag2"]},{"1372156045":["hashtag1","hashtag2"]},{"1372156033":["hashtag1","hashtag2"]},{"1372156027":["hashtag1","hashtag2"]},{"1372156029":["hashtag1","hashtag2"]},{"1372156038":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372156042, 1372156045, 1372156033, 1372156027, 1372156029, 1372156038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.7825608253479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:05:02.313480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_55_1626.jpg', '/home/pi/Desktop/images/15072025/06/45/image_15072025_06_45_23_2821.jpg', '/home/pi/Desktop/images/15072025/06/45/image_15072025_06_45_55_4671.jpg', '/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_35_3646.jpg', '/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_44_2676.jpg', '/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_53_3691.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/44/image_15072025_06_44_55_1626.jpg
/home/pi/Desktop/images/15072025/06/45/image_15072025_06_45_23_2821.jpg
/home/pi/Desktop/images/15072025/06/45/image_15072025_06_45_55_4671.jpg
/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_35_3646.jpg
/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_44_2676.jpg
/home/pi/Desktop/images/15072025/06/46/image_15072025_06_46_53_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372156376","1372156190","1372156060","1372156057","1372156287","1372156094"],"photo_ids_order":["1372156057","1372156060","1372156094","1372156190","1372156287","1372156376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f756a5ef79787bd615cd02b5335656b3.jpg","text":"TemporaryFile(/tmp/multipartBody1157459495024794306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_46_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/7/15/cbc26b9f29dad0d906ac9a8b173d08df.jpg","text":"TemporaryFile(/tmp/multipartBody4293994876686950854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_46_35_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/16fa175be1d3aed7ca6f2e5fb9c0594d.jpg","text":"TemporaryFile(/tmp/multipartBody7909418098449080361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_45_23_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b203d8ddc8467b95bb8459b0c03c8387.jpg","text":"TemporaryFile(/tmp/multipartBody395187177521624550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_44_55_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/df58608e68f765fcebde469bad35f744.jpg","text":"TemporaryFile(/tmp/multipartBody2991854134729345579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_46_44_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/58156494dc9a5719357f3e41bc699673.jpg","text":"TemporaryFile(/tmp/multipartBody6213866664288617951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563163654,"filename":"image_15072025_06_45_55_4671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372156094","file1":"1372156060","file0":"1372156057","file4":"1372156287","file5":"1372156376","file3":"1372156190"},"map_files_photo_id_array":[{"photo_id":"1372156376","filename":"file5"},{"photo_id":"1372156094","filename":"file2"},{"photo_id":"1372156287","filename":"file4"},{"photo_id":"1372156060","filename":"file1"},{"photo_id":"1372156057","filename":"file0"},{"photo_id":"1372156190","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372156376":["hashtag1","hashtag2"]},{"1372156190":["hashtag1","hashtag2"]},{"1372156060":["hashtag1","hashtag2"]},{"1372156057":["hashtag1","hashtag2"]},{"1372156287":["hashtag1","hashtag2"]},{"1372156094":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372156376, 1372156190, 1372156060, 1372156057, 1372156287, 1372156094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21742558479309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:06:02.644711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_11_3587.jpg', '/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_59_2621.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_08_2590.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_28_2658.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_32_3867.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_35_2787.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_11_3587.jpg
/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_59_2621.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_08_2590.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_28_2658.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_32_3867.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_35_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7974929809570312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:06:22.066605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_11_3587.jpg', '/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_59_2621.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_08_2590.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_28_2658.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_32_3867.jpg', '/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_35_2787.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_11_3587.jpg
/home/pi/Desktop/images/15072025/06/47/image_15072025_06_47_59_2621.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_08_2590.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_28_2658.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_32_3867.jpg
/home/pi/Desktop/images/15072025/06/48/image_15072025_06_48_35_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":["1372156940","1372157251","1372157368","1372157332","1372157161","1372157042"],"photo_ids_order":["1372156940","1372157042","1372157161","1372157251","1372157332","1372157368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89d73fba44ba92f540d90d416c2ec962.jpg","text":"TemporaryFile(/tmp/multipartBody1593719942029075610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_47_11_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f21b065c6bdb0a709ff90596734d203a.jpg","text":"TemporaryFile(/tmp/multipartBody7673518968805047840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_48_28_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd95dcc22105604a7de3b616611de4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6816810348683525116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_48_35_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e775c7a401a44b2792fc099caebeed6.jpg","text":"TemporaryFile(/tmp/multipartBody1304766080313240702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_48_32_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5574cf569be7950c0703ea789c0ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody3561293895761569064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_48_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/7/15/9d4e87ee0f9728183b9e9a43367aca02.jpg","text":"TemporaryFile(/tmp/multipartBody4663292420805814507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563243182,"filename":"image_15072025_06_47_59_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372157161","file1":"1372157042","file0":"1372156940","file4":"1372157332","file5":"1372157368","file3":"1372157251"},"map_files_photo_id_array":[{"photo_id":"1372157368","filename":"file5"},{"photo_id":"1372157161","filename":"file2"},{"photo_id":"1372157332","filename":"file4"},{"photo_id":"1372157042","filename":"file1"},{"photo_id":"1372156940","filename":"file0"},{"photo_id":"1372157251","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372156940":["hashtag1","hashtag2"]},{"1372157251":["hashtag1","hashtag2"]},{"1372157368":["hashtag1","hashtag2"]},{"1372157332":["hashtag1","hashtag2"]},{"1372157161":["hashtag1","hashtag2"]},{"1372157042":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372156940, 1372157251, 1372157368, 1372157332, 1372157161, 1372157042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15715312957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:07:21.995709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_05_3640.jpg', '/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_08_2757.jpg', '/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_12_4607.jpg', '/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_13_3559.jpg', '/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_55_2586.jpg', '/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_59_3651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_05_3640.jpg
/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_08_2757.jpg
/home/pi/Desktop/images/15072025/06/49/image_15072025_06_49_12_4607.jpg
/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_13_3559.jpg
/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_55_2586.jpg
/home/pi/Desktop/images/15072025/06/54/image_15072025_06_54_59_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":["1372157455","1372157385","1372157379","1372157451","1372157459","1372157432"],"photo_ids_order":["1372157379","1372157385","1372157432","1372157451","1372157455","1372157459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/511a99a07024a9a332204c0152d1c7f6.jpg","text":"TemporaryFile(/tmp/multipartBody2098427749024279711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_54_55_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af173a040d6d65ed01b5eb048b8d738c.jpg","text":"TemporaryFile(/tmp/multipartBody2305457184394722716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_49_08_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f3fc57424f129b1c29cea003065d0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8027552235955747139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_49_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/7/15/086ab7f3aa4d58fb6fbac67f27d3f847.jpg","text":"TemporaryFile(/tmp/multipartBody5893418250142657227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_54_13_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d5f59c756ab84a5fc9b078f51efc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8571895567291942975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_54_59_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30a3792c24d65658bfc483c6ef1f584b.jpg","text":"TemporaryFile(/tmp/multipartBody6261901057629718270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563303109,"filename":"image_15072025_06_49_12_4607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372157432","file1":"1372157385","file0":"1372157379","file4":"1372157455","file5":"1372157459","file3":"1372157451"},"map_files_photo_id_array":[{"photo_id":"1372157459","filename":"file5"},{"photo_id":"1372157432","filename":"file2"},{"photo_id":"1372157455","filename":"file4"},{"photo_id":"1372157385","filename":"file1"},{"photo_id":"1372157379","filename":"file0"},{"photo_id":"1372157451","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372157455":["hashtag1","hashtag2"]},{"1372157385":["hashtag1","hashtag2"]},{"1372157379":["hashtag1","hashtag2"]},{"1372157451":["hashtag1","hashtag2"]},{"1372157459":["hashtag1","hashtag2"]},{"1372157432":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372157455, 1372157385, 1372157379, 1372157451, 1372157459, 1372157432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.545379400253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:08:21.883834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/06/55/image_15072025_06_55_16_2661.jpg', '/home/pi/Desktop/images/15072025/06/55/image_15072025_06_55_40_2827.jpg', '/home/pi/Desktop/images/15072025/06/57/image_15072025_06_57_40_3764.jpg', '/home/pi/Desktop/images/15072025/06/59/image_15072025_06_59_10_2623.jpg', '/home/pi/Desktop/images/15072025/07/04/image_15072025_07_04_39_2909.jpg', '/home/pi/Desktop/images/15072025/07/05/image_15072025_07_05_18_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/06/55/image_15072025_06_55_16_2661.jpg
/home/pi/Desktop/images/15072025/06/55/image_15072025_06_55_40_2827.jpg
/home/pi/Desktop/images/15072025/06/57/image_15072025_06_57_40_3764.jpg
/home/pi/Desktop/images/15072025/06/59/image_15072025_06_59_10_2623.jpg
/home/pi/Desktop/images/15072025/07/04/image_15072025_07_04_39_2909.jpg
/home/pi/Desktop/images/15072025/07/05/image_15072025_07_05_18_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372157638","1372157626","1372157583","1372157634","1372157532","1372157630"],"photo_ids_order":["1372157532","1372157583","1372157626","1372157630","1372157634","1372157638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14387ff331bc5c46bfe60388114baaf8.jpg","text":"TemporaryFile(/tmp/multipartBody6035611266219892146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_07_05_18_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7fe87c861ada65df52d122312a1eaa6.jpg","text":"TemporaryFile(/tmp/multipartBody576524470661313147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_06_57_40_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/41bd33ec203953c78289667d69019127.jpg","text":"TemporaryFile(/tmp/multipartBody6030401310154451815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_06_55_40_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71dbc954b7add92de4e900cbe4d3c89e.jpg","text":"TemporaryFile(/tmp/multipartBody2756810188591071135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_07_04_39_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ce2b3a2a53a747420fef24494a2e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody9089205611345863112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_06_55_16_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80f542d916c7a879a2096451ed6d04af.jpg","text":"TemporaryFile(/tmp/multipartBody825476852790502198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563363005,"filename":"image_15072025_06_59_10_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372157626","file1":"1372157583","file0":"1372157532","file4":"1372157634","file5":"1372157638","file3":"1372157630"},"map_files_photo_id_array":[{"photo_id":"1372157638","filename":"file5"},{"photo_id":"1372157626","filename":"file2"},{"photo_id":"1372157634","filename":"file4"},{"photo_id":"1372157583","filename":"file1"},{"photo_id":"1372157532","filename":"file0"},{"photo_id":"1372157630","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372157638":["hashtag1","hashtag2"]},{"1372157626":["hashtag1","hashtag2"]},{"1372157583":["hashtag1","hashtag2"]},{"1372157634":["hashtag1","hashtag2"]},{"1372157532":["hashtag1","hashtag2"]},{"1372157630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372157638, 1372157626, 1372157583, 1372157634, 1372157532, 1372157630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.996848821640015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:09:22.313860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/07/image_15072025_07_07_57_2745.jpg', '/home/pi/Desktop/images/15072025/07/08/image_15072025_07_08_21_2848.jpg', '/home/pi/Desktop/images/15072025/07/10/image_15072025_07_10_44_2736.jpg', '/home/pi/Desktop/images/15072025/07/11/image_15072025_07_11_02_2721.jpg', '/home/pi/Desktop/images/15072025/07/11/image_15072025_07_11_14_2767.jpg', '/home/pi/Desktop/images/15072025/07/12/image_15072025_07_12_21_3662.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/07/image_15072025_07_07_57_2745.jpg
/home/pi/Desktop/images/15072025/07/08/image_15072025_07_08_21_2848.jpg
/home/pi/Desktop/images/15072025/07/10/image_15072025_07_10_44_2736.jpg
/home/pi/Desktop/images/15072025/07/11/image_15072025_07_11_02_2721.jpg
/home/pi/Desktop/images/15072025/07/11/image_15072025_07_11_14_2767.jpg
/home/pi/Desktop/images/15072025/07/12/image_15072025_07_12_21_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372157933","1372157950","1372157869","1372157818","1372157955","1372157952"],"photo_ids_order":["1372157818","1372157869","1372157933","1372157950","1372157952","1372157955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb5deed146e837648f1fd8a0fa310a54.jpg","text":"TemporaryFile(/tmp/multipartBody1917642503676926167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_10_44_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d827352e6328083d0851b5e490b66fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3252661435943738583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_11_02_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d07e01b28514abb397917f12c93c5e99.jpg","text":"TemporaryFile(/tmp/multipartBody5202664376077546319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_08_21_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17d6a12b0c5c009576ce6ebf689f58fd.jpg","text":"TemporaryFile(/tmp/multipartBody4583787384049554173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_07_57_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92998195850bfb8ba32ff877486c00d8.jpg","text":"TemporaryFile(/tmp/multipartBody6577144220520666121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_12_21_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33074733db3a729673386f35df5f60ee.jpg","text":"TemporaryFile(/tmp/multipartBody5357618661314936890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563423457,"filename":"image_15072025_07_11_14_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372157933","file1":"1372157869","file0":"1372157818","file4":"1372157952","file5":"1372157955","file3":"1372157950"},"map_files_photo_id_array":[{"photo_id":"1372157955","filename":"file5"},{"photo_id":"1372157933","filename":"file2"},{"photo_id":"1372157952","filename":"file4"},{"photo_id":"1372157869","filename":"file1"},{"photo_id":"1372157818","filename":"file0"},{"photo_id":"1372157950","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372157933":["hashtag1","hashtag2"]},{"1372157950":["hashtag1","hashtag2"]},{"1372157869":["hashtag1","hashtag2"]},{"1372157818":["hashtag1","hashtag2"]},{"1372157955":["hashtag1","hashtag2"]},{"1372157952":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372157933, 1372157950, 1372157869, 1372157818, 1372157955, 1372157952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41730880737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:10:22.659481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_24_3665.jpg', '/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_33_3609.jpg', '/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_48_3626.jpg', '/home/pi/Desktop/images/15072025/07/16/image_15072025_07_16_39_3600.jpg', '/home/pi/Desktop/images/15072025/07/16/image_15072025_07_16_44_2845.jpg', '/home/pi/Desktop/images/15072025/07/17/image_15072025_07_17_38_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_24_3665.jpg
/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_33_3609.jpg
/home/pi/Desktop/images/15072025/07/13/image_15072025_07_13_48_3626.jpg
/home/pi/Desktop/images/15072025/07/16/image_15072025_07_16_39_3600.jpg
/home/pi/Desktop/images/15072025/07/16/image_15072025_07_16_44_2845.jpg
/home/pi/Desktop/images/15072025/07/17/image_15072025_07_17_38_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":["1372158082","1372158010","1372158174","1372158078","1372158041","1372158122"],"photo_ids_order":["1372158010","1372158041","1372158078","1372158082","1372158122","1372158174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b77c6879f4516a190e0d7a53b504ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody4517183290687328987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_16_39_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0bf33bf9bf54d756a06b601b5964532.jpg","text":"TemporaryFile(/tmp/multipartBody5019451171564442762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_13_24_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/162832f936fe360a8ad459bdaec06144.jpg","text":"TemporaryFile(/tmp/multipartBody8790317305191443939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_17_38_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/724c7953b5d68fb34b24f9f1eeb67763.jpg","text":"TemporaryFile(/tmp/multipartBody1427655254356056111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_13_48_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf25070b7c0251a7ec212e998458c054.jpg","text":"TemporaryFile(/tmp/multipartBody6313567404205015897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_13_33_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d1577e1a984fae91b9b88d4991e60d2.jpg","text":"TemporaryFile(/tmp/multipartBody8878161855603901497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563483828,"filename":"image_15072025_07_16_44_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158078","file1":"1372158041","file0":"1372158010","file4":"1372158122","file5":"1372158174","file3":"1372158082"},"map_files_photo_id_array":[{"photo_id":"1372158174","filename":"file5"},{"photo_id":"1372158078","filename":"file2"},{"photo_id":"1372158122","filename":"file4"},{"photo_id":"1372158041","filename":"file1"},{"photo_id":"1372158010","filename":"file0"},{"photo_id":"1372158082","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158082":["hashtag1","hashtag2"]},{"1372158010":["hashtag1","hashtag2"]},{"1372158174":["hashtag1","hashtag2"]},{"1372158078":["hashtag1","hashtag2"]},{"1372158041":["hashtag1","hashtag2"]},{"1372158122":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158082, 1372158010, 1372158174, 1372158078, 1372158041, 1372158122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.00807499885559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:11:22.062457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/19/image_15072025_07_19_19_2937.jpg', '/home/pi/Desktop/images/15072025/07/20/image_15072025_07_20_16_2632.jpg', '/home/pi/Desktop/images/15072025/07/21/image_15072025_07_21_49_2688.jpg', '/home/pi/Desktop/images/15072025/07/22/image_15072025_07_22_04_2838.jpg', '/home/pi/Desktop/images/15072025/07/25/image_15072025_07_25_49_2653.jpg', '/home/pi/Desktop/images/15072025/07/25/image_15072025_07_25_52_2595.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/19/image_15072025_07_19_19_2937.jpg
/home/pi/Desktop/images/15072025/07/20/image_15072025_07_20_16_2632.jpg
/home/pi/Desktop/images/15072025/07/21/image_15072025_07_21_49_2688.jpg
/home/pi/Desktop/images/15072025/07/22/image_15072025_07_22_04_2838.jpg
/home/pi/Desktop/images/15072025/07/25/image_15072025_07_25_49_2653.jpg
/home/pi/Desktop/images/15072025/07/25/image_15072025_07_25_52_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158403","1372158406","1372158381","1372158409","1372158411","1372158329"],"photo_ids_order":["1372158329","1372158381","1372158403","1372158406","1372158409","1372158411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8887f412ad6c10a67a1e2b6ec4cd54f2.jpg","text":"TemporaryFile(/tmp/multipartBody4596427900839156566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_21_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/7/15/3f1c6d59778b8dfffeb907597e691245.jpg","text":"TemporaryFile(/tmp/multipartBody5941623905827978887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_22_04_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdb64ad11b8ffd295e92de1f12ead56d.jpg","text":"TemporaryFile(/tmp/multipartBody7019531161319245519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_20_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/7/15/3454fc65dc040654bc304f851dfb1d96.jpg","text":"TemporaryFile(/tmp/multipartBody6466249399987499550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_25_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40b9998d1cbfcc1cf7296a78dd0088df.jpg","text":"TemporaryFile(/tmp/multipartBody1699036891125518628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_25_52_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b79ce9c3da3ed0f47044e7879d6773e.jpg","text":"TemporaryFile(/tmp/multipartBody8744529782958688118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563543218,"filename":"image_15072025_07_19_19_2937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158403","file1":"1372158381","file0":"1372158329","file4":"1372158409","file5":"1372158411","file3":"1372158406"},"map_files_photo_id_array":[{"photo_id":"1372158411","filename":"file5"},{"photo_id":"1372158403","filename":"file2"},{"photo_id":"1372158409","filename":"file4"},{"photo_id":"1372158381","filename":"file1"},{"photo_id":"1372158329","filename":"file0"},{"photo_id":"1372158406","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158403":["hashtag1","hashtag2"]},{"1372158406":["hashtag1","hashtag2"]},{"1372158381":["hashtag1","hashtag2"]},{"1372158409":["hashtag1","hashtag2"]},{"1372158411":["hashtag1","hashtag2"]},{"1372158329":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158403, 1372158406, 1372158381, 1372158409, 1372158411, 1372158329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.16868472099304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:12:22.262844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_32_1662.jpg', '/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_40_2638.jpg', '/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_55_2590.jpg', '/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_01_2587.jpg', '/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_10_2638.jpg', '/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_37_2860.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_32_1662.jpg
/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_40_2638.jpg
/home/pi/Desktop/images/15072025/07/26/image_15072025_07_26_55_2590.jpg
/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_01_2587.jpg
/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_10_2638.jpg
/home/pi/Desktop/images/15072025/07/28/image_15072025_07_28_37_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158586","1372158571","1372158588","1372158591","1372158473","1372158524"],"photo_ids_order":["1372158473","1372158524","1372158571","1372158586","1372158588","1372158591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17183af4532bdaf73caf73f0c857b0be.jpg","text":"TemporaryFile(/tmp/multipartBody2640717656150330705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_28_01_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7333d5b5e02be0ee3272f3ed1b67fe3a.jpg","text":"TemporaryFile(/tmp/multipartBody136150292536565993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_26_55_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab9b1e5203c803c51c7da525735fc892.jpg","text":"TemporaryFile(/tmp/multipartBody2231784960982077594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_28_10_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa17eb9643f61b2928ab04cace277fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2387515582745297334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_28_37_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/000d6b4f13da66c2ce8ddf0884c2490a.jpg","text":"TemporaryFile(/tmp/multipartBody2330501351957690104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_26_32_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/63b57a7869885d0bc26c7507e76efe70.jpg","text":"TemporaryFile(/tmp/multipartBody6230429196370521341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563603375,"filename":"image_15072025_07_26_40_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158571","file1":"1372158524","file0":"1372158473","file4":"1372158588","file5":"1372158591","file3":"1372158586"},"map_files_photo_id_array":[{"photo_id":"1372158591","filename":"file5"},{"photo_id":"1372158571","filename":"file2"},{"photo_id":"1372158588","filename":"file4"},{"photo_id":"1372158524","filename":"file1"},{"photo_id":"1372158473","filename":"file0"},{"photo_id":"1372158586","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158586":["hashtag1","hashtag2"]},{"1372158571":["hashtag1","hashtag2"]},{"1372158588":["hashtag1","hashtag2"]},{"1372158591":["hashtag1","hashtag2"]},{"1372158473":["hashtag1","hashtag2"]},{"1372158524":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158586, 1372158571, 1372158588, 1372158591, 1372158473, 1372158524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.08567762374878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:13:21.800627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/29/image_15072025_07_29_48_2814.jpg', '/home/pi/Desktop/images/15072025/07/31/image_15072025_07_31_13_3621.jpg', '/home/pi/Desktop/images/15072025/07/32/image_15072025_07_32_15_2596.jpg', '/home/pi/Desktop/images/15072025/07/33/image_15072025_07_33_54_1694.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_15_2761.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_18_2851.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/29/image_15072025_07_29_48_2814.jpg
/home/pi/Desktop/images/15072025/07/31/image_15072025_07_31_13_3621.jpg
/home/pi/Desktop/images/15072025/07/32/image_15072025_07_32_15_2596.jpg
/home/pi/Desktop/images/15072025/07/33/image_15072025_07_33_54_1694.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_15_2761.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_18_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158613","1372158615","1372158599","1372158617","1372158605","1372158608"],"photo_ids_order":["1372158599","1372158605","1372158608","1372158613","1372158615","1372158617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a16fbe2d7201ab224889d6d95aba73c.jpg","text":"TemporaryFile(/tmp/multipartBody4272856588198062230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_33_54_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/37bc8d57688909b7d767c6004b4e6a8a.jpg","text":"TemporaryFile(/tmp/multipartBody179725131969854421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_34_15_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1d54fafeba886fd673dd22ad7f0d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody4171209371601476523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_29_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/7/15/47e32e264e6e643447eb7bca238b160e.jpg","text":"TemporaryFile(/tmp/multipartBody1851458687381327155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_34_18_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9520b2a52aeab259e1a34468db70758c.jpg","text":"TemporaryFile(/tmp/multipartBody4063129410549820034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_31_13_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4e5b7669c028b6b68685dd589ff2a560.jpg","text":"TemporaryFile(/tmp/multipartBody4356352740499848770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563662983,"filename":"image_15072025_07_32_15_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158608","file1":"1372158605","file0":"1372158599","file4":"1372158615","file5":"1372158617","file3":"1372158613"},"map_files_photo_id_array":[{"photo_id":"1372158617","filename":"file5"},{"photo_id":"1372158608","filename":"file2"},{"photo_id":"1372158615","filename":"file4"},{"photo_id":"1372158605","filename":"file1"},{"photo_id":"1372158599","filename":"file0"},{"photo_id":"1372158613","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158613":["hashtag1","hashtag2"]},{"1372158615":["hashtag1","hashtag2"]},{"1372158599":["hashtag1","hashtag2"]},{"1372158617":["hashtag1","hashtag2"]},{"1372158605":["hashtag1","hashtag2"]},{"1372158608":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158613, 1372158615, 1372158599, 1372158617, 1372158605, 1372158608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.672386169433594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:14:21.976724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_27_2635.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_30_2637.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_34_3742.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_54_2628.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_57_2716.jpg', '/home/pi/Desktop/images/15072025/07/34/image_15072025_07_35_01_3708.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_27_2635.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_30_2637.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_34_3742.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_54_2628.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_34_57_2716.jpg
/home/pi/Desktop/images/15072025/07/34/image_15072025_07_35_01_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158646","1372158649","1372158634","1372158629","1372158644","1372158638"],"photo_ids_order":["1372158629","1372158634","1372158638","1372158644","1372158646","1372158649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af24f1b3535634de7aca5356c6a81999.jpg","text":"TemporaryFile(/tmp/multipartBody8931815077411074914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_34_57_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ddd6fe2e015890e9d969eef7b93c1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8907363655273470333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_35_01_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84a4e0b571f360f799e536643045fcf3.jpg","text":"TemporaryFile(/tmp/multipartBody6651288770621648307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_34_30_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2d9f0ab5415c29ae82b8a629823399a.jpg","text":"TemporaryFile(/tmp/multipartBody3887179889431026256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_34_27_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99efc88651a395b5ca4458b767dfda58.jpg","text":"TemporaryFile(/tmp/multipartBody2099643397103492254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_34_54_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d329c477802e6e5964305072555ac50f.jpg","text":"TemporaryFile(/tmp/multipartBody612150355055037846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563723159,"filename":"image_15072025_07_34_34_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158638","file1":"1372158634","file0":"1372158629","file4":"1372158646","file5":"1372158649","file3":"1372158644"},"map_files_photo_id_array":[{"photo_id":"1372158649","filename":"file5"},{"photo_id":"1372158638","filename":"file2"},{"photo_id":"1372158646","filename":"file4"},{"photo_id":"1372158634","filename":"file1"},{"photo_id":"1372158629","filename":"file0"},{"photo_id":"1372158644","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158646":["hashtag1","hashtag2"]},{"1372158649":["hashtag1","hashtag2"]},{"1372158634":["hashtag1","hashtag2"]},{"1372158629":["hashtag1","hashtag2"]},{"1372158644":["hashtag1","hashtag2"]},{"1372158638":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158646, 1372158649, 1372158634, 1372158629, 1372158644, 1372158638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.18017864227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:15:22.075122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_15_2651.jpg', '/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_28_3653.jpg', '/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_30_2717.jpg', '/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_33_2931.jpg', '/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_40_3614.jpg', '/home/pi/Desktop/images/15072025/07/35/image_15072025_07_36_00_3609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_15_2651.jpg
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_28_3653.jpg
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_30_2717.jpg
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_33_2931.jpg
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_35_40_3614.jpg
/home/pi/Desktop/images/15072025/07/35/image_15072025_07_36_00_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158673","1372158663","1372158657","1372158666","1372158680","1372158677"],"photo_ids_order":["1372158657","1372158663","1372158666","1372158673","1372158677","1372158680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1b7d10fdc6d2b3dee088b80f48134b5.jpg","text":"TemporaryFile(/tmp/multipartBody8084078927946588423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_35_33_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/20434f874c897450f832c373f3d84dfc.jpg","text":"TemporaryFile(/tmp/multipartBody5063463299956459783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_35_28_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/286b5d490ab71775e706846ade6a569a.jpg","text":"TemporaryFile(/tmp/multipartBody3915376252069280634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_35_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ba33c147d16a3d6566f85d3d1310ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4500913430873769889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_35_30_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6ca605086d533558e6d768f365b9da0c.jpg","text":"TemporaryFile(/tmp/multipartBody6028582030003420340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_36_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/7/15/081dd012b4d1f762d3bd4162528321c2.jpg","text":"TemporaryFile(/tmp/multipartBody8800926544370832401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563783201,"filename":"image_15072025_07_35_40_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158666","file1":"1372158663","file0":"1372158657","file4":"1372158677","file5":"1372158680","file3":"1372158673"},"map_files_photo_id_array":[{"photo_id":"1372158680","filename":"file5"},{"photo_id":"1372158666","filename":"file2"},{"photo_id":"1372158677","filename":"file4"},{"photo_id":"1372158663","filename":"file1"},{"photo_id":"1372158657","filename":"file0"},{"photo_id":"1372158673","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158673":["hashtag1","hashtag2"]},{"1372158663":["hashtag1","hashtag2"]},{"1372158657":["hashtag1","hashtag2"]},{"1372158666":["hashtag1","hashtag2"]},{"1372158680":["hashtag1","hashtag2"]},{"1372158677":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158673, 1372158663, 1372158657, 1372158666, 1372158680, 1372158677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.75634217262268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:16:22.548596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/37/image_15072025_07_37_51_2708.jpg', '/home/pi/Desktop/images/15072025/07/38/image_15072025_07_38_39_2658.jpg', '/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_26_2875.jpg', '/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_30_3593.jpg', '/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_36_3713.jpg', '/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_48_3536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/37/image_15072025_07_37_51_2708.jpg
/home/pi/Desktop/images/15072025/07/38/image_15072025_07_38_39_2658.jpg
/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_26_2875.jpg
/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_30_3593.jpg
/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_36_3713.jpg
/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_48_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158691","1372158703","1372158696","1372158705","1372158698","1372158710"],"photo_ids_order":["1372158691","1372158696","1372158698","1372158703","1372158705","1372158710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29aa6bfe662d34196381fa54e8ad74d3.jpg","text":"TemporaryFile(/tmp/multipartBody9211177593234487487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_37_51_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ebd9853ca6463a2956dd27937f6c676e.jpg","text":"TemporaryFile(/tmp/multipartBody1181988342413807529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_39_30_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d20e14860ddb123715dce15c85be4cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4929377249702168012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_38_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/7/15/6a6ca98e61aa41c385f53bff68c1d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody1738709059737795279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_39_36_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a5c612326e927af5a9fdb6d9e3be0b6.jpg","text":"TemporaryFile(/tmp/multipartBody2762930291385626899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_39_26_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc03f8224efe139b254956d9036dbefa.jpg","text":"TemporaryFile(/tmp/multipartBody3695961808849970489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563843677,"filename":"image_15072025_07_39_48_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158698","file1":"1372158696","file0":"1372158691","file4":"1372158705","file5":"1372158710","file3":"1372158703"},"map_files_photo_id_array":[{"photo_id":"1372158710","filename":"file5"},{"photo_id":"1372158698","filename":"file2"},{"photo_id":"1372158705","filename":"file4"},{"photo_id":"1372158696","filename":"file1"},{"photo_id":"1372158691","filename":"file0"},{"photo_id":"1372158703","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158691":["hashtag1","hashtag2"]},{"1372158703":["hashtag1","hashtag2"]},{"1372158696":["hashtag1","hashtag2"]},{"1372158705":["hashtag1","hashtag2"]},{"1372158698":["hashtag1","hashtag2"]},{"1372158710":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158691, 1372158703, 1372158696, 1372158705, 1372158698, 1372158710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.597681283950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:17:22.271611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_51_2668.jpg', '/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_27_2564.jpg', '/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_30_3584.jpg', '/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_39_3631.jpg', '/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_42_2583.jpg', '/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_48_3619.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/39/image_15072025_07_39_51_2668.jpg
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_27_2564.jpg
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_30_3584.jpg
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_39_3631.jpg
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_42_2583.jpg
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_48_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158739","1372158733","1372158741","1372158735","1372158729","1372158743"],"photo_ids_order":["1372158729","1372158733","1372158735","1372158739","1372158741","1372158743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bac0617063d35f60af079d760d220520.jpg","text":"TemporaryFile(/tmp/multipartBody2541492220746651963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_07_40_39_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/918510be97b2108ae6b2f655ad597f30.jpg","text":"TemporaryFile(/tmp/multipartBody4747010867093564118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_07_40_27_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bf6c6565497e658ea9848bd31e4afc2.jpg","text":"TemporaryFile(/tmp/multipartBody331902324587387430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_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/7/15/f89401aca8d867677a54ab325231d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody326186269884081654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_07_40_30_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1354e2be5d8ae2388c56185c0507c96.jpg","text":"TemporaryFile(/tmp/multipartBody2780926115597296111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_07_39_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/7/15/a491a45538e92ae6e571d6074af48d68.jpg","text":"TemporaryFile(/tmp/multipartBody5033875410673116226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563903426,"filename":"image_15072025_07_40_48_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158735","file1":"1372158733","file0":"1372158729","file4":"1372158741","file5":"1372158743","file3":"1372158739"},"map_files_photo_id_array":[{"photo_id":"1372158743","filename":"file5"},{"photo_id":"1372158735","filename":"file2"},{"photo_id":"1372158741","filename":"file4"},{"photo_id":"1372158733","filename":"file1"},{"photo_id":"1372158729","filename":"file0"},{"photo_id":"1372158739","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158739":["hashtag1","hashtag2"]},{"1372158733":["hashtag1","hashtag2"]},{"1372158741":["hashtag1","hashtag2"]},{"1372158735":["hashtag1","hashtag2"]},{"1372158729":["hashtag1","hashtag2"]},{"1372158743":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158739, 1372158733, 1372158741, 1372158735, 1372158729, 1372158743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.540820837020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:18:22.146492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_53_2668.jpg', '/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_02_2644.jpg', '/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_21_2598.jpg', '/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_30_2624.jpg', '/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_32_2791.jpg', '/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_41_2520.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/40/image_15072025_07_40_53_2668.jpg
/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_02_2644.jpg
/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_21_2598.jpg
/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_30_2624.jpg
/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_32_2791.jpg
/home/pi/Desktop/images/15072025/07/41/image_15072025_07_41_41_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158757","1372158766","1372158760","1372158754","1372158770","1372158764"],"photo_ids_order":["1372158754","1372158757","1372158760","1372158764","1372158766","1372158770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/940382dade64eb54439f1a3a2b8f86ee.jpg","text":"TemporaryFile(/tmp/multipartBody4690385913389602053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_41_02_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c98cfd83e3883134bf526f75e56e46de.jpg","text":"TemporaryFile(/tmp/multipartBody8152105212774463599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_41_32_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b060bacd38360e37fe772334df3c06b0.jpg","text":"TemporaryFile(/tmp/multipartBody2966190040355613853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_41_21_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/520d90e118b2e7d4bafd133aa1e372ff.jpg","text":"TemporaryFile(/tmp/multipartBody347260495511160467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_40_53_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9637812e951d7ae63421acccf225ef4.jpg","text":"TemporaryFile(/tmp/multipartBody5276153367431221720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_41_41_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8facfdcd1a848f8033552df243209b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1491922666186004638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752563963271,"filename":"image_15072025_07_41_30_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158760","file1":"1372158757","file0":"1372158754","file4":"1372158766","file5":"1372158770","file3":"1372158764"},"map_files_photo_id_array":[{"photo_id":"1372158770","filename":"file5"},{"photo_id":"1372158760","filename":"file2"},{"photo_id":"1372158766","filename":"file4"},{"photo_id":"1372158757","filename":"file1"},{"photo_id":"1372158754","filename":"file0"},{"photo_id":"1372158764","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158757":["hashtag1","hashtag2"]},{"1372158766":["hashtag1","hashtag2"]},{"1372158760":["hashtag1","hashtag2"]},{"1372158754":["hashtag1","hashtag2"]},{"1372158770":["hashtag1","hashtag2"]},{"1372158764":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158757, 1372158766, 1372158760, 1372158754, 1372158770, 1372158764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.251538038253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:19:22.527191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_02_2658.jpg', '/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_15_3577.jpg', '/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_26_2693.jpg', '/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_38_2736.jpg', '/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_56_2781.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_05_2659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_02_2658.jpg
/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_15_3577.jpg
/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_26_2693.jpg
/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_38_2736.jpg
/home/pi/Desktop/images/15072025/07/42/image_15072025_07_42_56_2781.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_05_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158790","1372158798","1372158805","1372158801","1372158794","1372158803"],"photo_ids_order":["1372158790","1372158794","1372158798","1372158801","1372158803","1372158805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a37adaf9191e2296a9a94353e05591a.jpg","text":"TemporaryFile(/tmp/multipartBody2116902532225110635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_42_02_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a708768dc6ba49932dcbd4e919a2633.jpg","text":"TemporaryFile(/tmp/multipartBody3359036219223714007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_42_26_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1af67f5a64d21220b0d6747986708c6f.jpg","text":"TemporaryFile(/tmp/multipartBody671737238405026447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_43_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/7/15/ec40353ac16fc8d857aef01b3eb8687c.jpg","text":"TemporaryFile(/tmp/multipartBody6877447027236179742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_42_38_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/695a0155580191c0c5e0ed76ef19cc5f.jpg","text":"TemporaryFile(/tmp/multipartBody2652336947639888745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_42_15_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d38783ef716bf39a5029d46f58d8c07e.jpg","text":"TemporaryFile(/tmp/multipartBody6769043333750441448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564023649,"filename":"image_15072025_07_42_56_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158798","file1":"1372158794","file0":"1372158790","file4":"1372158803","file5":"1372158805","file3":"1372158801"},"map_files_photo_id_array":[{"photo_id":"1372158805","filename":"file5"},{"photo_id":"1372158798","filename":"file2"},{"photo_id":"1372158803","filename":"file4"},{"photo_id":"1372158794","filename":"file1"},{"photo_id":"1372158790","filename":"file0"},{"photo_id":"1372158801","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158790":["hashtag1","hashtag2"]},{"1372158798":["hashtag1","hashtag2"]},{"1372158805":["hashtag1","hashtag2"]},{"1372158801":["hashtag1","hashtag2"]},{"1372158794":["hashtag1","hashtag2"]},{"1372158803":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158790, 1372158798, 1372158805, 1372158801, 1372158794, 1372158803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33628702163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:20:22.760450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_14_2648.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_21_3712.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_30_3566.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_32_2747.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_35_2678.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_39_3668.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_14_2648.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_21_3712.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_30_3566.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_32_2747.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_35_2678.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_39_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158829","1372158822","1372158825","1372158813","1372158827","1372158818"],"photo_ids_order":["1372158813","1372158818","1372158822","1372158825","1372158827","1372158829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a5b39d619454e91e0e50cc2bca27f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5724354811540717755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_39_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3b193c0e3abacfd65b62f3db1e19c77a.jpg","text":"TemporaryFile(/tmp/multipartBody1709538058491349881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_30_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a464a72bfa85e57791f12e43f11a4514.jpg","text":"TemporaryFile(/tmp/multipartBody3103977796888164944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_32_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06ec8b867c509081b934073e1dfb5feb.jpg","text":"TemporaryFile(/tmp/multipartBody2311756346284394640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_14_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71ae8a8cf11ae114d06bddf19e7eccf0.jpg","text":"TemporaryFile(/tmp/multipartBody4106131313242497763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_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/7/15/9d461ef356c4f03bae2a3001ea13a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8118189696958564611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564083883,"filename":"image_15072025_07_43_21_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158822","file1":"1372158818","file0":"1372158813","file4":"1372158827","file5":"1372158829","file3":"1372158825"},"map_files_photo_id_array":[{"photo_id":"1372158829","filename":"file5"},{"photo_id":"1372158822","filename":"file2"},{"photo_id":"1372158827","filename":"file4"},{"photo_id":"1372158818","filename":"file1"},{"photo_id":"1372158813","filename":"file0"},{"photo_id":"1372158825","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158829":["hashtag1","hashtag2"]},{"1372158822":["hashtag1","hashtag2"]},{"1372158825":["hashtag1","hashtag2"]},{"1372158813":["hashtag1","hashtag2"]},{"1372158827":["hashtag1","hashtag2"]},{"1372158818":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158829, 1372158822, 1372158825, 1372158813, 1372158827, 1372158818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.759033203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:21:22.217706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_45_3144.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_47_2832.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_50_2677.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_53_2739.jpg', '/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_57_3692.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_02_2729.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_45_3144.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_47_2832.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_50_2677.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_53_2739.jpg
/home/pi/Desktop/images/15072025/07/43/image_15072025_07_43_57_3692.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_02_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":["1372158856","1372158873","1372158870","1372158866","1372158851","1372158860"],"photo_ids_order":["1372158851","1372158856","1372158860","1372158866","1372158870","1372158873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd9cfa307fa7b1218f8509b5d3435b90.jpg","text":"TemporaryFile(/tmp/multipartBody5171811538974147939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_43_47_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67ff7511bf7c279ca25d9eac81b0e240.jpg","text":"TemporaryFile(/tmp/multipartBody8476484611768631620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_44_02_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1d054786d6313cd30be1ac9c9ff2bee.jpg","text":"TemporaryFile(/tmp/multipartBody8067039500544531673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_43_57_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a057b7924245f1184751c99bfd6e6d9.jpg","text":"TemporaryFile(/tmp/multipartBody3441217614773072666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_43_53_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1754a31c94f62d4f5095890cca7b7968.jpg","text":"TemporaryFile(/tmp/multipartBody8002229232014045005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_43_45_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ba6aa80a4dac760bc7057c40692df9b.jpg","text":"TemporaryFile(/tmp/multipartBody7418336752948886654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564143336,"filename":"image_15072025_07_43_50_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158860","file1":"1372158856","file0":"1372158851","file4":"1372158870","file5":"1372158873","file3":"1372158866"},"map_files_photo_id_array":[{"photo_id":"1372158873","filename":"file5"},{"photo_id":"1372158860","filename":"file2"},{"photo_id":"1372158870","filename":"file4"},{"photo_id":"1372158856","filename":"file1"},{"photo_id":"1372158851","filename":"file0"},{"photo_id":"1372158866","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158856":["hashtag1","hashtag2"]},{"1372158873":["hashtag1","hashtag2"]},{"1372158870":["hashtag1","hashtag2"]},{"1372158866":["hashtag1","hashtag2"]},{"1372158851":["hashtag1","hashtag2"]},{"1372158860":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158856, 1372158873, 1372158870, 1372158866, 1372158851, 1372158860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.439040422439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:22:22.128975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_06_3641.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_15_2774.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_20_2634.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_24_3845.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_26_2602.jpg', '/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_50_2667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_06_3641.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_15_2774.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_20_2634.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_24_3845.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_26_2602.jpg
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_50_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372158886","1372159056","1372159008","1372158918","1372158881","1372158965"],"photo_ids_order":["1372158881","1372158886","1372158918","1372158965","1372159008","1372159056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7fb414e3e70623aca90dd41c0111bf67.jpg","text":"TemporaryFile(/tmp/multipartBody4928371038749579402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_15_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a8c059bde1a3ceb170b887d424ddcbe.jpg","text":"TemporaryFile(/tmp/multipartBody5053176302405276935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_50_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0ed7bed368e318ab88e38dfc1a10a03.jpg","text":"TemporaryFile(/tmp/multipartBody433030466029191808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_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/7/15/2f61459146c012ebb6cc8c7f97cca798.jpg","text":"TemporaryFile(/tmp/multipartBody9170380132926762376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_20_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8715a168409cb1b652b8da7b4fce8657.jpg","text":"TemporaryFile(/tmp/multipartBody6597890481364510858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_06_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22c18df2463e059644f0cff8fca6add7.jpg","text":"TemporaryFile(/tmp/multipartBody1141933869758390408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564203254,"filename":"image_15072025_07_44_24_3845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372158918","file1":"1372158886","file0":"1372158881","file4":"1372159008","file5":"1372159056","file3":"1372158965"},"map_files_photo_id_array":[{"photo_id":"1372159056","filename":"file5"},{"photo_id":"1372158918","filename":"file2"},{"photo_id":"1372159008","filename":"file4"},{"photo_id":"1372158886","filename":"file1"},{"photo_id":"1372158881","filename":"file0"},{"photo_id":"1372158965","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372158886":["hashtag1","hashtag2"]},{"1372159056":["hashtag1","hashtag2"]},{"1372159008":["hashtag1","hashtag2"]},{"1372158918":["hashtag1","hashtag2"]},{"1372158881":["hashtag1","hashtag2"]},{"1372158965":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372158886, 1372159056, 1372159008, 1372158918, 1372158881, 1372158965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.168705463409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:23:22.700907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_56_2685.jpg', '/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_14_2640.jpg', '/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_17_2760.jpg', '/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_21_3622.jpg', '/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_44_3658.jpg', '/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_47_2640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/44/image_15072025_07_44_56_2685.jpg
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_14_2640.jpg
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_17_2760.jpg
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_21_3622.jpg
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_44_3658.jpg
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_47_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372159210","1372159548","1372159377","1372159290","1372159467","1372159632"],"photo_ids_order":["1372159210","1372159290","1372159377","1372159467","1372159548","1372159632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e1cce36b486f04407148941126dc7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7634532836576891728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_44_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/7/15/854b9b62745f2a06905565c5a31dde74.jpg","text":"TemporaryFile(/tmp/multipartBody7920360174476233904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_45_44_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/049d9a6cf61df659729d861be23be725.jpg","text":"TemporaryFile(/tmp/multipartBody3590341690299624714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_45_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f1b8a451600cbd3afdd5d059efb00836.jpg","text":"TemporaryFile(/tmp/multipartBody7431936001253848872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_45_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/7/15/3ea3776c5f749daf135acc2024a763ec.jpg","text":"TemporaryFile(/tmp/multipartBody7222579944392152019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_45_21_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/713f13b8502e786c3b7b98911c853076.jpg","text":"TemporaryFile(/tmp/multipartBody7662327659030727057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564263818,"filename":"image_15072025_07_45_47_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372159377","file1":"1372159290","file0":"1372159210","file4":"1372159548","file5":"1372159632","file3":"1372159467"},"map_files_photo_id_array":[{"photo_id":"1372159632","filename":"file5"},{"photo_id":"1372159377","filename":"file2"},{"photo_id":"1372159548","filename":"file4"},{"photo_id":"1372159290","filename":"file1"},{"photo_id":"1372159210","filename":"file0"},{"photo_id":"1372159467","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372159210":["hashtag1","hashtag2"]},{"1372159548":["hashtag1","hashtag2"]},{"1372159377":["hashtag1","hashtag2"]},{"1372159290":["hashtag1","hashtag2"]},{"1372159467":["hashtag1","hashtag2"]},{"1372159632":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372159210, 1372159548, 1372159377, 1372159290, 1372159467, 1372159632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.03194832801819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:24:22.690110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_53_3566.jpg', '/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_02_3650.jpg', '/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_35_2640.jpg', '/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_41_2574.jpg', '/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_44_2643.jpg', '/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_48_3749.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/45/image_15072025_07_45_53_3566.jpg
/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_02_3650.jpg
/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_35_2640.jpg
/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_41_2574.jpg
/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_44_2643.jpg
/home/pi/Desktop/images/15072025/07/46/image_15072025_07_46_48_3749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372160185","1372160371","1372160094","1372160279","1372160010","1372159915"],"photo_ids_order":["1372159915","1372160010","1372160094","1372160185","1372160279","1372160371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45bd336398ddc8f1fb19b1f84e7771eb.jpg","text":"TemporaryFile(/tmp/multipartBody4908369457766481647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_46_41_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e55338c01f6c62e254a5c8389501d46.jpg","text":"TemporaryFile(/tmp/multipartBody5484733536270614139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_46_48_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8748fb685ec294b3c1386d6e22baf9d.jpg","text":"TemporaryFile(/tmp/multipartBody5198856822779766440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_46_35_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc7dbc4b79d1a4bda812500e59985cef.jpg","text":"TemporaryFile(/tmp/multipartBody5907412595962154463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_46_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9fc89fe1513975ff0c245c6b849752e.jpg","text":"TemporaryFile(/tmp/multipartBody6131857016079425697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_46_02_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05bf993e4ddd163e01649e11c307bea0.jpg","text":"TemporaryFile(/tmp/multipartBody4068317113755947344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564323811,"filename":"image_15072025_07_45_53_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372160094","file1":"1372160010","file0":"1372159915","file4":"1372160279","file5":"1372160371","file3":"1372160185"},"map_files_photo_id_array":[{"photo_id":"1372160371","filename":"file5"},{"photo_id":"1372160094","filename":"file2"},{"photo_id":"1372160279","filename":"file4"},{"photo_id":"1372160010","filename":"file1"},{"photo_id":"1372159915","filename":"file0"},{"photo_id":"1372160185","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372160185":["hashtag1","hashtag2"]},{"1372160371":["hashtag1","hashtag2"]},{"1372160094":["hashtag1","hashtag2"]},{"1372160279":["hashtag1","hashtag2"]},{"1372160010":["hashtag1","hashtag2"]},{"1372159915":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372160185, 1372160371, 1372160094, 1372160279, 1372160010, 1372159915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38741374015808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:25:22.564449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_02_3748.jpg', '/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_26_2738.jpg', '/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_41_2660.jpg', '/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_44_2782.jpg', '/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_05_2613.jpg', '/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_13_2692.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_02_3748.jpg
/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_26_2738.jpg
/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_41_2660.jpg
/home/pi/Desktop/images/15072025/07/47/image_15072025_07_47_44_2782.jpg
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_05_2613.jpg
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_13_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372160722","1372160877","1372160790","1372160903","1372160831","1372160636"],"photo_ids_order":["1372160636","1372160722","1372160790","1372160831","1372160877","1372160903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6a5e0b37a460fb515936887c255d10c.jpg","text":"TemporaryFile(/tmp/multipartBody3551925319572092416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_47_26_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e83f0df15c2d66d808f18c8aff815ed.jpg","text":"TemporaryFile(/tmp/multipartBody7952001808203320633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_48_05_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9f93e4c00031a3012c2d993715263373.jpg","text":"TemporaryFile(/tmp/multipartBody1347317005581230868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_47_41_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a2e50bfe023d30ad0dc383631ed0e08.jpg","text":"TemporaryFile(/tmp/multipartBody554030942635030436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_48_13_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae2a7ed1ac335c9c302eaf8701e84094.jpg","text":"TemporaryFile(/tmp/multipartBody1172343053126100090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_47_44_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9967ace8d72932a9c75d50d579b1eee4.jpg","text":"TemporaryFile(/tmp/multipartBody5348472485892570909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564383698,"filename":"image_15072025_07_47_02_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372160790","file1":"1372160722","file0":"1372160636","file4":"1372160877","file5":"1372160903","file3":"1372160831"},"map_files_photo_id_array":[{"photo_id":"1372160903","filename":"file5"},{"photo_id":"1372160790","filename":"file2"},{"photo_id":"1372160877","filename":"file4"},{"photo_id":"1372160722","filename":"file1"},{"photo_id":"1372160636","filename":"file0"},{"photo_id":"1372160831","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372160722":["hashtag1","hashtag2"]},{"1372160877":["hashtag1","hashtag2"]},{"1372160790":["hashtag1","hashtag2"]},{"1372160903":["hashtag1","hashtag2"]},{"1372160831":["hashtag1","hashtag2"]},{"1372160636":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372160722, 1372160877, 1372160790, 1372160903, 1372160831, 1372160636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.419586181640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:26:22.652676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_20_2657.jpg', '/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_26_3511.jpg', '/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_29_2916.jpg', '/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_52_2624.jpg', '/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_35_3637.jpg', '/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_41_3679.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_20_2657.jpg
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_26_3511.jpg
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_29_2916.jpg
/home/pi/Desktop/images/15072025/07/48/image_15072025_07_48_52_2624.jpg
/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_35_3637.jpg
/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_41_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":["1372160929","1372160919","1372160922","1372160930","1372160927","1372160915"],"photo_ids_order":["1372160915","1372160919","1372160922","1372160927","1372160929","1372160930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ce518a90d3ca1e3e9cba830e6bc6c67.jpg","text":"TemporaryFile(/tmp/multipartBody2195852218500550833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_49_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/7/15/36c03448a9a2b29d57c1c4f4b9c1e539.jpg","text":"TemporaryFile(/tmp/multipartBody8152346057337023310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_48_26_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22ef9a3f4866b11ceecf19061ca2e27c.jpg","text":"TemporaryFile(/tmp/multipartBody8457283085276900966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_48_29_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a5c09c12d37fb984f5373472a189b192.jpg","text":"TemporaryFile(/tmp/multipartBody736584365334943124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_49_41_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbe2e491d014460d8ded1b5d2d509e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2577754898182185926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_48_52_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/169183681ca3d5093c24a24162825a59.jpg","text":"TemporaryFile(/tmp/multipartBody6726996046579508827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564443782,"filename":"image_15072025_07_48_20_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372160922","file1":"1372160919","file0":"1372160915","file4":"1372160929","file5":"1372160930","file3":"1372160927"},"map_files_photo_id_array":[{"photo_id":"1372160930","filename":"file5"},{"photo_id":"1372160922","filename":"file2"},{"photo_id":"1372160929","filename":"file4"},{"photo_id":"1372160919","filename":"file1"},{"photo_id":"1372160915","filename":"file0"},{"photo_id":"1372160927","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372160929":["hashtag1","hashtag2"]},{"1372160919":["hashtag1","hashtag2"]},{"1372160922":["hashtag1","hashtag2"]},{"1372160930":["hashtag1","hashtag2"]},{"1372160927":["hashtag1","hashtag2"]},{"1372160915":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372160929, 1372160919, 1372160922, 1372160930, 1372160927, 1372160915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.17162489891052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:27:22.275261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_56_2712.jpg', '/home/pi/Desktop/images/15072025/07/50/image_15072025_07_50_52_2633.jpg', '/home/pi/Desktop/images/15072025/07/50/image_15072025_07_50_56_3685.jpg', '/home/pi/Desktop/images/15072025/07/52/image_15072025_07_52_35_3580.jpg', '/home/pi/Desktop/images/15072025/07/52/image_15072025_07_52_53_2677.jpg', '/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_31_2543.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/49/image_15072025_07_49_56_2712.jpg
/home/pi/Desktop/images/15072025/07/50/image_15072025_07_50_52_2633.jpg
/home/pi/Desktop/images/15072025/07/50/image_15072025_07_50_56_3685.jpg
/home/pi/Desktop/images/15072025/07/52/image_15072025_07_52_35_3580.jpg
/home/pi/Desktop/images/15072025/07/52/image_15072025_07_52_53_2677.jpg
/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_31_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":["1372160958","1372160952","1372160960","1372160948","1372160942","1372160962"],"photo_ids_order":["1372160942","1372160948","1372160952","1372160958","1372160960","1372160962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c754864734e32aae4b80d0da5a8be1db.jpg","text":"TemporaryFile(/tmp/multipartBody2471741680986212895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_52_35_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de47bf11ed1fcd119f2db15da2dfe58c.jpg","text":"TemporaryFile(/tmp/multipartBody3776476182322485647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_50_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/7/15/f645dfbc7d1aba3147248bed95e1ee93.jpg","text":"TemporaryFile(/tmp/multipartBody4448377550763775742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_52_53_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f90be471f554fc905c11b9778996507b.jpg","text":"TemporaryFile(/tmp/multipartBody7453595988527001597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_50_52_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/212f9f782b657f9160c497c4aa92a25c.jpg","text":"TemporaryFile(/tmp/multipartBody2234434308605251148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_49_56_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/109613fe2e81a32839bb74d94d8497e7.jpg","text":"TemporaryFile(/tmp/multipartBody5552685817539196019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564503414,"filename":"image_15072025_07_53_31_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372160952","file1":"1372160948","file0":"1372160942","file4":"1372160960","file5":"1372160962","file3":"1372160958"},"map_files_photo_id_array":[{"photo_id":"1372160962","filename":"file5"},{"photo_id":"1372160952","filename":"file2"},{"photo_id":"1372160960","filename":"file4"},{"photo_id":"1372160948","filename":"file1"},{"photo_id":"1372160942","filename":"file0"},{"photo_id":"1372160958","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372160958":["hashtag1","hashtag2"]},{"1372160952":["hashtag1","hashtag2"]},{"1372160960":["hashtag1","hashtag2"]},{"1372160948":["hashtag1","hashtag2"]},{"1372160942":["hashtag1","hashtag2"]},{"1372160962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372160958, 1372160952, 1372160960, 1372160948, 1372160942, 1372160962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.399938106536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:28:22.438007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_38_3655.jpg', '/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_40_2647.jpg', '/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_52_2696.jpg', '/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_59_3561.jpg', '/home/pi/Desktop/images/15072025/07/54/image_15072025_07_54_25_2769.jpg', '/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_01_2604.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_38_3655.jpg
/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_40_2647.jpg
/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_52_2696.jpg
/home/pi/Desktop/images/15072025/07/53/image_15072025_07_53_59_3561.jpg
/home/pi/Desktop/images/15072025/07/54/image_15072025_07_54_25_2769.jpg
/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_01_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372161133","1372160974","1372161087","1372161042","1372161175","1372160998"],"photo_ids_order":["1372160974","1372160998","1372161042","1372161087","1372161133","1372161175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5a09470c7eafa6b601023402e93f734.jpg","text":"TemporaryFile(/tmp/multipartBody6350132942774514847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_54_25_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/332e0843a30c9c21bfc3c9942599c500.jpg","text":"TemporaryFile(/tmp/multipartBody1789353281076685478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_53_38_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c01e4a2ae85a26124ceb00e56cb7a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4040923985250189950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_53_59_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2c2504387286e8d2cde2251085fd2df6.jpg","text":"TemporaryFile(/tmp/multipartBody8907107827709126879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_53_52_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47b6f91540cf2effd1a351c9992b013a.jpg","text":"TemporaryFile(/tmp/multipartBody2285627182575358640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_55_01_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cca4207b27a5fc2bbf4e1c92df7348ae.jpg","text":"TemporaryFile(/tmp/multipartBody530891383345484775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564563568,"filename":"image_15072025_07_53_40_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372161042","file1":"1372160998","file0":"1372160974","file4":"1372161133","file5":"1372161175","file3":"1372161087"},"map_files_photo_id_array":[{"photo_id":"1372161175","filename":"file5"},{"photo_id":"1372161042","filename":"file2"},{"photo_id":"1372161133","filename":"file4"},{"photo_id":"1372160998","filename":"file1"},{"photo_id":"1372160974","filename":"file0"},{"photo_id":"1372161087","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372161133":["hashtag1","hashtag2"]},{"1372160974":["hashtag1","hashtag2"]},{"1372161087":["hashtag1","hashtag2"]},{"1372161042":["hashtag1","hashtag2"]},{"1372161175":["hashtag1","hashtag2"]},{"1372160998":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372161133, 1372160974, 1372161087, 1372161042, 1372161175, 1372160998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.41438388824463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:29:21.998948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_16_2574.jpg', '/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_19_2787.jpg', '/home/pi/Desktop/images/15072025/07/56/image_15072025_07_56_25_2599.jpg', '/home/pi/Desktop/images/15072025/07/57/image_15072025_07_57_58_2498.jpg', '/home/pi/Desktop/images/15072025/08/02/image_15072025_08_02_22_1687.jpg', '/home/pi/Desktop/images/15072025/08/02/image_15072025_08_02_58_2631.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_16_2574.jpg
/home/pi/Desktop/images/15072025/07/55/image_15072025_07_55_19_2787.jpg
/home/pi/Desktop/images/15072025/07/56/image_15072025_07_56_25_2599.jpg
/home/pi/Desktop/images/15072025/07/57/image_15072025_07_57_58_2498.jpg
/home/pi/Desktop/images/15072025/08/02/image_15072025_08_02_22_1687.jpg
/home/pi/Desktop/images/15072025/08/02/image_15072025_08_02_58_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372161304","1372161399","1372161285","1372161278","1372161350","1372161436"],"photo_ids_order":["1372161278","1372161285","1372161304","1372161350","1372161399","1372161436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbd4afce7327eff79622c1a298257482.jpg","text":"TemporaryFile(/tmp/multipartBody6223966566843513437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_07_56_25_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/63b8540eafe58871c793d11e2a3a0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5188814378088293125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_08_02_22_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a4eb6bafcc72db3f6e9732064f28e62.jpg","text":"TemporaryFile(/tmp/multipartBody547644555233699584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_07_55_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/7/15/5f6a9f931bd583553b94a261aa5baf0c.jpg","text":"TemporaryFile(/tmp/multipartBody4252781364292106090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_07_55_16_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7fd086f27ecdd6b7bc7e34e5004b938e.jpg","text":"TemporaryFile(/tmp/multipartBody2526073127005712092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_07_57_58_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd85756074cf74afca17f905acd454cb.jpg","text":"TemporaryFile(/tmp/multipartBody1928500136265284004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564623121,"filename":"image_15072025_08_02_58_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372161304","file1":"1372161285","file0":"1372161278","file4":"1372161399","file5":"1372161436","file3":"1372161350"},"map_files_photo_id_array":[{"photo_id":"1372161436","filename":"file5"},{"photo_id":"1372161304","filename":"file2"},{"photo_id":"1372161399","filename":"file4"},{"photo_id":"1372161285","filename":"file1"},{"photo_id":"1372161278","filename":"file0"},{"photo_id":"1372161350","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372161304":["hashtag1","hashtag2"]},{"1372161399":["hashtag1","hashtag2"]},{"1372161285":["hashtag1","hashtag2"]},{"1372161278":["hashtag1","hashtag2"]},{"1372161350":["hashtag1","hashtag2"]},{"1372161436":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372161304, 1372161399, 1372161285, 1372161278, 1372161350, 1372161436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.59347653388977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:30:22.572100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/03/image_15072025_08_03_52_2821.jpg', '/home/pi/Desktop/images/15072025/08/06/image_15072025_08_06_23_2653.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_17_3611.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_26_3546.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_31_2600.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_35_3600.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/03/image_15072025_08_03_52_2821.jpg
/home/pi/Desktop/images/15072025/08/06/image_15072025_08_06_23_2653.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_17_3611.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_26_3546.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_31_2600.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_35_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":["1372161631","1372161657","1372161666","1372161584","1372161676","1372161670"],"photo_ids_order":["1372161584","1372161631","1372161657","1372161666","1372161670","1372161676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ac7df1ad9d58918875440c5036f41b3.jpg","text":"TemporaryFile(/tmp/multipartBody205243480695216198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_06_23_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e935c2070a27df9166c43c287a33322.jpg","text":"TemporaryFile(/tmp/multipartBody2392160938065623209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_09_17_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62d1892f360c7f4e6679aadce1a04f39.jpg","text":"TemporaryFile(/tmp/multipartBody8321793040383975460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_09_26_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa472d2980feb27eb86972b760a732ea.jpg","text":"TemporaryFile(/tmp/multipartBody4609685189254858958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_03_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/7/15/9c6e29214cf2fbe990acb8933c4bfae8.jpg","text":"TemporaryFile(/tmp/multipartBody137746809841923047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_09_35_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe59811041dc0b4c61912c335dab0165.jpg","text":"TemporaryFile(/tmp/multipartBody5943570395136357881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564683700,"filename":"image_15072025_08_09_31_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372161657","file1":"1372161631","file0":"1372161584","file4":"1372161670","file5":"1372161676","file3":"1372161666"},"map_files_photo_id_array":[{"photo_id":"1372161676","filename":"file5"},{"photo_id":"1372161657","filename":"file2"},{"photo_id":"1372161670","filename":"file4"},{"photo_id":"1372161631","filename":"file1"},{"photo_id":"1372161584","filename":"file0"},{"photo_id":"1372161666","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372161631":["hashtag1","hashtag2"]},{"1372161657":["hashtag1","hashtag2"]},{"1372161666":["hashtag1","hashtag2"]},{"1372161584":["hashtag1","hashtag2"]},{"1372161676":["hashtag1","hashtag2"]},{"1372161670":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372161631, 1372161657, 1372161666, 1372161584, 1372161676, 1372161670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.7359037399292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:31:21.853809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_37_2655.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_40_2579.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_44_3612.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_49_2673.jpg', '/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_58_2846.jpg', '/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_01_2738.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_37_2655.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_40_2579.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_44_3612.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_49_2673.jpg
/home/pi/Desktop/images/15072025/08/09/image_15072025_08_09_58_2846.jpg
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_01_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372161835","1372161693","1372161696","1372161747","1372161689","1372161925"],"photo_ids_order":["1372161689","1372161693","1372161696","1372161747","1372161835","1372161925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf2700ed35942e63fe9eb20b166774e3.jpg","text":"TemporaryFile(/tmp/multipartBody2257706759958283813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_09_58_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2eab308ee980d395b84ac5ceb8d944a4.jpg","text":"TemporaryFile(/tmp/multipartBody8952254820270138932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_09_40_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c36ed54fe959d9e6331744b8c9dcc846.jpg","text":"TemporaryFile(/tmp/multipartBody568725216904087474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_09_44_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bb8bd4b0b1b83be4819bc48746ba132.jpg","text":"TemporaryFile(/tmp/multipartBody7977434007383828177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_09_49_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3b798f0547393b61ed12441fccea4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4229561554426123661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_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/7/15/4f5a07173acabf86a019e9d681e7d9a9.jpg","text":"TemporaryFile(/tmp/multipartBody7669100584729288365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564742979,"filename":"image_15072025_08_10_01_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372161696","file1":"1372161693","file0":"1372161689","file4":"1372161835","file5":"1372161925","file3":"1372161747"},"map_files_photo_id_array":[{"photo_id":"1372161925","filename":"file5"},{"photo_id":"1372161696","filename":"file2"},{"photo_id":"1372161835","filename":"file4"},{"photo_id":"1372161693","filename":"file1"},{"photo_id":"1372161689","filename":"file0"},{"photo_id":"1372161747","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372161835":["hashtag1","hashtag2"]},{"1372161693":["hashtag1","hashtag2"]},{"1372161696":["hashtag1","hashtag2"]},{"1372161747":["hashtag1","hashtag2"]},{"1372161689":["hashtag1","hashtag2"]},{"1372161925":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372161835, 1372161693, 1372161696, 1372161747, 1372161689, 1372161925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.89524865150452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:32:22.250905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_04_3106.jpg', '/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_11_3700.jpg', '/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_25_2626.jpg', '/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_55_3673.jpg', '/home/pi/Desktop/images/15072025/08/10/image_15072025_08_11_01_3537.jpg', '/home/pi/Desktop/images/15072025/08/11/image_15072025_08_11_04_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_04_3106.jpg
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_11_3700.jpg
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_25_2626.jpg
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_10_55_3673.jpg
/home/pi/Desktop/images/15072025/08/10/image_15072025_08_11_01_3537.jpg
/home/pi/Desktop/images/15072025/08/11/image_15072025_08_11_04_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162053","1372162047","1372162038","1372162049","1372162042","1372162033"],"photo_ids_order":["1372162033","1372162038","1372162042","1372162047","1372162049","1372162053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db011b1fd5cd68fb9da87b0f5cdf5321.jpg","text":"TemporaryFile(/tmp/multipartBody1873012191497901029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_11_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/7/15/3fedc4afe42f99bb0a8d58315a64cb79.jpg","text":"TemporaryFile(/tmp/multipartBody6202868585962795483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_10_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/7/15/8071f2cfb13f10b7e9414194a16e009e.jpg","text":"TemporaryFile(/tmp/multipartBody6658909731799432164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_10_11_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/826918f7666ae45a775f399ebc3bdb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4665367324900043857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_11_01_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aa27e4d2f6c9bdfef6d12f031e2deeac.jpg","text":"TemporaryFile(/tmp/multipartBody4034491229085668176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_10_25_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/15cbb9302eb0af3f167911ff9cdca356.jpg","text":"TemporaryFile(/tmp/multipartBody6504421408323220066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564803380,"filename":"image_15072025_08_10_04_3106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162042","file1":"1372162038","file0":"1372162033","file4":"1372162049","file5":"1372162053","file3":"1372162047"},"map_files_photo_id_array":[{"photo_id":"1372162053","filename":"file5"},{"photo_id":"1372162042","filename":"file2"},{"photo_id":"1372162049","filename":"file4"},{"photo_id":"1372162038","filename":"file1"},{"photo_id":"1372162033","filename":"file0"},{"photo_id":"1372162047","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162053":["hashtag1","hashtag2"]},{"1372162047":["hashtag1","hashtag2"]},{"1372162038":["hashtag1","hashtag2"]},{"1372162049":["hashtag1","hashtag2"]},{"1372162042":["hashtag1","hashtag2"]},{"1372162033":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162053, 1372162047, 1372162038, 1372162049, 1372162042, 1372162033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.548935651779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:33:21.894717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/11/image_15072025_08_11_43_3641.jpg', '/home/pi/Desktop/images/15072025/08/13/image_15072025_08_13_22_2649.jpg', '/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_15_2701.jpg', '/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_31_2659.jpg', '/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_49_2796.jpg', '/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_51_2825.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/11/image_15072025_08_11_43_3641.jpg
/home/pi/Desktop/images/15072025/08/13/image_15072025_08_13_22_2649.jpg
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_15_2701.jpg
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_31_2659.jpg
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_49_2796.jpg
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_51_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162074","1372162062","1372162082","1372162085","1372162070","1372162078"],"photo_ids_order":["1372162062","1372162070","1372162074","1372162078","1372162082","1372162085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/200b38c564af13f5f2999ec675240090.jpg","text":"TemporaryFile(/tmp/multipartBody152005255716891285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_15_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/7/15/624b667f4362bb77ac3f1db5b47837a9.jpg","text":"TemporaryFile(/tmp/multipartBody1603148092159875275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_11_43_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2e57ae4eb659b86610d3522fac92e93.jpg","text":"TemporaryFile(/tmp/multipartBody5710667019253894843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_15_49_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a130fd9eaac6748eca7bded60c4f8baa.jpg","text":"TemporaryFile(/tmp/multipartBody7527463845262430641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_15_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/7/15/ffa271d9214f4104e604ec796fdfeb0f.jpg","text":"TemporaryFile(/tmp/multipartBody937267846863178562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_13_22_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed7e59813a3fc52e4850b874f6d340d3.jpg","text":"TemporaryFile(/tmp/multipartBody3831025751136489139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564863020,"filename":"image_15072025_08_15_31_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162074","file1":"1372162070","file0":"1372162062","file4":"1372162082","file5":"1372162085","file3":"1372162078"},"map_files_photo_id_array":[{"photo_id":"1372162085","filename":"file5"},{"photo_id":"1372162074","filename":"file2"},{"photo_id":"1372162082","filename":"file4"},{"photo_id":"1372162070","filename":"file1"},{"photo_id":"1372162062","filename":"file0"},{"photo_id":"1372162078","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162074":["hashtag1","hashtag2"]},{"1372162062":["hashtag1","hashtag2"]},{"1372162082":["hashtag1","hashtag2"]},{"1372162085":["hashtag1","hashtag2"]},{"1372162070":["hashtag1","hashtag2"]},{"1372162078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162074, 1372162062, 1372162082, 1372162085, 1372162070, 1372162078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.72735834121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:34:21.993488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_54_2618.jpg', '/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_57_3056.jpg', '/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_09_2680.jpg', '/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_18_2634.jpg', '/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_27_2609.jpg', '/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_55_2790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_54_2618.jpg
/home/pi/Desktop/images/15072025/08/15/image_15072025_08_15_57_3056.jpg
/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_09_2680.jpg
/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_18_2634.jpg
/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_27_2609.jpg
/home/pi/Desktop/images/15072025/08/16/image_15072025_08_16_55_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162154","1372162198","1372162100","1372162103","1372162095","1372162108"],"photo_ids_order":["1372162095","1372162100","1372162103","1372162108","1372162154","1372162198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1524e943bb1ef3d1e52dd2abdb5144f7.jpg","text":"TemporaryFile(/tmp/multipartBody5696546273877191639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_16_27_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2df34c55fa874b2632c765e22aa286ee.jpg","text":"TemporaryFile(/tmp/multipartBody2436443872834975434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_16_55_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3501f1ac034053841eaf209687e69eda.jpg","text":"TemporaryFile(/tmp/multipartBody6150514362071482266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_15_57_3056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb772dfb62501633e3e31d28b46a6b8b.jpg","text":"TemporaryFile(/tmp/multipartBody9151234065007516969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_16_09_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1834f4ed7a0d3fac722e1647591b7294.jpg","text":"TemporaryFile(/tmp/multipartBody8042045135457658224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_15_54_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1000a99fa7c7dda2c66fcefb8f7caa4.jpg","text":"TemporaryFile(/tmp/multipartBody9140746994453743093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564923103,"filename":"image_15072025_08_16_18_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162103","file1":"1372162100","file0":"1372162095","file4":"1372162154","file5":"1372162198","file3":"1372162108"},"map_files_photo_id_array":[{"photo_id":"1372162198","filename":"file5"},{"photo_id":"1372162103","filename":"file2"},{"photo_id":"1372162154","filename":"file4"},{"photo_id":"1372162100","filename":"file1"},{"photo_id":"1372162095","filename":"file0"},{"photo_id":"1372162108","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162154":["hashtag1","hashtag2"]},{"1372162198":["hashtag1","hashtag2"]},{"1372162100":["hashtag1","hashtag2"]},{"1372162103":["hashtag1","hashtag2"]},{"1372162095":["hashtag1","hashtag2"]},{"1372162108":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162154, 1372162198, 1372162100, 1372162103, 1372162095, 1372162108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.34248924255371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:35:22.049903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/17/image_15072025_08_17_39_2666.jpg', '/home/pi/Desktop/images/15072025/08/17/image_15072025_08_17_54_2709.jpg', '/home/pi/Desktop/images/15072025/08/17/image_15072025_08_18_00_2683.jpg', '/home/pi/Desktop/images/15072025/08/18/image_15072025_08_18_16_3760.jpg', '/home/pi/Desktop/images/15072025/08/18/image_15072025_08_18_34_3642.jpg', '/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_18_2658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/17/image_15072025_08_17_39_2666.jpg
/home/pi/Desktop/images/15072025/08/17/image_15072025_08_17_54_2709.jpg
/home/pi/Desktop/images/15072025/08/17/image_15072025_08_18_00_2683.jpg
/home/pi/Desktop/images/15072025/08/18/image_15072025_08_18_16_3760.jpg
/home/pi/Desktop/images/15072025/08/18/image_15072025_08_18_34_3642.jpg
/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_18_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":["1372162592","1372162643","1372162544","1372162399","1372162690","1372162494"],"photo_ids_order":["1372162399","1372162494","1372162544","1372162592","1372162643","1372162690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/44a05651c675ae351a07afb0d503af35.jpg","text":"TemporaryFile(/tmp/multipartBody5421451217016172546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_18_16_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/16141b3a5402bd1f793100364c21d114.jpg","text":"TemporaryFile(/tmp/multipartBody8682907605100444672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_18_34_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/684877c2a61c8a0fd0446b9031052d78.jpg","text":"TemporaryFile(/tmp/multipartBody1315432615486223810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_18_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/7/15/31f76fdaf362dd7926011d5181b25c4a.jpg","text":"TemporaryFile(/tmp/multipartBody7300708296003212020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_17_39_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86a9b2c910576c3adbe7256cf65a65a6.jpg","text":"TemporaryFile(/tmp/multipartBody4650699938214041140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_19_18_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dfd63c716c95131f0cf08d7050830c34.jpg","text":"TemporaryFile(/tmp/multipartBody700433460101550694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752564983160,"filename":"image_15072025_08_17_54_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162544","file1":"1372162494","file0":"1372162399","file4":"1372162643","file5":"1372162690","file3":"1372162592"},"map_files_photo_id_array":[{"photo_id":"1372162690","filename":"file5"},{"photo_id":"1372162544","filename":"file2"},{"photo_id":"1372162643","filename":"file4"},{"photo_id":"1372162494","filename":"file1"},{"photo_id":"1372162399","filename":"file0"},{"photo_id":"1372162592","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162592":["hashtag1","hashtag2"]},{"1372162643":["hashtag1","hashtag2"]},{"1372162544":["hashtag1","hashtag2"]},{"1372162399":["hashtag1","hashtag2"]},{"1372162690":["hashtag1","hashtag2"]},{"1372162494":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162592, 1372162643, 1372162544, 1372162399, 1372162690, 1372162494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.93468189239502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:36:22.146302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_36_2708.jpg', '/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_57_2788.jpg', '/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_12_2761.jpg', '/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_18_2742.jpg', '/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_30_2534.jpg', '/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_18_2671.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_36_2708.jpg
/home/pi/Desktop/images/15072025/08/19/image_15072025_08_19_57_2788.jpg
/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_12_2761.jpg
/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_18_2742.jpg
/home/pi/Desktop/images/15072025/08/20/image_15072025_08_20_30_2534.jpg
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_18_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":["1372162722","1372162710","1372162704","1372162715","1372162724","1372162720"],"photo_ids_order":["1372162704","1372162710","1372162715","1372162720","1372162722","1372162724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a03c04db31bfa8bd5a6fbe44dcc8785.jpg","text":"TemporaryFile(/tmp/multipartBody6115433729339406455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_20_30_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/120362ab6b9fedc81b50e239b53865ae.jpg","text":"TemporaryFile(/tmp/multipartBody5536342522539506762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_19_57_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89af1972f03f15932d4404eed9d44cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8814824710685923250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_19_36_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55b01cef1e11e520b7df8b488a0bfbd6.jpg","text":"TemporaryFile(/tmp/multipartBody8002405127704756959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_20_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/7/15/5d8696ba7bbccf9e3b4cfa82229a17fe.jpg","text":"TemporaryFile(/tmp/multipartBody611891232592496022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_21_18_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88b7e24edb845adbe40b8bc5c10dc1f7.jpg","text":"TemporaryFile(/tmp/multipartBody8108598447566570640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565043271,"filename":"image_15072025_08_20_18_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162715","file1":"1372162710","file0":"1372162704","file4":"1372162722","file5":"1372162724","file3":"1372162720"},"map_files_photo_id_array":[{"photo_id":"1372162724","filename":"file5"},{"photo_id":"1372162715","filename":"file2"},{"photo_id":"1372162722","filename":"file4"},{"photo_id":"1372162710","filename":"file1"},{"photo_id":"1372162704","filename":"file0"},{"photo_id":"1372162720","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162722":["hashtag1","hashtag2"]},{"1372162710":["hashtag1","hashtag2"]},{"1372162704":["hashtag1","hashtag2"]},{"1372162715":["hashtag1","hashtag2"]},{"1372162724":["hashtag1","hashtag2"]},{"1372162720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162722, 1372162710, 1372162704, 1372162715, 1372162724, 1372162720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44175887107849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:37:22.768958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_21_2656.jpg', '/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_24_3594.jpg', '/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_45_2665.jpg', '/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_54_2644.jpg', '/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_57_2880.jpg', '/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_03_2687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_21_2656.jpg
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_24_3594.jpg
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_45_2665.jpg
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_54_2644.jpg
/home/pi/Desktop/images/15072025/08/21/image_15072025_08_21_57_2880.jpg
/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_03_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162737","1372162745","1372162748","1372162741","1372162750","1372162732"],"photo_ids_order":["1372162732","1372162737","1372162741","1372162745","1372162748","1372162750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/177b7580cd5049ad050eb685a9506cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5941465961999880749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_21_24_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff756af22c081e600f447829538c826c.jpg","text":"TemporaryFile(/tmp/multipartBody2137429800153753496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_21_54_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d4020a674f8e5c06e9afc2e67e95fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3058225573270136110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_21_57_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fee97ea3f1b3cdf1585b41fce1cb493.jpg","text":"TemporaryFile(/tmp/multipartBody946211446510709634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_21_45_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/063f5cc6da53163bd6e212f7f90eca69.jpg","text":"TemporaryFile(/tmp/multipartBody8922923662374435205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_22_03_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/586e67a8e49c8ba0cd1cb59f600263f3.jpg","text":"TemporaryFile(/tmp/multipartBody7845963114721297228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565103887,"filename":"image_15072025_08_21_21_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162741","file1":"1372162737","file0":"1372162732","file4":"1372162748","file5":"1372162750","file3":"1372162745"},"map_files_photo_id_array":[{"photo_id":"1372162750","filename":"file5"},{"photo_id":"1372162741","filename":"file2"},{"photo_id":"1372162748","filename":"file4"},{"photo_id":"1372162737","filename":"file1"},{"photo_id":"1372162732","filename":"file0"},{"photo_id":"1372162745","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162737":["hashtag1","hashtag2"]},{"1372162745":["hashtag1","hashtag2"]},{"1372162748":["hashtag1","hashtag2"]},{"1372162741":["hashtag1","hashtag2"]},{"1372162750":["hashtag1","hashtag2"]},{"1372162732":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162737, 1372162745, 1372162748, 1372162741, 1372162750, 1372162732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.137587547302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:38:21.963108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_21_2787.jpg', '/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_54_2656.jpg', '/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_06_2671.jpg', '/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_09_3611.jpg', '/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_39_3798.jpg', '/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_48_3694.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_21_2787.jpg
/home/pi/Desktop/images/15072025/08/22/image_15072025_08_22_54_2656.jpg
/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_06_2671.jpg
/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_09_3611.jpg
/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_39_3798.jpg
/home/pi/Desktop/images/15072025/08/23/image_15072025_08_23_48_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162773","1372162766","1372162760","1372162777","1372162771","1372162764"],"photo_ids_order":["1372162760","1372162764","1372162766","1372162771","1372162773","1372162777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bc98bffbb547d22be9bd7aeeadc16aa.jpg","text":"TemporaryFile(/tmp/multipartBody1270420482108234442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_23_39_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee03d55c0011b754e02beec7240cbbe3.jpg","text":"TemporaryFile(/tmp/multipartBody275844665931890066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_23_06_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f5348d1eb111fb0befb68ccae6f9a991.jpg","text":"TemporaryFile(/tmp/multipartBody4411371234687282170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_22_21_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/28bcadf792d7c9d8405449a7b877bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody7054428676983064753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_23_48_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e5672e3a7366728d5127a14c2c2a33c.jpg","text":"TemporaryFile(/tmp/multipartBody580410042472005587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_23_09_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9ddfe95fbd8b4c3df5d59378db69843f.jpg","text":"TemporaryFile(/tmp/multipartBody7484820161575298537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565163096,"filename":"image_15072025_08_22_54_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162766","file1":"1372162764","file0":"1372162760","file4":"1372162773","file5":"1372162777","file3":"1372162771"},"map_files_photo_id_array":[{"photo_id":"1372162777","filename":"file5"},{"photo_id":"1372162766","filename":"file2"},{"photo_id":"1372162773","filename":"file4"},{"photo_id":"1372162764","filename":"file1"},{"photo_id":"1372162760","filename":"file0"},{"photo_id":"1372162771","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162773":["hashtag1","hashtag2"]},{"1372162766":["hashtag1","hashtag2"]},{"1372162760":["hashtag1","hashtag2"]},{"1372162777":["hashtag1","hashtag2"]},{"1372162771":["hashtag1","hashtag2"]},{"1372162764":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162773, 1372162766, 1372162760, 1372162777, 1372162771, 1372162764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38471817970276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:39:22.662628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_14_2680.jpg', '/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_27_3556.jpg', '/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_33_2632.jpg', '/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_44_2675.jpg', '/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_18_2577.jpg', '/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_47_2707.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_14_2680.jpg
/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_27_3556.jpg
/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_33_2632.jpg
/home/pi/Desktop/images/15072025/08/24/image_15072025_08_24_44_2675.jpg
/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_18_2577.jpg
/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_47_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":["1372162794","1372162788","1372162805","1372162804","1372162797","1372162801"],"photo_ids_order":["1372162788","1372162794","1372162797","1372162801","1372162804","1372162805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd0fbc699e9b748244b3ebe5950c2aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7363081622133774402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_24_27_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86339a97ff975a86f109123b8bfeb4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3068532505079744246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_24_14_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6ec80a6c20add01cb6e0b484e1df0a27.jpg","text":"TemporaryFile(/tmp/multipartBody8198405556148891719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_25_47_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc9a283c7d70f8cb692b97e8b16c835c.jpg","text":"TemporaryFile(/tmp/multipartBody7150857722255756245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_25_18_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2fc11f243b7414bef8b77a4d36d0442f.jpg","text":"TemporaryFile(/tmp/multipartBody8187510106547051358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_24_33_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e0b053d0bb878d9ed0ddd779d80116e.jpg","text":"TemporaryFile(/tmp/multipartBody2969070926318305339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565223790,"filename":"image_15072025_08_24_44_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162797","file1":"1372162794","file0":"1372162788","file4":"1372162804","file5":"1372162805","file3":"1372162801"},"map_files_photo_id_array":[{"photo_id":"1372162805","filename":"file5"},{"photo_id":"1372162797","filename":"file2"},{"photo_id":"1372162804","filename":"file4"},{"photo_id":"1372162794","filename":"file1"},{"photo_id":"1372162788","filename":"file0"},{"photo_id":"1372162801","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162794":["hashtag1","hashtag2"]},{"1372162788":["hashtag1","hashtag2"]},{"1372162805":["hashtag1","hashtag2"]},{"1372162804":["hashtag1","hashtag2"]},{"1372162797":["hashtag1","hashtag2"]},{"1372162801":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162794, 1372162788, 1372162805, 1372162804, 1372162797, 1372162801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.97035002708435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:40:22.349762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_51_3656.jpg', '/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_12_3614.jpg', '/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_15_2749.jpg', '/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_26_2668.jpg', '/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_54_3762.jpg', '/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_35_2667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/25/image_15072025_08_25_51_3656.jpg
/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_12_3614.jpg
/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_15_2749.jpg
/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_26_2668.jpg
/home/pi/Desktop/images/15072025/08/26/image_15072025_08_26_54_3762.jpg
/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_35_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162827","1372162821","1372162830","1372162824","1372162818","1372162814"],"photo_ids_order":["1372162814","1372162818","1372162821","1372162824","1372162827","1372162830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fc90afbd817f61a5dd03d01c0524307.jpg","text":"TemporaryFile(/tmp/multipartBody5596374976023194446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_26_54_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10c990315b4ee8776880e783dcf29f98.jpg","text":"TemporaryFile(/tmp/multipartBody7789225025169827362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_26_15_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e25dccb5a23b0a0224a317e4e5070e12.jpg","text":"TemporaryFile(/tmp/multipartBody230308074242219971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_27_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/7/15/4cf01e2cb0298884935adb5d2bdfb3dd.jpg","text":"TemporaryFile(/tmp/multipartBody7166122769735091533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_26_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/7/15/1b6228a20c2d501e15622c3b6e97f432.jpg","text":"TemporaryFile(/tmp/multipartBody6152144204659314166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_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/7/15/f7e38cce347e3553e78980f7902e2108.jpg","text":"TemporaryFile(/tmp/multipartBody6696391438092164356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565283486,"filename":"image_15072025_08_25_51_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162821","file1":"1372162818","file0":"1372162814","file4":"1372162827","file5":"1372162830","file3":"1372162824"},"map_files_photo_id_array":[{"photo_id":"1372162830","filename":"file5"},{"photo_id":"1372162821","filename":"file2"},{"photo_id":"1372162827","filename":"file4"},{"photo_id":"1372162818","filename":"file1"},{"photo_id":"1372162814","filename":"file0"},{"photo_id":"1372162824","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162827":["hashtag1","hashtag2"]},{"1372162821":["hashtag1","hashtag2"]},{"1372162830":["hashtag1","hashtag2"]},{"1372162824":["hashtag1","hashtag2"]},{"1372162818":["hashtag1","hashtag2"]},{"1372162814":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162827, 1372162821, 1372162830, 1372162824, 1372162818, 1372162814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.25876545906067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:41:22.166366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_47_2693.jpg', '/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_50_2761.jpg', '/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_59_2582.jpg', '/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_23_2608.jpg', '/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_57_3576.jpg', '/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_59_2671.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_47_2693.jpg
/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_50_2761.jpg
/home/pi/Desktop/images/15072025/08/27/image_15072025_08_27_59_2582.jpg
/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_23_2608.jpg
/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_57_3576.jpg
/home/pi/Desktop/images/15072025/08/28/image_15072025_08_28_59_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":["1372162866","1372162845","1372162854","1372162850","1372162858","1372162863"],"photo_ids_order":["1372162845","1372162850","1372162854","1372162858","1372162863","1372162866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45dc76dad1cf14af867d7b822576ad9f.jpg","text":"TemporaryFile(/tmp/multipartBody6789120659643598836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_28_59_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf9c032c21820375530bc48203a04784.jpg","text":"TemporaryFile(/tmp/multipartBody6688798233730994357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_27_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/7/15/11c2476b15012729d4e583e846b863ae.jpg","text":"TemporaryFile(/tmp/multipartBody427143542251687500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_27_59_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0cf3cd3cdfc0d8b52cb27a6ac370f1ae.jpg","text":"TemporaryFile(/tmp/multipartBody1755993954074060944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_27_50_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5dc31abd6474499e4a30f9ac9bb0a69c.jpg","text":"TemporaryFile(/tmp/multipartBody1517397517793905970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_28_23_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7adddea3591bd13a9a7b343e899dc4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4605551384997898020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565343283,"filename":"image_15072025_08_28_57_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162854","file1":"1372162850","file0":"1372162845","file4":"1372162863","file5":"1372162866","file3":"1372162858"},"map_files_photo_id_array":[{"photo_id":"1372162866","filename":"file5"},{"photo_id":"1372162854","filename":"file2"},{"photo_id":"1372162863","filename":"file4"},{"photo_id":"1372162850","filename":"file1"},{"photo_id":"1372162845","filename":"file0"},{"photo_id":"1372162858","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162866":["hashtag1","hashtag2"]},{"1372162845":["hashtag1","hashtag2"]},{"1372162854":["hashtag1","hashtag2"]},{"1372162850":["hashtag1","hashtag2"]},{"1372162858":["hashtag1","hashtag2"]},{"1372162863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162866, 1372162845, 1372162854, 1372162850, 1372162858, 1372162863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.1289324760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:42:22.374668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/29/image_15072025_08_29_02_2737.jpg', '/home/pi/Desktop/images/15072025/08/29/image_15072025_08_29_41_2526.jpg', '/home/pi/Desktop/images/15072025/08/30/image_15072025_08_30_39_3837.jpg', '/home/pi/Desktop/images/15072025/08/31/image_15072025_08_31_38_2690.jpg', '/home/pi/Desktop/images/15072025/08/32/image_15072025_08_32_02_2657.jpg', '/home/pi/Desktop/images/15072025/08/32/image_15072025_08_32_26_2599.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/29/image_15072025_08_29_02_2737.jpg
/home/pi/Desktop/images/15072025/08/29/image_15072025_08_29_41_2526.jpg
/home/pi/Desktop/images/15072025/08/30/image_15072025_08_30_39_3837.jpg
/home/pi/Desktop/images/15072025/08/31/image_15072025_08_31_38_2690.jpg
/home/pi/Desktop/images/15072025/08/32/image_15072025_08_32_02_2657.jpg
/home/pi/Desktop/images/15072025/08/32/image_15072025_08_32_26_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162887","1372162889","1372162883","1372162877","1372162891","1372162881"],"photo_ids_order":["1372162877","1372162881","1372162883","1372162887","1372162889","1372162891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7d497ff56f5c67d3acc53a853b659c2.jpg","text":"TemporaryFile(/tmp/multipartBody8512358642352599678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_31_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/7/15/6d02f8a2c68c03ec61f4303397db2635.jpg","text":"TemporaryFile(/tmp/multipartBody8214933713659794045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_32_02_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0535e580f33cf998fd8a9989ee566880.jpg","text":"TemporaryFile(/tmp/multipartBody1140868904877974437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_30_39_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2c3ed2d2e6118026d512fb8b5c9195bb.jpg","text":"TemporaryFile(/tmp/multipartBody4197491224277644453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_29_02_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2711cbefe8f15423b556365961ec45ef.jpg","text":"TemporaryFile(/tmp/multipartBody6787579928341651571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_32_26_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/970a11d968c9d9e23a08c2d865befda2.jpg","text":"TemporaryFile(/tmp/multipartBody6960068099707268121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565403493,"filename":"image_15072025_08_29_41_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162883","file1":"1372162881","file0":"1372162877","file4":"1372162889","file5":"1372162891","file3":"1372162887"},"map_files_photo_id_array":[{"photo_id":"1372162891","filename":"file5"},{"photo_id":"1372162883","filename":"file2"},{"photo_id":"1372162889","filename":"file4"},{"photo_id":"1372162881","filename":"file1"},{"photo_id":"1372162877","filename":"file0"},{"photo_id":"1372162887","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162887":["hashtag1","hashtag2"]},{"1372162889":["hashtag1","hashtag2"]},{"1372162883":["hashtag1","hashtag2"]},{"1372162877":["hashtag1","hashtag2"]},{"1372162891":["hashtag1","hashtag2"]},{"1372162881":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162887, 1372162889, 1372162883, 1372162877, 1372162891, 1372162881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.888468980789185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:43:22.275232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/33/image_15072025_08_33_11_2672.jpg', '/home/pi/Desktop/images/15072025/08/33/image_15072025_08_33_41_3572.jpg', '/home/pi/Desktop/images/15072025/08/34/image_15072025_08_34_14_2795.jpg', '/home/pi/Desktop/images/15072025/08/34/image_15072025_08_34_56_2623.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_08_3737.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_13_2582.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/33/image_15072025_08_33_11_2672.jpg
/home/pi/Desktop/images/15072025/08/33/image_15072025_08_33_41_3572.jpg
/home/pi/Desktop/images/15072025/08/34/image_15072025_08_34_14_2795.jpg
/home/pi/Desktop/images/15072025/08/34/image_15072025_08_34_56_2623.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_08_3737.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_13_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162908","1372162905","1372162913","1372162916","1372162918","1372162900"],"photo_ids_order":["1372162900","1372162905","1372162908","1372162913","1372162916","1372162918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bcbcd11d80822cba4cf47451caff33ad.jpg","text":"TemporaryFile(/tmp/multipartBody4496812102496165911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_34_14_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10481d9a79ff314647bf1ba76d578241.jpg","text":"TemporaryFile(/tmp/multipartBody8530747694621756625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_33_41_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1c772fbd01740b3488016f4d1599ad2.jpg","text":"TemporaryFile(/tmp/multipartBody7090270382873175354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_34_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/7/15/6c9e0580b38392ddc1d6f0bddb8bdc71.jpg","text":"TemporaryFile(/tmp/multipartBody6272819607837319047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_35_08_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f03a68406f243c9879d7a16efd8cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody3108524912271663796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_35_13_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5e8f8364d940eb8e5c3702879d14e25.jpg","text":"TemporaryFile(/tmp/multipartBody8202693888693154273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565463400,"filename":"image_15072025_08_33_11_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162908","file1":"1372162905","file0":"1372162900","file4":"1372162916","file5":"1372162918","file3":"1372162913"},"map_files_photo_id_array":[{"photo_id":"1372162918","filename":"file5"},{"photo_id":"1372162908","filename":"file2"},{"photo_id":"1372162916","filename":"file4"},{"photo_id":"1372162905","filename":"file1"},{"photo_id":"1372162900","filename":"file0"},{"photo_id":"1372162913","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162908":["hashtag1","hashtag2"]},{"1372162905":["hashtag1","hashtag2"]},{"1372162913":["hashtag1","hashtag2"]},{"1372162916":["hashtag1","hashtag2"]},{"1372162918":["hashtag1","hashtag2"]},{"1372162900":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162908, 1372162905, 1372162913, 1372162916, 1372162918, 1372162900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.46023726463318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:44:22.654613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_17_3726.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_31_2569.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_35_3603.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_38_2670.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_53_3875.jpg', '/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_56_2680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_17_3726.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_31_2569.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_35_3603.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_38_2670.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_53_3875.jpg
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_56_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162959","1372162953","1372162935","1372162949","1372162942","1372162930"],"photo_ids_order":["1372162930","1372162935","1372162942","1372162949","1372162953","1372162959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/43e5ef0a4095c934ed27630727892aca.jpg","text":"TemporaryFile(/tmp/multipartBody8446493148976278363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_56_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/611daeb816b7499b2eb33b6246d871e1.jpg","text":"TemporaryFile(/tmp/multipartBody8505953708462158082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_53_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/25560f35d0fa8c3b904d2f39b333a4f1.jpg","text":"TemporaryFile(/tmp/multipartBody5884728769195144597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_31_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f7078d8f4a87f8dbc0239fa07bae4ca.jpg","text":"TemporaryFile(/tmp/multipartBody4640425339248292236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_38_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69df1b9994a0ffe0eae4e1b062835ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3654185672872915929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_35_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d58766bf64edf738a509542cd81d90ab.jpg","text":"TemporaryFile(/tmp/multipartBody8350883900112260211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565523749,"filename":"image_15072025_08_35_17_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162942","file1":"1372162935","file0":"1372162930","file4":"1372162953","file5":"1372162959","file3":"1372162949"},"map_files_photo_id_array":[{"photo_id":"1372162959","filename":"file5"},{"photo_id":"1372162942","filename":"file2"},{"photo_id":"1372162953","filename":"file4"},{"photo_id":"1372162935","filename":"file1"},{"photo_id":"1372162930","filename":"file0"},{"photo_id":"1372162949","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162959":["hashtag1","hashtag2"]},{"1372162953":["hashtag1","hashtag2"]},{"1372162935":["hashtag1","hashtag2"]},{"1372162949":["hashtag1","hashtag2"]},{"1372162942":["hashtag1","hashtag2"]},{"1372162930":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162959, 1372162953, 1372162935, 1372162949, 1372162942, 1372162930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.99377489089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:45:22.816001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_59_2633.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_02_3605.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_05_2836.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_08_2699.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_17_2631.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_47_2672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/35/image_15072025_08_35_59_2633.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_02_3605.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_05_2836.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_08_2699.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_17_2631.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_47_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372162986","1372162970","1372162978","1372162975","1372162989","1372162983"],"photo_ids_order":["1372162970","1372162975","1372162978","1372162983","1372162986","1372162989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7001d9fee9c07c96b7d86b9485be1b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1597866961295053791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_36_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/7/15/fe0010a01fc0263778f3dce1a7bbbc0f.jpg","text":"TemporaryFile(/tmp/multipartBody3728342567211414964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_35_59_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/98e3ffe52f6f623d33c8175a1d1e04c7.jpg","text":"TemporaryFile(/tmp/multipartBody5534901301732678761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_36_05_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/519ab2b0addb853293a2355b2f215096.jpg","text":"TemporaryFile(/tmp/multipartBody5267876722207417845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_36_02_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c46f2a4f21884358648c4a1dc9163f82.jpg","text":"TemporaryFile(/tmp/multipartBody7311642672427017019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_36_47_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17d8cc06f88067c83d70d3ce17b56816.jpg","text":"TemporaryFile(/tmp/multipartBody7353763480151710771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565583977,"filename":"image_15072025_08_36_08_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372162978","file1":"1372162975","file0":"1372162970","file4":"1372162986","file5":"1372162989","file3":"1372162983"},"map_files_photo_id_array":[{"photo_id":"1372162989","filename":"file5"},{"photo_id":"1372162978","filename":"file2"},{"photo_id":"1372162986","filename":"file4"},{"photo_id":"1372162975","filename":"file1"},{"photo_id":"1372162970","filename":"file0"},{"photo_id":"1372162983","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372162986":["hashtag1","hashtag2"]},{"1372162970":["hashtag1","hashtag2"]},{"1372162978":["hashtag1","hashtag2"]},{"1372162975":["hashtag1","hashtag2"]},{"1372162989":["hashtag1","hashtag2"]},{"1372162983":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372162986, 1372162970, 1372162978, 1372162975, 1372162989, 1372162983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.3982675075531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:46:21.871444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_53_3696.jpg', '/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_59_2776.jpg', '/home/pi/Desktop/images/15072025/08/37/image_15072025_08_37_38_2718.jpg', '/home/pi/Desktop/images/15072025/08/38/image_15072025_08_38_05_2707.jpg', '/home/pi/Desktop/images/15072025/08/38/image_15072025_08_38_17_3669.jpg', '/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_19_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_53_3696.jpg
/home/pi/Desktop/images/15072025/08/36/image_15072025_08_36_59_2776.jpg
/home/pi/Desktop/images/15072025/08/37/image_15072025_08_37_38_2718.jpg
/home/pi/Desktop/images/15072025/08/38/image_15072025_08_38_05_2707.jpg
/home/pi/Desktop/images/15072025/08/38/image_15072025_08_38_17_3669.jpg
/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_19_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163013","1372163006","1372163015","1372162999","1372163002","1372163011"],"photo_ids_order":["1372162999","1372163002","1372163006","1372163011","1372163013","1372163015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e02f833c6248446aedd4e004a8551da8.jpg","text":"TemporaryFile(/tmp/multipartBody6564572746884943437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_38_17_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9177a1b9cd71ad3c68a15b5ca2f77617.jpg","text":"TemporaryFile(/tmp/multipartBody1715520976509648812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_37_38_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8482bdc8a7826cc5718a961867d685bf.jpg","text":"TemporaryFile(/tmp/multipartBody5118814004529750295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_39_19_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/683a2e1342304ec72a6f9a1b5e2af831.jpg","text":"TemporaryFile(/tmp/multipartBody5577733260917935711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_36_53_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfa607336c99ce764fe78c8be2e59605.jpg","text":"TemporaryFile(/tmp/multipartBody4217254492028559477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_36_59_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d097252c085ca342edf70fdc7624e02.jpg","text":"TemporaryFile(/tmp/multipartBody268292029679942290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565643005,"filename":"image_15072025_08_38_05_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163006","file1":"1372163002","file0":"1372162999","file4":"1372163013","file5":"1372163015","file3":"1372163011"},"map_files_photo_id_array":[{"photo_id":"1372163015","filename":"file5"},{"photo_id":"1372163006","filename":"file2"},{"photo_id":"1372163013","filename":"file4"},{"photo_id":"1372163002","filename":"file1"},{"photo_id":"1372162999","filename":"file0"},{"photo_id":"1372163011","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163013":["hashtag1","hashtag2"]},{"1372163006":["hashtag1","hashtag2"]},{"1372163015":["hashtag1","hashtag2"]},{"1372162999":["hashtag1","hashtag2"]},{"1372163002":["hashtag1","hashtag2"]},{"1372163011":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163013, 1372163006, 1372163015, 1372162999, 1372163002, 1372163011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.23289251327515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:47:22.503766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_35_3637.jpg', '/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_37_2603.jpg', '/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_40_2685.jpg', '/home/pi/Desktop/images/15072025/08/40/image_15072025_08_40_01_2582.jpg', '/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_13_2669.jpg', '/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_34_2633.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_35_3637.jpg
/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_37_2603.jpg
/home/pi/Desktop/images/15072025/08/39/image_15072025_08_39_40_2685.jpg
/home/pi/Desktop/images/15072025/08/40/image_15072025_08_40_01_2582.jpg
/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_13_2669.jpg
/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_34_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163049","1372163040","1372163036","1372163059","1372163053","1372163043"],"photo_ids_order":["1372163036","1372163040","1372163043","1372163049","1372163053","1372163059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c4b7d8e5f3b6b9c793137f8514b764a.jpg","text":"TemporaryFile(/tmp/multipartBody2306188361054699200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_40_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/7/15/300a76836a2cd3f9bbd1667ebe17d40a.jpg","text":"TemporaryFile(/tmp/multipartBody4369123255666197400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_39_37_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d93150065ef0b8ea778a8ff75d30a67.jpg","text":"TemporaryFile(/tmp/multipartBody4150770508813501591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_39_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/7/15/c2f9fe49c1620efae3fe0e5075f6b419.jpg","text":"TemporaryFile(/tmp/multipartBody8039028542231855907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_41_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/7/15/1dbb115ee5a12ca19b3533683daa3252.jpg","text":"TemporaryFile(/tmp/multipartBody9186546013114246311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_41_13_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55ff99fb264645dc3d846cffebd53a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5119209887144475372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565703648,"filename":"image_15072025_08_39_40_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163043","file1":"1372163040","file0":"1372163036","file4":"1372163053","file5":"1372163059","file3":"1372163049"},"map_files_photo_id_array":[{"photo_id":"1372163059","filename":"file5"},{"photo_id":"1372163043","filename":"file2"},{"photo_id":"1372163053","filename":"file4"},{"photo_id":"1372163040","filename":"file1"},{"photo_id":"1372163036","filename":"file0"},{"photo_id":"1372163049","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163049":["hashtag1","hashtag2"]},{"1372163040":["hashtag1","hashtag2"]},{"1372163036":["hashtag1","hashtag2"]},{"1372163059":["hashtag1","hashtag2"]},{"1372163053":["hashtag1","hashtag2"]},{"1372163043":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163049, 1372163040, 1372163036, 1372163059, 1372163053, 1372163043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.80651545524597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:48:22.597241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_37_3620.jpg', '/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_40_2569.jpg', '/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_53_3587.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_07_2759.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_11_3765.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_13_2659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_37_3620.jpg
/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_40_2569.jpg
/home/pi/Desktop/images/15072025/08/41/image_15072025_08_41_53_3587.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_07_2759.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_11_3765.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_13_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163090","1372163093","1372163083","1372163074","1372163088","1372163079"],"photo_ids_order":["1372163074","1372163079","1372163083","1372163088","1372163090","1372163093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccbd090f64c6f42a2c2258c454dc1dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7307326076121414383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_42_11_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d5a82cc88577bc5463f7f870b37ac15.jpg","text":"TemporaryFile(/tmp/multipartBody3717583605702098526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_42_13_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/946aeae441d16bc8d1099820270e23da.jpg","text":"TemporaryFile(/tmp/multipartBody8283286935913788318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_41_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/7/15/8ad175da9907470be0f5a063774b6ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4837649537297039202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_41_37_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9220e554de63986d7026988942f6dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7592941450416271492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_42_07_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfc6dad1f786f89512afd0c768274bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8673526306646713888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565763722,"filename":"image_15072025_08_41_40_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163083","file1":"1372163079","file0":"1372163074","file4":"1372163090","file5":"1372163093","file3":"1372163088"},"map_files_photo_id_array":[{"photo_id":"1372163093","filename":"file5"},{"photo_id":"1372163083","filename":"file2"},{"photo_id":"1372163090","filename":"file4"},{"photo_id":"1372163079","filename":"file1"},{"photo_id":"1372163074","filename":"file0"},{"photo_id":"1372163088","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163090":["hashtag1","hashtag2"]},{"1372163093":["hashtag1","hashtag2"]},{"1372163083":["hashtag1","hashtag2"]},{"1372163074":["hashtag1","hashtag2"]},{"1372163088":["hashtag1","hashtag2"]},{"1372163079":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163090, 1372163093, 1372163083, 1372163074, 1372163088, 1372163079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.86291265487671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:49:22.290715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_16_2728.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_19_2768.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_22_3649.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_25_2522.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_29_3626.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_43_2572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_16_2728.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_19_2768.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_22_3649.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_25_2522.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_29_3626.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_43_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163115","1372163103","1372163117","1372163111","1372163119","1372163107"],"photo_ids_order":["1372163103","1372163107","1372163111","1372163115","1372163117","1372163119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e35d587ce8e864d0a2e6c2dfe89f1821.jpg","text":"TemporaryFile(/tmp/multipartBody4161466336026061158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_25_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8591ae307c27871948538c8f1551f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4794857735294150338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_16_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb936d139b2b65636052bb102806eb89.jpg","text":"TemporaryFile(/tmp/multipartBody3253569344821448448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_29_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf08c7ebefe7736433c4d7bcb3089504.jpg","text":"TemporaryFile(/tmp/multipartBody2636986129421678253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_22_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03699e9b4f84c567c4d9cbb26dbadf6f.jpg","text":"TemporaryFile(/tmp/multipartBody5565924892599866202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_43_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/627993561cda1e407af575781c338a45.jpg","text":"TemporaryFile(/tmp/multipartBody8235137982555415746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565823431,"filename":"image_15072025_08_42_19_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163111","file1":"1372163107","file0":"1372163103","file4":"1372163117","file5":"1372163119","file3":"1372163115"},"map_files_photo_id_array":[{"photo_id":"1372163119","filename":"file5"},{"photo_id":"1372163111","filename":"file2"},{"photo_id":"1372163117","filename":"file4"},{"photo_id":"1372163107","filename":"file1"},{"photo_id":"1372163103","filename":"file0"},{"photo_id":"1372163115","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163115":["hashtag1","hashtag2"]},{"1372163103":["hashtag1","hashtag2"]},{"1372163117":["hashtag1","hashtag2"]},{"1372163111":["hashtag1","hashtag2"]},{"1372163119":["hashtag1","hashtag2"]},{"1372163107":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163115, 1372163103, 1372163117, 1372163111, 1372163119, 1372163107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.20689797401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:50:22.482138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_46_2742.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_49_3631.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_52_2700.jpg', '/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_56_3546.jpg', '/home/pi/Desktop/images/15072025/08/45/image_15072025_08_45_42_2864.jpg', '/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_37_3628.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_46_2742.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_49_3631.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_52_2700.jpg
/home/pi/Desktop/images/15072025/08/42/image_15072025_08_42_56_3546.jpg
/home/pi/Desktop/images/15072025/08/45/image_15072025_08_45_42_2864.jpg
/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_37_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163133","1372163127","1372163141","1372163135","1372163144","1372163138"],"photo_ids_order":["1372163127","1372163133","1372163135","1372163138","1372163141","1372163144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/037f9b5a29402c94431044bdc513163b.jpg","text":"TemporaryFile(/tmp/multipartBody7662297309426647993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_42_49_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1be0907080258933f71411a811add5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7483424486005517045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_42_46_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9955b0ee9517123c0d22bc56ef1623d.jpg","text":"TemporaryFile(/tmp/multipartBody9013156465753631228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_45_42_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/903b36b6cdfd31ccb34c0b35e6adfa59.jpg","text":"TemporaryFile(/tmp/multipartBody1824871356857947834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_42_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/7/15/da2215ed995392ca4f8718cf1682c40a.jpg","text":"TemporaryFile(/tmp/multipartBody203197121997867307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_46_37_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab55ac2bccda1dda83837a05974a4255.jpg","text":"TemporaryFile(/tmp/multipartBody8411634330994752813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565883624,"filename":"image_15072025_08_42_56_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163135","file1":"1372163133","file0":"1372163127","file4":"1372163141","file5":"1372163144","file3":"1372163138"},"map_files_photo_id_array":[{"photo_id":"1372163144","filename":"file5"},{"photo_id":"1372163135","filename":"file2"},{"photo_id":"1372163141","filename":"file4"},{"photo_id":"1372163133","filename":"file1"},{"photo_id":"1372163127","filename":"file0"},{"photo_id":"1372163138","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163133":["hashtag1","hashtag2"]},{"1372163127":["hashtag1","hashtag2"]},{"1372163141":["hashtag1","hashtag2"]},{"1372163135":["hashtag1","hashtag2"]},{"1372163144":["hashtag1","hashtag2"]},{"1372163138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163133, 1372163127, 1372163141, 1372163135, 1372163144, 1372163138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.55977702140808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:51:22.402133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_40_2574.jpg', '/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_55_3642.jpg', '/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_58_2861.jpg', '/home/pi/Desktop/images/15072025/08/47/image_15072025_08_47_01_2600.jpg', '/home/pi/Desktop/images/15072025/08/51/image_15072025_08_51_57_2742.jpg', '/home/pi/Desktop/images/15072025/08/51/image_15072025_08_52_00_2622.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_40_2574.jpg
/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_55_3642.jpg
/home/pi/Desktop/images/15072025/08/46/image_15072025_08_46_58_2861.jpg
/home/pi/Desktop/images/15072025/08/47/image_15072025_08_47_01_2600.jpg
/home/pi/Desktop/images/15072025/08/51/image_15072025_08_51_57_2742.jpg
/home/pi/Desktop/images/15072025/08/51/image_15072025_08_52_00_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":["1372163171","1372163174","1372163162","1372163156","1372163173","1372163166"],"photo_ids_order":["1372163156","1372163162","1372163166","1372163171","1372163173","1372163174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be15ed039505590d5bec8cae3d8dbb92.jpg","text":"TemporaryFile(/tmp/multipartBody7691641678259211722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_47_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/7/15/1a5575e4a066a53caace38fe6fc98582.jpg","text":"TemporaryFile(/tmp/multipartBody136941035573267116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_52_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/7/15/dc4a7b6db99494e4c87b6590c85f176a.jpg","text":"TemporaryFile(/tmp/multipartBody7839408310644382079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_46_55_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af04660386dca6d637a266cac1eb89b0.jpg","text":"TemporaryFile(/tmp/multipartBody3655241386296674547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_46_40_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b662ebe78cec8c6115fbbc587e599b16.jpg","text":"TemporaryFile(/tmp/multipartBody7808992853344407718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_51_57_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/682c6e467d0fe44a18ac8150d7aa18fb.jpg","text":"TemporaryFile(/tmp/multipartBody4672740057526469674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752565943522,"filename":"image_15072025_08_46_58_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163166","file1":"1372163162","file0":"1372163156","file4":"1372163173","file5":"1372163174","file3":"1372163171"},"map_files_photo_id_array":[{"photo_id":"1372163174","filename":"file5"},{"photo_id":"1372163166","filename":"file2"},{"photo_id":"1372163173","filename":"file4"},{"photo_id":"1372163162","filename":"file1"},{"photo_id":"1372163156","filename":"file0"},{"photo_id":"1372163171","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163171":["hashtag1","hashtag2"]},{"1372163174":["hashtag1","hashtag2"]},{"1372163162":["hashtag1","hashtag2"]},{"1372163156":["hashtag1","hashtag2"]},{"1372163173":["hashtag1","hashtag2"]},{"1372163166":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163171, 1372163174, 1372163162, 1372163156, 1372163173, 1372163166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45652103424072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:52:22.558787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_10_3625.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_12_2811.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_15_2634.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_19_3639.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_21_2555.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_24_2714.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_10_3625.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_12_2811.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_15_2634.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_19_3639.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_21_2555.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_24_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163186","1372163201","1372163191","1372163200","1372163199","1372163196"],"photo_ids_order":["1372163186","1372163191","1372163196","1372163199","1372163200","1372163201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bc24856711837b8fcf2112cd19eff10.jpg","text":"TemporaryFile(/tmp/multipartBody7824931598064969437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_10_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ed6d647164c2fce738cd0be6f5f4d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6844350277858833212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_24_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0a44327fecb9653bb776504bbf544e6.jpg","text":"TemporaryFile(/tmp/multipartBody1799059047408820230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_12_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e50949974176f538957cb7d132e72382.jpg","text":"TemporaryFile(/tmp/multipartBody6268021395312155440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_21_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/07ddfd597b65a31d1ecaca22b61e88a1.jpg","text":"TemporaryFile(/tmp/multipartBody8529900090369883067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_19_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fda62bfa56f33f60521dac061e19476.jpg","text":"TemporaryFile(/tmp/multipartBody8509414629496921917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566003664,"filename":"image_15072025_08_52_15_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163196","file1":"1372163191","file0":"1372163186","file4":"1372163200","file5":"1372163201","file3":"1372163199"},"map_files_photo_id_array":[{"photo_id":"1372163201","filename":"file5"},{"photo_id":"1372163196","filename":"file2"},{"photo_id":"1372163200","filename":"file4"},{"photo_id":"1372163191","filename":"file1"},{"photo_id":"1372163186","filename":"file0"},{"photo_id":"1372163199","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163186":["hashtag1","hashtag2"]},{"1372163201":["hashtag1","hashtag2"]},{"1372163191":["hashtag1","hashtag2"]},{"1372163200":["hashtag1","hashtag2"]},{"1372163199":["hashtag1","hashtag2"]},{"1372163196":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163186, 1372163201, 1372163191, 1372163200, 1372163199, 1372163196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.520894289016724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:53:22.320959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_28_3657.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_30_2664.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_33_2647.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_37_3627.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_42_2671.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_45_3641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_28_3657.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_30_2664.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_33_2647.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_37_3627.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_42_2671.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_45_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163240","1372163234","1372163231","1372163245","1372163227","1372163242"],"photo_ids_order":["1372163227","1372163231","1372163234","1372163240","1372163242","1372163245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a29e7ebec7cf36e3ad8982b6bf32aef5.jpg","text":"TemporaryFile(/tmp/multipartBody7976988074916083241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_37_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dfecc3f06e49310018d0ab98e18943f5.jpg","text":"TemporaryFile(/tmp/multipartBody5739655054212074229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_33_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/96e56c5399ec608696c7cad2be49967c.jpg","text":"TemporaryFile(/tmp/multipartBody8425414985004434863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_30_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d249596e5bb1c9513cd0982b9740be6.jpg","text":"TemporaryFile(/tmp/multipartBody6454149028152380184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_45_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ce3879e9a99e1f30e2803a84a948976d.jpg","text":"TemporaryFile(/tmp/multipartBody1793679755391533309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_28_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81a36b0c39ff3593ac1ee73617976076.jpg","text":"TemporaryFile(/tmp/multipartBody5418187155806527641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566063440,"filename":"image_15072025_08_52_42_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163234","file1":"1372163231","file0":"1372163227","file4":"1372163242","file5":"1372163245","file3":"1372163240"},"map_files_photo_id_array":[{"photo_id":"1372163245","filename":"file5"},{"photo_id":"1372163234","filename":"file2"},{"photo_id":"1372163242","filename":"file4"},{"photo_id":"1372163231","filename":"file1"},{"photo_id":"1372163227","filename":"file0"},{"photo_id":"1372163240","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163240":["hashtag1","hashtag2"]},{"1372163234":["hashtag1","hashtag2"]},{"1372163231":["hashtag1","hashtag2"]},{"1372163245":["hashtag1","hashtag2"]},{"1372163227":["hashtag1","hashtag2"]},{"1372163242":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163240, 1372163234, 1372163231, 1372163245, 1372163227, 1372163242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85504961013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:54:22.286579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_48_2609.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_51_2674.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_54_3549.jpg', '/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_57_2719.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_06_2698.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_12_2943.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_48_2609.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_51_2674.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_54_3549.jpg
/home/pi/Desktop/images/15072025/08/52/image_15072025_08_52_57_2719.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_06_2698.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_12_2943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163270","1372163263","1372163272","1372163260","1372163254","1372163268"],"photo_ids_order":["1372163254","1372163260","1372163263","1372163268","1372163270","1372163272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e84cc0c7b926d43f1c6d4b950dc1fed.jpg","text":"TemporaryFile(/tmp/multipartBody3891293902581019356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_53_06_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/125b22202b9bfc2a7fb7d78ebda1265f.jpg","text":"TemporaryFile(/tmp/multipartBody8383082585062084812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_52_54_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1aadfbb708a278ee65c06f265086370f.jpg","text":"TemporaryFile(/tmp/multipartBody5301643457841318119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_53_12_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/335fa3b45d6c07e377a716b7c68b3ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2485213815631743587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_52_51_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c7ac6d13d440f35579ddd27c0e26647.jpg","text":"TemporaryFile(/tmp/multipartBody6352898535652539040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_52_48_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6714ce8026815c733284a4b3221ba1b1.jpg","text":"TemporaryFile(/tmp/multipartBody784581926009408391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566123389,"filename":"image_15072025_08_52_57_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163263","file1":"1372163260","file0":"1372163254","file4":"1372163270","file5":"1372163272","file3":"1372163268"},"map_files_photo_id_array":[{"photo_id":"1372163272","filename":"file5"},{"photo_id":"1372163263","filename":"file2"},{"photo_id":"1372163270","filename":"file4"},{"photo_id":"1372163260","filename":"file1"},{"photo_id":"1372163254","filename":"file0"},{"photo_id":"1372163268","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163270":["hashtag1","hashtag2"]},{"1372163263":["hashtag1","hashtag2"]},{"1372163272":["hashtag1","hashtag2"]},{"1372163260":["hashtag1","hashtag2"]},{"1372163254":["hashtag1","hashtag2"]},{"1372163268":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163270, 1372163263, 1372163272, 1372163260, 1372163254, 1372163268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45210647583008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:55:22.292269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_15_3595.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_18_2794.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_33_3659.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_36_2643.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_39_2587.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_42_3698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_15_3595.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_18_2794.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_33_3659.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_36_2643.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_39_2587.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_42_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163297","1372163296","1372163284","1372163298","1372163292","1372163289"],"photo_ids_order":["1372163284","1372163289","1372163292","1372163296","1372163297","1372163298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d8d0d705f9facebe07fcf65ea24db92.jpg","text":"TemporaryFile(/tmp/multipartBody2892670499362666605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_39_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b9f4735bdf64966727fdbc5eaff1aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1390407216038006704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_36_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/08d234e0b7b71b80b1ba9dc795b1f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody286635677931421026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_15_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b21892f6712913fe93f724e34aa62bc.jpg","text":"TemporaryFile(/tmp/multipartBody6969994603696412574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_42_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64a6af76c2ff90fc0fc71aa277138a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1650646175416246976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_33_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a36b98b39182d2a5bab1c330285f0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1192393367322412903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566183412,"filename":"image_15072025_08_53_18_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163292","file1":"1372163289","file0":"1372163284","file4":"1372163297","file5":"1372163298","file3":"1372163296"},"map_files_photo_id_array":[{"photo_id":"1372163298","filename":"file5"},{"photo_id":"1372163292","filename":"file2"},{"photo_id":"1372163297","filename":"file4"},{"photo_id":"1372163289","filename":"file1"},{"photo_id":"1372163284","filename":"file0"},{"photo_id":"1372163296","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163297":["hashtag1","hashtag2"]},{"1372163296":["hashtag1","hashtag2"]},{"1372163284":["hashtag1","hashtag2"]},{"1372163298":["hashtag1","hashtag2"]},{"1372163292":["hashtag1","hashtag2"]},{"1372163289":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163297, 1372163296, 1372163284, 1372163298, 1372163292, 1372163289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91727662086487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:56:22.380293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_54_2744.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_57_2827.jpg', '/home/pi/Desktop/images/15072025/08/53/image_15072025_08_54_00_3613.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_03_2752.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_30_2618.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_33_2625.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_54_2744.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_53_57_2827.jpg
/home/pi/Desktop/images/15072025/08/53/image_15072025_08_54_00_3613.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_03_2752.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_30_2618.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_33_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163310","1372163328","1372163316","1372163333","1372163326","1372163320"],"photo_ids_order":["1372163310","1372163316","1372163320","1372163326","1372163328","1372163333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/669af409c4a36a38646eddcbda225026.jpg","text":"TemporaryFile(/tmp/multipartBody5674307514257538416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_53_54_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f21443c9f8e66ee67fd2398aeb30a16f.jpg","text":"TemporaryFile(/tmp/multipartBody3960959219093474338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_54_30_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8cdb79c6d9473bf5e085373463a3671f.jpg","text":"TemporaryFile(/tmp/multipartBody605063888956210295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_53_57_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea65d90804db2e1f1976a369bd964f82.jpg","text":"TemporaryFile(/tmp/multipartBody5196692289535836645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_54_33_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9852153e0d1067f9a46976b27dc441af.jpg","text":"TemporaryFile(/tmp/multipartBody8517885886060804068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_54_03_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f70eacf5d28bdd897ff687c6ffaf6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody658674291009829683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566243513,"filename":"image_15072025_08_54_00_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163320","file1":"1372163316","file0":"1372163310","file4":"1372163328","file5":"1372163333","file3":"1372163326"},"map_files_photo_id_array":[{"photo_id":"1372163333","filename":"file5"},{"photo_id":"1372163320","filename":"file2"},{"photo_id":"1372163328","filename":"file4"},{"photo_id":"1372163316","filename":"file1"},{"photo_id":"1372163310","filename":"file0"},{"photo_id":"1372163326","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163310":["hashtag1","hashtag2"]},{"1372163328":["hashtag1","hashtag2"]},{"1372163316":["hashtag1","hashtag2"]},{"1372163333":["hashtag1","hashtag2"]},{"1372163326":["hashtag1","hashtag2"]},{"1372163320":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163310, 1372163328, 1372163316, 1372163333, 1372163326, 1372163320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.17899298667908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 09:57:22.543897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_39_2859.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_42_2620.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_51_2914.jpg', '/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_54_2658.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_03_2617.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_06_2965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_39_2859.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_42_2620.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_51_2914.jpg
/home/pi/Desktop/images/15072025/08/54/image_15072025_08_54_54_2658.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_03_2617.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_06_2965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163348","1372163357","1372163341","1372163352","1372163361","1372163364"],"photo_ids_order":["1372163341","1372163348","1372163352","1372163357","1372163361","1372163364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f88e5a150718a150dcf781fbc6b380aa.jpg","text":"TemporaryFile(/tmp/multipartBody7965699722656406898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_54_42_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2918157ee60e410091d3c92c51fba14.jpg","text":"TemporaryFile(/tmp/multipartBody5966412439349678081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_54_54_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/20f8a4b55406c79a2b4766ea58c38049.jpg","text":"TemporaryFile(/tmp/multipartBody9174813877050305512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_54_39_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74ffc2d83e6ce960557dabf9f9e84110.jpg","text":"TemporaryFile(/tmp/multipartBody9092051153986470047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_54_51_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10a0b115c6022c035b0ba8f050bb6553.jpg","text":"TemporaryFile(/tmp/multipartBody5930683359570508481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_55_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/7/15/4e70e21e9bb7a10406e09ed167bec3a2.jpg","text":"TemporaryFile(/tmp/multipartBody7001360591193805211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566303698,"filename":"image_15072025_08_55_06_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163352","file1":"1372163348","file0":"1372163341","file4":"1372163361","file5":"1372163364","file3":"1372163357"},"map_files_photo_id_array":[{"photo_id":"1372163364","filename":"file5"},{"photo_id":"1372163352","filename":"file2"},{"photo_id":"1372163361","filename":"file4"},{"photo_id":"1372163348","filename":"file1"},{"photo_id":"1372163341","filename":"file0"},{"photo_id":"1372163357","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163348":["hashtag1","hashtag2"]},{"1372163357":["hashtag1","hashtag2"]},{"1372163341":["hashtag1","hashtag2"]},{"1372163352":["hashtag1","hashtag2"]},{"1372163361":["hashtag1","hashtag2"]},{"1372163364":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163348, 1372163357, 1372163341, 1372163352, 1372163361, 1372163364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.37259125709534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 09:59:03.629954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_09_2743.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_18_2893.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_20_2650.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_24_3826.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_27_2758.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_33_3569.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_09_2743.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_18_2893.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_20_2650.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_24_3826.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_27_2758.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_33_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163409","1372163400","1372163405","1372163394","1372163388","1372163415"],"photo_ids_order":["1372163388","1372163394","1372163400","1372163405","1372163409","1372163415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ce5c5ea55ff488b4626f9e02530dd8f2.jpg","text":"TemporaryFile(/tmp/multipartBody3427002391425364319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_27_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/607925721aebaad9097d334d6d6013f4.jpg","text":"TemporaryFile(/tmp/multipartBody5600414099662748630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_20_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/68c7faf3ce387f2cf4dd4fcddf4ef86a.jpg","text":"TemporaryFile(/tmp/multipartBody1319526644446957808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_24_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e3f89dd74ef011e7156586657c81698.jpg","text":"TemporaryFile(/tmp/multipartBody5865151655136424605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_18_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/467b080b7c996665cb3c8eed03115df8.jpg","text":"TemporaryFile(/tmp/multipartBody8049450986745024917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_09_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be7043f3e4594e10b6a08edd7c25a500.jpg","text":"TemporaryFile(/tmp/multipartBody8826220339920425217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566404876,"filename":"image_15072025_08_55_33_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163400","file1":"1372163394","file0":"1372163388","file4":"1372163409","file5":"1372163415","file3":"1372163405"},"map_files_photo_id_array":[{"photo_id":"1372163415","filename":"file5"},{"photo_id":"1372163400","filename":"file2"},{"photo_id":"1372163409","filename":"file4"},{"photo_id":"1372163394","filename":"file1"},{"photo_id":"1372163388","filename":"file0"},{"photo_id":"1372163405","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163409":["hashtag1","hashtag2"]},{"1372163400":["hashtag1","hashtag2"]},{"1372163405":["hashtag1","hashtag2"]},{"1372163394":["hashtag1","hashtag2"]},{"1372163388":["hashtag1","hashtag2"]},{"1372163415":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163409, 1372163400, 1372163405, 1372163394, 1372163388, 1372163415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.23695421218872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:00:02.616030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_36_2577.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_39_2694.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_42_3602.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_45_2717.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_47_2631.jpg', '/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_50_2995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_36_2577.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_39_2694.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_42_3602.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_45_2717.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_47_2631.jpg
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_50_2995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163430","1372163418","1372163425","1372163434","1372163436","1372163421"],"photo_ids_order":["1372163418","1372163421","1372163425","1372163430","1372163434","1372163436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7034d3d500022cc2352144ea66594cc5.jpg","text":"TemporaryFile(/tmp/multipartBody6859559886782205695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_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/7/15/53814689498e3427c0ed4a6f641b709f.jpg","text":"TemporaryFile(/tmp/multipartBody1992695795974261380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_36_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2203bf2184e3a83e81a76c827aa2690e.jpg","text":"TemporaryFile(/tmp/multipartBody8283205085640587781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_42_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c968609cecb4ecb6f86e78b77999326.jpg","text":"TemporaryFile(/tmp/multipartBody6018055543493343875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_47_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6113c1cf099121b7168d11d1bcc0924.jpg","text":"TemporaryFile(/tmp/multipartBody6938220783743323527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_50_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8c8f6c58c71683c8ae5d5a901ee895f.jpg","text":"TemporaryFile(/tmp/multipartBody8361610424641350954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566463824,"filename":"image_15072025_08_55_39_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163425","file1":"1372163421","file0":"1372163418","file4":"1372163434","file5":"1372163436","file3":"1372163430"},"map_files_photo_id_array":[{"photo_id":"1372163436","filename":"file5"},{"photo_id":"1372163425","filename":"file2"},{"photo_id":"1372163434","filename":"file4"},{"photo_id":"1372163421","filename":"file1"},{"photo_id":"1372163418","filename":"file0"},{"photo_id":"1372163430","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163430":["hashtag1","hashtag2"]},{"1372163418":["hashtag1","hashtag2"]},{"1372163425":["hashtag1","hashtag2"]},{"1372163434":["hashtag1","hashtag2"]},{"1372163436":["hashtag1","hashtag2"]},{"1372163421":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163430, 1372163418, 1372163425, 1372163434, 1372163436, 1372163421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36549139022827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:01:03.130993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_54_3634.jpg', '/home/pi/Desktop/images/15072025/09/00/image_15072025_09_00_50_2604.jpg', '/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_05_2670.jpg', '/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_56_2519.jpg', '/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_08_3852.jpg', '/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_22_2595.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_54_3634.jpg
/home/pi/Desktop/images/15072025/09/00/image_15072025_09_00_50_2604.jpg
/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_05_2670.jpg
/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_56_2519.jpg
/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_08_3852.jpg
/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_22_2595.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8325130939483643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:01:22.300454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_54_3634.jpg', '/home/pi/Desktop/images/15072025/09/00/image_15072025_09_00_50_2604.jpg', '/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_05_2670.jpg', '/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_56_2519.jpg', '/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_08_3852.jpg', '/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_22_2595.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/08/55/image_15072025_08_55_54_3634.jpg
/home/pi/Desktop/images/15072025/09/00/image_15072025_09_00_50_2604.jpg
/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_05_2670.jpg
/home/pi/Desktop/images/15072025/09/04/image_15072025_09_04_56_2519.jpg
/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_08_3852.jpg
/home/pi/Desktop/images/15072025/09/05/image_15072025_09_05_22_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163495","1372163490","1372163484","1372163478","1372163487","1372163460"],"photo_ids_order":["1372163460","1372163478","1372163484","1372163487","1372163490","1372163495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bee44adc284e72278e03503e5e84ccb7.jpg","text":"TemporaryFile(/tmp/multipartBody1213869296324893258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_09_05_22_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fc23435bbf959fe216e4c03d46c7783e.jpg","text":"TemporaryFile(/tmp/multipartBody6508272348860196626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_09_05_08_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0040b9a456aaeb1bb4d1adbc3c2314f.jpg","text":"TemporaryFile(/tmp/multipartBody339044952133302068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_09_04_05_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/caaa7411c21ebecaa2b29674e479a285.jpg","text":"TemporaryFile(/tmp/multipartBody2013768700282588336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_09_00_50_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/516c50fbe5519b3c1c38af16d3c30896.jpg","text":"TemporaryFile(/tmp/multipartBody3893329966289989617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_09_04_56_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca6f9d58fd7e39ccc915681a8bdec637.jpg","text":"TemporaryFile(/tmp/multipartBody7599539799353644280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566543393,"filename":"image_15072025_08_55_54_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163484","file1":"1372163478","file0":"1372163460","file4":"1372163490","file5":"1372163495","file3":"1372163487"},"map_files_photo_id_array":[{"photo_id":"1372163495","filename":"file5"},{"photo_id":"1372163484","filename":"file2"},{"photo_id":"1372163490","filename":"file4"},{"photo_id":"1372163478","filename":"file1"},{"photo_id":"1372163460","filename":"file0"},{"photo_id":"1372163487","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163495":["hashtag1","hashtag2"]},{"1372163490":["hashtag1","hashtag2"]},{"1372163484":["hashtag1","hashtag2"]},{"1372163478":["hashtag1","hashtag2"]},{"1372163487":["hashtag1","hashtag2"]},{"1372163460":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163495, 1372163490, 1372163484, 1372163478, 1372163487, 1372163460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.957030057907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:02:22.404162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/06/image_15072025_09_06_17_2631.jpg', '/home/pi/Desktop/images/15072025/09/18/image_15072025_09_19_00_2598.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_04_3687.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_06_2744.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_09_2626.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_12_3510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/06/image_15072025_09_06_17_2631.jpg
/home/pi/Desktop/images/15072025/09/18/image_15072025_09_19_00_2598.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_04_3687.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_06_2744.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_09_2626.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_12_3510.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6151177883148193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:02:42.347812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/06/image_15072025_09_06_17_2631.jpg', '/home/pi/Desktop/images/15072025/09/18/image_15072025_09_19_00_2598.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_04_3687.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_06_2744.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_09_2626.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_12_3510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/06/image_15072025_09_06_17_2631.jpg
/home/pi/Desktop/images/15072025/09/18/image_15072025_09_19_00_2598.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_04_3687.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_06_2744.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_09_2626.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_12_3510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372163517","1372163526","1372163540","1372163536","1372163533","1372163520"],"photo_ids_order":["1372163517","1372163520","1372163526","1372163533","1372163536","1372163540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12c41a6e50131f7a59a2c971ab199fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7752250063258874364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_06_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/7/15/7605bcb3ddc73738f83991eb4f455ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7673693025817692012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_19_04_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7978fdc9b2ab304826629fa2edd6e07a.jpg","text":"TemporaryFile(/tmp/multipartBody3050652361936147065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_19_12_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/302ee4afbdfc4b826f11f628340f9ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3762322785930768170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_19_09_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f8c6762abd3875474f1c1487e1077a49.jpg","text":"TemporaryFile(/tmp/multipartBody3188973046777823769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_19_06_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46fbeca1e824ca09e0b0e835e38b99bc.jpg","text":"TemporaryFile(/tmp/multipartBody2397405338274279418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566623375,"filename":"image_15072025_09_19_00_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163526","file1":"1372163520","file0":"1372163517","file4":"1372163536","file5":"1372163540","file3":"1372163533"},"map_files_photo_id_array":[{"photo_id":"1372163540","filename":"file5"},{"photo_id":"1372163526","filename":"file2"},{"photo_id":"1372163536","filename":"file4"},{"photo_id":"1372163520","filename":"file1"},{"photo_id":"1372163517","filename":"file0"},{"photo_id":"1372163533","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372163517":["hashtag1","hashtag2"]},{"1372163526":["hashtag1","hashtag2"]},{"1372163540":["hashtag1","hashtag2"]},{"1372163536":["hashtag1","hashtag2"]},{"1372163533":["hashtag1","hashtag2"]},{"1372163520":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372163517, 1372163526, 1372163540, 1372163536, 1372163533, 1372163520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.493385791778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:03:42.213019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_15_2710.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_42_2648.jpg', '/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_30_2610.jpg', '/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_33_2683.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_06_3576.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_09_2577.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_15_2710.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_42_2648.jpg
/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_30_2610.jpg
/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_33_2683.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_06_3576.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_09_2577.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6182832717895508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:04:03.239336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_15_2710.jpg', '/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_42_2648.jpg', '/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_30_2610.jpg', '/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_33_2683.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_06_3576.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_09_2577.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_15_2710.jpg
/home/pi/Desktop/images/15072025/09/19/image_15072025_09_19_42_2648.jpg
/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_30_2610.jpg
/home/pi/Desktop/images/15072025/09/20/image_15072025_09_20_33_2683.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_06_3576.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_09_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372164146","1372163687","1372163864","1372164058","1372163958","1372163772"],"photo_ids_order":["1372163687","1372163772","1372163864","1372163958","1372164058","1372164146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17f56be8f965c84a3a920fb80c417218.jpg","text":"TemporaryFile(/tmp/multipartBody7962294247212807946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_21_09_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/948dc6713c3d2fb4e31167ba6ef47e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4040833901659494828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_19_15_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cddac8b5d0dce9e4cfcd11d6dfd21236.jpg","text":"TemporaryFile(/tmp/multipartBody421419606774535789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_20_30_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74b0a8e77cf91222964f88c23c3cc4ee.jpg","text":"TemporaryFile(/tmp/multipartBody4918190259622154472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_21_06_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/59242f00829b7dc76786aca4b9356137.jpg","text":"TemporaryFile(/tmp/multipartBody2623929815476338569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_20_33_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d60423f67cab2630d6661f0cf1f3a6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6014602981145361214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566704361,"filename":"image_15072025_09_19_42_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372163864","file1":"1372163772","file0":"1372163687","file4":"1372164058","file5":"1372164146","file3":"1372163958"},"map_files_photo_id_array":[{"photo_id":"1372164146","filename":"file5"},{"photo_id":"1372163864","filename":"file2"},{"photo_id":"1372164058","filename":"file4"},{"photo_id":"1372163772","filename":"file1"},{"photo_id":"1372163687","filename":"file0"},{"photo_id":"1372163958","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372164146":["hashtag1","hashtag2"]},{"1372163687":["hashtag1","hashtag2"]},{"1372163864":["hashtag1","hashtag2"]},{"1372164058":["hashtag1","hashtag2"]},{"1372163958":["hashtag1","hashtag2"]},{"1372163772":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372164146, 1372163687, 1372163864, 1372164058, 1372163958, 1372163772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.975314140319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:05:03.489894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_12_2687.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_15_3681.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_18_2777.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_21_2467.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_27_2750.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_30_3553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_12_2687.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_15_3681.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_18_2777.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_21_2467.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_27_2750.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_30_3553.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6909694671630859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:05:22.760030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_12_2687.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_15_3681.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_18_2777.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_21_2467.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_27_2750.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_30_3553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_12_2687.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_15_3681.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_18_2777.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_21_2467.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_27_2750.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_30_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372164557","1372164545","1372164440","1372164574","1372164532","1372164520"],"photo_ids_order":["1372164440","1372164520","1372164532","1372164545","1372164557","1372164574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f508d514da4cead70929896da6c4a71.jpg","text":"TemporaryFile(/tmp/multipartBody8205084213935429101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_27_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/188b34f4595818bba7569551d61bcaeb.jpg","text":"TemporaryFile(/tmp/multipartBody8963329838002672266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_21_2467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/445027dd0ed8ccbe23810be881fa9690.jpg","text":"TemporaryFile(/tmp/multipartBody6330855456081857606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_12_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8e54533f967c091796b53725bd5e26ff.jpg","text":"TemporaryFile(/tmp/multipartBody3394900467600869937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_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/7/15/fcd4d60bd8f0354f305cc3b9864a49ea.jpg","text":"TemporaryFile(/tmp/multipartBody8744974217170560665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_18_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4787e6a3a03ed47934b0dcfd7c80ead3.jpg","text":"TemporaryFile(/tmp/multipartBody6012857534753552810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566783760,"filename":"image_15072025_09_21_15_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372164532","file1":"1372164520","file0":"1372164440","file4":"1372164557","file5":"1372164574","file3":"1372164545"},"map_files_photo_id_array":[{"photo_id":"1372164574","filename":"file5"},{"photo_id":"1372164532","filename":"file2"},{"photo_id":"1372164557","filename":"file4"},{"photo_id":"1372164520","filename":"file1"},{"photo_id":"1372164440","filename":"file0"},{"photo_id":"1372164545","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372164557":["hashtag1","hashtag2"]},{"1372164545":["hashtag1","hashtag2"]},{"1372164440":["hashtag1","hashtag2"]},{"1372164574":["hashtag1","hashtag2"]},{"1372164532":["hashtag1","hashtag2"]},{"1372164520":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372164557, 1372164545, 1372164440, 1372164574, 1372164532, 1372164520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.81350636482239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:06:21.978812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_36_2603.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_39_3509.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_42_2564.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_45_3591.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_48_2762.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_51_2541.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_36_2603.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_39_3509.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_42_2564.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_45_3591.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_48_2762.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_51_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372164611","1372164586","1372164601","1372164604","1372164597","1372164593"],"photo_ids_order":["1372164586","1372164593","1372164597","1372164601","1372164604","1372164611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b6b5dd88d66806cdd57d6c038293bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8807217816848240024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_51_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21501ff17f6c1a77bc2269045bb91ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1642235703694605505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_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/7/15/e4e41530e7249f10285d53d9ce191cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7986000967846523555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_45_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40317bcf0b3330b2d04f7e41613da8f2.jpg","text":"TemporaryFile(/tmp/multipartBody147223035569522936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_48_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4c60f18ff0f11982b25c687e3802077d.jpg","text":"TemporaryFile(/tmp/multipartBody4582396803320730599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_42_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32d34afd986f4cba1c7de8a513db4c69.jpg","text":"TemporaryFile(/tmp/multipartBody5154878314923266227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566843013,"filename":"image_15072025_09_21_39_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372164597","file1":"1372164593","file0":"1372164586","file4":"1372164604","file5":"1372164611","file3":"1372164601"},"map_files_photo_id_array":[{"photo_id":"1372164611","filename":"file5"},{"photo_id":"1372164597","filename":"file2"},{"photo_id":"1372164604","filename":"file4"},{"photo_id":"1372164593","filename":"file1"},{"photo_id":"1372164586","filename":"file0"},{"photo_id":"1372164601","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372164611":["hashtag1","hashtag2"]},{"1372164586":["hashtag1","hashtag2"]},{"1372164601":["hashtag1","hashtag2"]},{"1372164604":["hashtag1","hashtag2"]},{"1372164597":["hashtag1","hashtag2"]},{"1372164593":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372164611, 1372164586, 1372164601, 1372164604, 1372164597, 1372164593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.053231716156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:07:21.937991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_54_3736.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_57_2543.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_22_00_3650.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_03_2740.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_06_2585.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_12_2700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_54_3736.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_57_2543.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_22_00_3650.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_03_2740.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_06_2585.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_12_2700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6146738529205322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:07:42.019078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_54_3736.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_57_2543.jpg', '/home/pi/Desktop/images/15072025/09/21/image_15072025_09_22_00_3650.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_03_2740.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_06_2585.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_12_2700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_54_3736.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_21_57_2543.jpg
/home/pi/Desktop/images/15072025/09/21/image_15072025_09_22_00_3650.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_03_2740.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_06_2585.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_12_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372164798","1372164916","1372165035","1372164873","1372164706","1372164956"],"photo_ids_order":["1372164706","1372164798","1372164873","1372164916","1372164956","1372165035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/318beb1acd888ff9afd728aadef6ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody2200133090255636570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_21_57_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d49d650941923653f39eb20a8ada17f.jpg","text":"TemporaryFile(/tmp/multipartBody1756175853295928990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_22_03_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea58558a60e46e27bd9ff081f932dd12.jpg","text":"TemporaryFile(/tmp/multipartBody7251904333366060783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_22_12_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfedbe5a8d5de5e28610918888b19155.jpg","text":"TemporaryFile(/tmp/multipartBody3079693704250719964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_22_00_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/137dd94ee3b0929ba21724706815afb5.jpg","text":"TemporaryFile(/tmp/multipartBody2906302838858017357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_21_54_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2334ab925af5dfa5a4bf530d56045b06.jpg","text":"TemporaryFile(/tmp/multipartBody5894031591212009681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566923039,"filename":"image_15072025_09_22_06_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372164873","file1":"1372164798","file0":"1372164706","file4":"1372164956","file5":"1372165035","file3":"1372164916"},"map_files_photo_id_array":[{"photo_id":"1372165035","filename":"file5"},{"photo_id":"1372164873","filename":"file2"},{"photo_id":"1372164956","filename":"file4"},{"photo_id":"1372164798","filename":"file1"},{"photo_id":"1372164706","filename":"file0"},{"photo_id":"1372164916","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372164798":["hashtag1","hashtag2"]},{"1372164916":["hashtag1","hashtag2"]},{"1372165035":["hashtag1","hashtag2"]},{"1372164873":["hashtag1","hashtag2"]},{"1372164706":["hashtag1","hashtag2"]},{"1372164956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372164798, 1372164916, 1372165035, 1372164873, 1372164706, 1372164956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.062052965164185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:08:42.383008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_15_2505.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_18_3646.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_21_2726.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_24_2689.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_27_3593.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_30_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_15_2505.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_18_3646.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_21_2726.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_24_2689.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_27_3593.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_30_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372165418","1372165548","1372165350","1372165236","1372165500","1372165289"],"photo_ids_order":["1372165236","1372165289","1372165350","1372165418","1372165500","1372165548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1a4468f056e2b1931d854a474ef3bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5245242075246521095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_24_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35d2c0ee192771d38845896a8f27df5e.jpg","text":"TemporaryFile(/tmp/multipartBody2705267654571503904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_30_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27870abd0b070588fa3b70ffcb683aff.jpg","text":"TemporaryFile(/tmp/multipartBody8114867883348005970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf4b14470b57242d15a5539cb4bbcd12.jpg","text":"TemporaryFile(/tmp/multipartBody8013395001086975553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_15_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e91fd36bd91900f71115d52403bc689.jpg","text":"TemporaryFile(/tmp/multipartBody7568815476209890854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_27_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57b9d551967e4ee395f59aaf556596da.jpg","text":"TemporaryFile(/tmp/multipartBody7222198436593470641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752566983401,"filename":"image_15072025_09_22_18_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372165350","file1":"1372165289","file0":"1372165236","file4":"1372165500","file5":"1372165548","file3":"1372165418"},"map_files_photo_id_array":[{"photo_id":"1372165548","filename":"file5"},{"photo_id":"1372165350","filename":"file2"},{"photo_id":"1372165500","filename":"file4"},{"photo_id":"1372165289","filename":"file1"},{"photo_id":"1372165236","filename":"file0"},{"photo_id":"1372165418","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372165418":["hashtag1","hashtag2"]},{"1372165548":["hashtag1","hashtag2"]},{"1372165350":["hashtag1","hashtag2"]},{"1372165236":["hashtag1","hashtag2"]},{"1372165500":["hashtag1","hashtag2"]},{"1372165289":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372165418, 1372165548, 1372165350, 1372165236, 1372165500, 1372165289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.95885348320007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:09:42.293476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_36_3579.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_48_2731.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_51_3543.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_54_2627.jpg', '/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_57_2660.jpg', '/home/pi/Desktop/images/15072025/09/23/image_15072025_09_23_05_2561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_36_3579.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_48_2731.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_51_3543.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_54_2627.jpg
/home/pi/Desktop/images/15072025/09/22/image_15072025_09_22_57_2660.jpg
/home/pi/Desktop/images/15072025/09/23/image_15072025_09_23_05_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":["1372165600","1372165593","1372165596","1372165581","1372165589","1372165586"],"photo_ids_order":["1372165581","1372165586","1372165589","1372165593","1372165596","1372165600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aa695f9d5f2b954408cc02850b4e9ba4.jpg","text":"TemporaryFile(/tmp/multipartBody528659020227004903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_23_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/7/15/b679a368e0b51440b79095a7000bc6be.jpg","text":"TemporaryFile(/tmp/multipartBody1597438705280232535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_22_54_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22b6430244eab98c079d1d0ce9f50aed.jpg","text":"TemporaryFile(/tmp/multipartBody3829738766663972805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_22_57_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21702359163d58ad077dc3ef6185e32e.jpg","text":"TemporaryFile(/tmp/multipartBody3581734417809317387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_22_36_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a2b756d31b96839ca111247ae96aeb5.jpg","text":"TemporaryFile(/tmp/multipartBody515790501640570444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_22_51_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1aee3360631fda3c0c8bf2375b3f20c.jpg","text":"TemporaryFile(/tmp/multipartBody6164380391155469048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567043332,"filename":"image_15072025_09_22_48_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372165589","file1":"1372165586","file0":"1372165581","file4":"1372165596","file5":"1372165600","file3":"1372165593"},"map_files_photo_id_array":[{"photo_id":"1372165600","filename":"file5"},{"photo_id":"1372165589","filename":"file2"},{"photo_id":"1372165596","filename":"file4"},{"photo_id":"1372165586","filename":"file1"},{"photo_id":"1372165581","filename":"file0"},{"photo_id":"1372165593","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372165600":["hashtag1","hashtag2"]},{"1372165593":["hashtag1","hashtag2"]},{"1372165596":["hashtag1","hashtag2"]},{"1372165581":["hashtag1","hashtag2"]},{"1372165589":["hashtag1","hashtag2"]},{"1372165586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372165600, 1372165593, 1372165596, 1372165581, 1372165589, 1372165586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.583041191101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:10:42.085433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_27_2612.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_30_3536.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_35_2590.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_39_3649.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_44_2585.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_48_3544.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_27_2612.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_30_3536.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_35_2590.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_39_3649.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_44_2585.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_48_3544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372165839","1372165746","1372165793","1372165713","1372165883","1372165685"],"photo_ids_order":["1372165685","1372165713","1372165746","1372165793","1372165839","1372165883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d82bef33f9f82ce508af1a468c997e31.jpg","text":"TemporaryFile(/tmp/multipartBody6574546785269301521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_44_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f55fbb18b04ea958e6d9d80291f762d3.jpg","text":"TemporaryFile(/tmp/multipartBody2476479332263662670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_35_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d397a4a772a50d773591416bfeb775ac.jpg","text":"TemporaryFile(/tmp/multipartBody7059844327363152006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_39_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/610829fd948dadae386b2e8a975f087a.jpg","text":"TemporaryFile(/tmp/multipartBody7448249494365594496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_30_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f356e86b88f9d154b65fa42d5d1ac13.jpg","text":"TemporaryFile(/tmp/multipartBody1987787195716019594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_48_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a21d13b4af0fa005e1639c722651155.jpg","text":"TemporaryFile(/tmp/multipartBody6458050966194044189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567103108,"filename":"image_15072025_09_24_27_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372165746","file1":"1372165713","file0":"1372165685","file4":"1372165839","file5":"1372165883","file3":"1372165793"},"map_files_photo_id_array":[{"photo_id":"1372165883","filename":"file5"},{"photo_id":"1372165746","filename":"file2"},{"photo_id":"1372165839","filename":"file4"},{"photo_id":"1372165713","filename":"file1"},{"photo_id":"1372165685","filename":"file0"},{"photo_id":"1372165793","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372165839":["hashtag1","hashtag2"]},{"1372165746":["hashtag1","hashtag2"]},{"1372165793":["hashtag1","hashtag2"]},{"1372165713":["hashtag1","hashtag2"]},{"1372165883":["hashtag1","hashtag2"]},{"1372165685":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372165839, 1372165746, 1372165793, 1372165713, 1372165883, 1372165685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.15632176399231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:11:42.570861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_50_2620.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_54_3495.jpg', '/home/pi/Desktop/images/15072025/09/24/image_15072025_09_25_00_3535.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_27_3551.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_30_2531.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_32_2732.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_50_2620.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_24_54_3495.jpg
/home/pi/Desktop/images/15072025/09/24/image_15072025_09_25_00_3535.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_27_3551.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_30_2531.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_32_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372165948","1372165980","1372165977","1372165985","1372166015","1372165919"],"photo_ids_order":["1372165919","1372165948","1372165977","1372165980","1372165985","1372166015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55e294843286f6b11c18f6b61c11d38d.jpg","text":"TemporaryFile(/tmp/multipartBody2950690727957404753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_24_54_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d47a406b6d77e34dc90c64ab7754847.jpg","text":"TemporaryFile(/tmp/multipartBody7699888457871597058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_25_27_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dfd229503d2c9baa995a916c40821280.jpg","text":"TemporaryFile(/tmp/multipartBody4521878192262967276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_25_00_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4cb4d8bbb67db6fa9704322b9ac15e1.jpg","text":"TemporaryFile(/tmp/multipartBody4970306697856983927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_25_30_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/28a5284ac92ef4b1eebdc365ade646c4.jpg","text":"TemporaryFile(/tmp/multipartBody3991730955273552139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_25_32_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/227bf832a8dc0352a986e5fc2f995e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5158454014854226256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567163603,"filename":"image_15072025_09_24_50_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372165977","file1":"1372165948","file0":"1372165919","file4":"1372165985","file5":"1372166015","file3":"1372165980"},"map_files_photo_id_array":[{"photo_id":"1372166015","filename":"file5"},{"photo_id":"1372165977","filename":"file2"},{"photo_id":"1372165985","filename":"file4"},{"photo_id":"1372165948","filename":"file1"},{"photo_id":"1372165919","filename":"file0"},{"photo_id":"1372165980","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372165948":["hashtag1","hashtag2"]},{"1372165980":["hashtag1","hashtag2"]},{"1372165977":["hashtag1","hashtag2"]},{"1372165985":["hashtag1","hashtag2"]},{"1372166015":["hashtag1","hashtag2"]},{"1372165919":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372165948, 1372165980, 1372165977, 1372165985, 1372166015, 1372165919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.32693433761597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:12:41.893863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_36_3598.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_39_2637.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_45_3546.jpg', '/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_53_2606.jpg', '/home/pi/Desktop/images/15072025/09/27/image_15072025_09_27_05_2567.jpg', '/home/pi/Desktop/images/15072025/09/27/image_15072025_09_27_54_3576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_36_3598.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_39_2637.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_45_3546.jpg
/home/pi/Desktop/images/15072025/09/25/image_15072025_09_25_53_2606.jpg
/home/pi/Desktop/images/15072025/09/27/image_15072025_09_27_05_2567.jpg
/home/pi/Desktop/images/15072025/09/27/image_15072025_09_27_54_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166050","1372166062","1372166084","1372166075","1372166069","1372166078"],"photo_ids_order":["1372166050","1372166062","1372166069","1372166075","1372166078","1372166084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b6ae6205aee4e212a64157b57d16285.jpg","text":"TemporaryFile(/tmp/multipartBody6986824964807534609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_25_36_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d473d6f5fcc2236a0684070910b05a8.jpg","text":"TemporaryFile(/tmp/multipartBody7062060685985497946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_25_39_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71b1a7043e327ae673ce47184e2f38e0.jpg","text":"TemporaryFile(/tmp/multipartBody3726706569856120543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_27_54_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b470d1c97d9328b2d5ec3ed11cd1f59d.jpg","text":"TemporaryFile(/tmp/multipartBody8530480739486400727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_25_53_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/768e2f9cff4cad86211e479385ff9db5.jpg","text":"TemporaryFile(/tmp/multipartBody2104266287928956654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_25_45_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb6eb6b5614ad9e865cf61846e39867b.jpg","text":"TemporaryFile(/tmp/multipartBody7529887601797940439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567222934,"filename":"image_15072025_09_27_05_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166069","file1":"1372166062","file0":"1372166050","file4":"1372166078","file5":"1372166084","file3":"1372166075"},"map_files_photo_id_array":[{"photo_id":"1372166084","filename":"file5"},{"photo_id":"1372166069","filename":"file2"},{"photo_id":"1372166078","filename":"file4"},{"photo_id":"1372166062","filename":"file1"},{"photo_id":"1372166050","filename":"file0"},{"photo_id":"1372166075","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166050":["hashtag1","hashtag2"]},{"1372166062":["hashtag1","hashtag2"]},{"1372166084":["hashtag1","hashtag2"]},{"1372166075":["hashtag1","hashtag2"]},{"1372166069":["hashtag1","hashtag2"]},{"1372166078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166050, 1372166062, 1372166084, 1372166075, 1372166069, 1372166078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.14368963241577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:13:41.852855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/28/image_15072025_09_28_09_3582.jpg', '/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_23_3605.jpg', '/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_44_2612.jpg', '/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_50_2614.jpg', '/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_53_2740.jpg', '/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_57_3654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/28/image_15072025_09_28_09_3582.jpg
/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_23_3605.jpg
/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_44_2612.jpg
/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_50_2614.jpg
/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_53_2740.jpg
/home/pi/Desktop/images/15072025/09/29/image_15072025_09_29_57_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166107","1372166101","1372166110","1372166104","1372166097","1372166112"],"photo_ids_order":["1372166097","1372166101","1372166104","1372166107","1372166110","1372166112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3cc632d881cfcad4d0091ca8c49e46b0.jpg","text":"TemporaryFile(/tmp/multipartBody2006813072327801216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_29_50_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4c54477623d2cabd140d5808cc15632.jpg","text":"TemporaryFile(/tmp/multipartBody6775944793350686511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_29_23_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b43bf9d96f8009cae1b572a1cbcbbc2.jpg","text":"TemporaryFile(/tmp/multipartBody753035384277481051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_29_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/7/15/a679715a43dacfd2e019a5c51545f83e.jpg","text":"TemporaryFile(/tmp/multipartBody6680322075116237481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_29_44_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d63e0b05cf899c92434ee0525de0e643.jpg","text":"TemporaryFile(/tmp/multipartBody7104194503250496328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_28_09_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f2e6b94c7447a92ee912ebe856d96dc.jpg","text":"TemporaryFile(/tmp/multipartBody2757544576334040742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567282903,"filename":"image_15072025_09_29_57_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166104","file1":"1372166101","file0":"1372166097","file4":"1372166110","file5":"1372166112","file3":"1372166107"},"map_files_photo_id_array":[{"photo_id":"1372166112","filename":"file5"},{"photo_id":"1372166104","filename":"file2"},{"photo_id":"1372166110","filename":"file4"},{"photo_id":"1372166101","filename":"file1"},{"photo_id":"1372166097","filename":"file0"},{"photo_id":"1372166107","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166107":["hashtag1","hashtag2"]},{"1372166101":["hashtag1","hashtag2"]},{"1372166110":["hashtag1","hashtag2"]},{"1372166104":["hashtag1","hashtag2"]},{"1372166097":["hashtag1","hashtag2"]},{"1372166112":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166107, 1372166101, 1372166110, 1372166104, 1372166097, 1372166112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.81871485710144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:14:42.089504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_07_3011.jpg', '/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_31_2591.jpg', '/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_35_3815.jpg', '/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_38_2611.jpg', '/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_40_2601.jpg', '/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_44_3650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_07_3011.jpg
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_31_2591.jpg
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_35_3815.jpg
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_38_2611.jpg
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_40_2601.jpg
/home/pi/Desktop/images/15072025/09/30/image_15072025_09_30_44_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":["1372166140","1372166137","1372166145","1372166130","1372166124","1372166133"],"photo_ids_order":["1372166124","1372166130","1372166133","1372166137","1372166140","1372166145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04df2cf1ead9b84d2f9a95828cf536fe.jpg","text":"TemporaryFile(/tmp/multipartBody8125030706995871539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_30_40_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40b374d94a166e7422f49a57d7b49619.jpg","text":"TemporaryFile(/tmp/multipartBody6519536805749952034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_30_38_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b23ce8f555d642fce4b0f8c34ab56b1.jpg","text":"TemporaryFile(/tmp/multipartBody5465128321151271850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_30_44_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/290c8afb289189e7308be43b7064a370.jpg","text":"TemporaryFile(/tmp/multipartBody3862088212986364216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_30_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/7/15/c373e6d761c37185c8fa1a5f4790222c.jpg","text":"TemporaryFile(/tmp/multipartBody1537891503691516416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_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/7/15/f93584d87d0e572fb627d4c6e023b802.jpg","text":"TemporaryFile(/tmp/multipartBody4374530454875588134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567343173,"filename":"image_15072025_09_30_35_3815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166133","file1":"1372166130","file0":"1372166124","file4":"1372166140","file5":"1372166145","file3":"1372166137"},"map_files_photo_id_array":[{"photo_id":"1372166145","filename":"file5"},{"photo_id":"1372166133","filename":"file2"},{"photo_id":"1372166140","filename":"file4"},{"photo_id":"1372166130","filename":"file1"},{"photo_id":"1372166124","filename":"file0"},{"photo_id":"1372166137","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166140":["hashtag1","hashtag2"]},{"1372166137":["hashtag1","hashtag2"]},{"1372166145":["hashtag1","hashtag2"]},{"1372166130":["hashtag1","hashtag2"]},{"1372166124":["hashtag1","hashtag2"]},{"1372166133":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166140, 1372166137, 1372166145, 1372166130, 1372166124, 1372166133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.52852177619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:15:42.424121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_07_2584.jpg', '/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_37_2535.jpg', '/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_41_3509.jpg', '/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_43_2633.jpg', '/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_04_3011.jpg', '/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_07_2608.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_07_2584.jpg
/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_37_2535.jpg
/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_41_3509.jpg
/home/pi/Desktop/images/15072025/09/31/image_15072025_09_31_43_2633.jpg
/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_04_3011.jpg
/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_07_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166167","1372166172","1372166160","1372166183","1372166180","1372166176"],"photo_ids_order":["1372166160","1372166167","1372166172","1372166176","1372166180","1372166183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57ae0ca01be84bf904e514f8ab8cc100.jpg","text":"TemporaryFile(/tmp/multipartBody8547846952221410952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_31_37_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db814dc42a8dee47d93efd05b1a6a0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8336849202948166458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_31_41_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/292d53903c97b481e97469286b65277b.jpg","text":"TemporaryFile(/tmp/multipartBody7138368848243206244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_31_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/7/15/a959085b35d77383eb64858790b4b574.jpg","text":"TemporaryFile(/tmp/multipartBody222234368203638267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_32_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/7/15/971da5916bd3aaab7fbf3c13a439c12b.jpg","text":"TemporaryFile(/tmp/multipartBody55628530789026964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_32_04_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3cd9f22aa645e851559d268b7484d5bb.jpg","text":"TemporaryFile(/tmp/multipartBody455031611688851261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567403502,"filename":"image_15072025_09_31_43_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166172","file1":"1372166167","file0":"1372166160","file4":"1372166180","file5":"1372166183","file3":"1372166176"},"map_files_photo_id_array":[{"photo_id":"1372166183","filename":"file5"},{"photo_id":"1372166172","filename":"file2"},{"photo_id":"1372166180","filename":"file4"},{"photo_id":"1372166167","filename":"file1"},{"photo_id":"1372166160","filename":"file0"},{"photo_id":"1372166176","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166167":["hashtag1","hashtag2"]},{"1372166172":["hashtag1","hashtag2"]},{"1372166160":["hashtag1","hashtag2"]},{"1372166183":["hashtag1","hashtag2"]},{"1372166180":["hashtag1","hashtag2"]},{"1372166176":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166167, 1372166172, 1372166160, 1372166183, 1372166180, 1372166176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.05765771865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:16:42.549076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_34_2787.jpg', '/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_49_2765.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_05_3708.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_07_2769.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_10_2561.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_14_3662.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_34_2787.jpg
/home/pi/Desktop/images/15072025/09/32/image_15072025_09_32_49_2765.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_05_3708.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_07_2769.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_10_2561.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_14_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166206","1372166193","1372166196","1372166214","1372166201","1372166210"],"photo_ids_order":["1372166193","1372166196","1372166201","1372166206","1372166210","1372166214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f81ef7170c95fa6b55e7b621d9cfc45a.jpg","text":"TemporaryFile(/tmp/multipartBody7714692673314316176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_33_07_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4f7ecc73d0a366d8fc08434d9e7046f.jpg","text":"TemporaryFile(/tmp/multipartBody2919290059880247472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_32_34_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d4b97832b6667d49cf2580bfef2c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody423152881811029552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_32_49_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/15d7ea70598be924d0fe1341867e8c65.jpg","text":"TemporaryFile(/tmp/multipartBody1092902613073976117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_33_14_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/818f0adb43aa00b3126fac9b8f948466.jpg","text":"TemporaryFile(/tmp/multipartBody285307170568050694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_33_05_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/078282835ea836e132e52b18d1ae4d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1706525935230697585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567463610,"filename":"image_15072025_09_33_10_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166201","file1":"1372166196","file0":"1372166193","file4":"1372166210","file5":"1372166214","file3":"1372166206"},"map_files_photo_id_array":[{"photo_id":"1372166214","filename":"file5"},{"photo_id":"1372166201","filename":"file2"},{"photo_id":"1372166210","filename":"file4"},{"photo_id":"1372166196","filename":"file1"},{"photo_id":"1372166193","filename":"file0"},{"photo_id":"1372166206","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166206":["hashtag1","hashtag2"]},{"1372166193":["hashtag1","hashtag2"]},{"1372166196":["hashtag1","hashtag2"]},{"1372166214":["hashtag1","hashtag2"]},{"1372166201":["hashtag1","hashtag2"]},{"1372166210":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166206, 1372166193, 1372166196, 1372166214, 1372166201, 1372166210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.88110589981079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:18:03.206107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_19_2762.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_23_3674.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_25_2727.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_49_2723.jpg', '/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_52_3767.jpg', '/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_44_3625.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_19_2762.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_23_3674.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_25_2727.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_49_2723.jpg
/home/pi/Desktop/images/15072025/09/33/image_15072025_09_33_52_3767.jpg
/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_44_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166233","1372166244","1372166238","1372166249","1372166228","1372166225"],"photo_ids_order":["1372166225","1372166228","1372166233","1372166238","1372166244","1372166249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31112232715307856e678343e349854e.jpg","text":"TemporaryFile(/tmp/multipartBody6088538305752306386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_33_25_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8998d0253a2d671b30b228c54d8217d.jpg","text":"TemporaryFile(/tmp/multipartBody8333269125506756909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_33_52_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aa3adf2ddeeeb7ca85cf30a2a70a37ed.jpg","text":"TemporaryFile(/tmp/multipartBody8134307853363978011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_33_49_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/761217012ec48eff496b9e15937c74c1.jpg","text":"TemporaryFile(/tmp/multipartBody6608958501795078988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_34_44_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6064eb5bc51a452a3e770939afab6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2308580772266213132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_33_23_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4f3130af02573098167e22ccb307a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3751669141925242438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567544440,"filename":"image_15072025_09_33_19_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166233","file1":"1372166228","file0":"1372166225","file4":"1372166244","file5":"1372166249","file3":"1372166238"},"map_files_photo_id_array":[{"photo_id":"1372166249","filename":"file5"},{"photo_id":"1372166233","filename":"file2"},{"photo_id":"1372166244","filename":"file4"},{"photo_id":"1372166228","filename":"file1"},{"photo_id":"1372166225","filename":"file0"},{"photo_id":"1372166238","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166233":["hashtag1","hashtag2"]},{"1372166244":["hashtag1","hashtag2"]},{"1372166238":["hashtag1","hashtag2"]},{"1372166249":["hashtag1","hashtag2"]},{"1372166228":["hashtag1","hashtag2"]},{"1372166225":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166233, 1372166244, 1372166238, 1372166249, 1372166228, 1372166225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.595186710357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:19:03.188726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_46_2718.jpg', '/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_49_2543.jpg', '/home/pi/Desktop/images/15072025/09/35/image_15072025_09_35_52_3583.jpg', '/home/pi/Desktop/images/15072025/09/36/image_15072025_09_36_46_3555.jpg', '/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_04_2763.jpg', '/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_07_2575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_46_2718.jpg
/home/pi/Desktop/images/15072025/09/34/image_15072025_09_34_49_2543.jpg
/home/pi/Desktop/images/15072025/09/35/image_15072025_09_35_52_3583.jpg
/home/pi/Desktop/images/15072025/09/36/image_15072025_09_36_46_3555.jpg
/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_04_2763.jpg
/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_07_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166272","1372166292","1372166277","1372166282","1372166288","1372166269"],"photo_ids_order":["1372166269","1372166272","1372166277","1372166282","1372166288","1372166292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e81c6a47c06cde01abd2c395a357c8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1496876743620735674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_34_49_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e9b252112baf360694f6d8b0bec84f0.jpg","text":"TemporaryFile(/tmp/multipartBody1938599084900990374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_37_07_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f8d26e59e1932bbc3e95ea7ec21d46c.jpg","text":"TemporaryFile(/tmp/multipartBody3916727618315136190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_35_52_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca10059449cf224bd085a4276a231b21.jpg","text":"TemporaryFile(/tmp/multipartBody6825373411781305134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_36_46_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/73967bea674e12f8f5f5556f2e8ffd4c.jpg","text":"TemporaryFile(/tmp/multipartBody2003783757927386992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_37_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/7/15/2a0c4f6e0c3dfa7d4a0688d9025b41d2.jpg","text":"TemporaryFile(/tmp/multipartBody3848111569195450077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567604381,"filename":"image_15072025_09_34_46_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166277","file1":"1372166272","file0":"1372166269","file4":"1372166288","file5":"1372166292","file3":"1372166282"},"map_files_photo_id_array":[{"photo_id":"1372166292","filename":"file5"},{"photo_id":"1372166277","filename":"file2"},{"photo_id":"1372166288","filename":"file4"},{"photo_id":"1372166272","filename":"file1"},{"photo_id":"1372166269","filename":"file0"},{"photo_id":"1372166282","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166272":["hashtag1","hashtag2"]},{"1372166292":["hashtag1","hashtag2"]},{"1372166277":["hashtag1","hashtag2"]},{"1372166282":["hashtag1","hashtag2"]},{"1372166288":["hashtag1","hashtag2"]},{"1372166269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166272, 1372166292, 1372166277, 1372166282, 1372166288, 1372166269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.00766134262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:20:03.306893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_52_2612.jpg', '/home/pi/Desktop/images/15072025/09/38/image_15072025_09_38_37_3619.jpg', '/home/pi/Desktop/images/15072025/09/38/image_15072025_09_39_01_3594.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_07_2828.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_09_2640.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_13_3619.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/37/image_15072025_09_37_52_2612.jpg
/home/pi/Desktop/images/15072025/09/38/image_15072025_09_38_37_3619.jpg
/home/pi/Desktop/images/15072025/09/38/image_15072025_09_39_01_3594.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_07_2828.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_09_2640.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_13_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166314","1372166316","1372166310","1372166304","1372166307","1372166301"],"photo_ids_order":["1372166301","1372166304","1372166307","1372166310","1372166314","1372166316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/296f8d68563183f46df8345cdcb144e0.jpg","text":"TemporaryFile(/tmp/multipartBody2538924851391572141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_39_09_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/847f6df8973a285f40bbe56978311218.jpg","text":"TemporaryFile(/tmp/multipartBody7404023109191597459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_39_13_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/43330925bb73923f2197cae42921ca87.jpg","text":"TemporaryFile(/tmp/multipartBody6290298619134261672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_39_07_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0f6c5cf4b3a5bdbb742c8dd38158fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1326667244650886289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_38_37_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a47c1a22af24a00298551eb9254d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3445311926530107715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_39_01_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64127211cc5ada1ab437c53abee12be1.jpg","text":"TemporaryFile(/tmp/multipartBody2901455664990267128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567664422,"filename":"image_15072025_09_37_52_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166307","file1":"1372166304","file0":"1372166301","file4":"1372166314","file5":"1372166316","file3":"1372166310"},"map_files_photo_id_array":[{"photo_id":"1372166316","filename":"file5"},{"photo_id":"1372166307","filename":"file2"},{"photo_id":"1372166314","filename":"file4"},{"photo_id":"1372166304","filename":"file1"},{"photo_id":"1372166301","filename":"file0"},{"photo_id":"1372166310","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166314":["hashtag1","hashtag2"]},{"1372166316":["hashtag1","hashtag2"]},{"1372166310":["hashtag1","hashtag2"]},{"1372166304":["hashtag1","hashtag2"]},{"1372166307":["hashtag1","hashtag2"]},{"1372166301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166314, 1372166316, 1372166310, 1372166304, 1372166307, 1372166301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.70950269699097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:21:03.298423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_31_2525.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_33_2579.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_37_3658.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_39_2604.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_43_3546.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_46_2690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_31_2525.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_33_2579.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_37_3658.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_39_2604.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_43_3546.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_46_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":["1372166350","1372166344","1372166338","1372166332","1372166335","1372166354"],"photo_ids_order":["1372166332","1372166335","1372166338","1372166344","1372166350","1372166354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4483f9a6fe2469ebfa3b6f5803cee6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1359333098995547058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_43_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/256ccfea04286c7b9d5865f54c1c1992.jpg","text":"TemporaryFile(/tmp/multipartBody5117472491179133499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_39_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/085f0d8bae12fb058f00a70021aea783.jpg","text":"TemporaryFile(/tmp/multipartBody2713776494319208358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_37_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1a87a6add4181a364771f9b2f33d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody6057130857376924319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_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/7/15/b67a1ceb49292ee7693b4a6dc8e028d8.jpg","text":"TemporaryFile(/tmp/multipartBody2352219467101574840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_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/7/15/c496c5e7d346038bf167d811062aad18.jpg","text":"TemporaryFile(/tmp/multipartBody435369256034650165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567724523,"filename":"image_15072025_09_39_46_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166338","file1":"1372166335","file0":"1372166332","file4":"1372166350","file5":"1372166354","file3":"1372166344"},"map_files_photo_id_array":[{"photo_id":"1372166354","filename":"file5"},{"photo_id":"1372166338","filename":"file2"},{"photo_id":"1372166350","filename":"file4"},{"photo_id":"1372166335","filename":"file1"},{"photo_id":"1372166332","filename":"file0"},{"photo_id":"1372166344","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166350":["hashtag1","hashtag2"]},{"1372166344":["hashtag1","hashtag2"]},{"1372166338":["hashtag1","hashtag2"]},{"1372166332":["hashtag1","hashtag2"]},{"1372166335":["hashtag1","hashtag2"]},{"1372166354":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166350, 1372166344, 1372166338, 1372166332, 1372166335, 1372166354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.98368000984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:22:02.560037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_52_3574.jpg', '/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_54_2608.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_06_2840.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_10_3576.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_37_3707.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_40_2599.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_52_3574.jpg
/home/pi/Desktop/images/15072025/09/39/image_15072025_09_39_54_2608.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_06_2840.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_10_3576.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_37_3707.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_40_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166377","1372166365","1372166379","1372166370","1372166361","1372166374"],"photo_ids_order":["1372166361","1372166365","1372166370","1372166374","1372166377","1372166379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/099659857e11c5ad74e5e4ebda3f56a9.jpg","text":"TemporaryFile(/tmp/multipartBody1017187449183050719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_40_37_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14c6dd651a62597b91196dfcb813ea29.jpg","text":"TemporaryFile(/tmp/multipartBody4034042203025264268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_39_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/7/15/dc2aff0a99a3d3cb4edafc9069181485.jpg","text":"TemporaryFile(/tmp/multipartBody6400059734974937501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_40_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d48ca0956aaddfe334c93245b13edc2.jpg","text":"TemporaryFile(/tmp/multipartBody3555444969901168039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_40_06_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aef6b3e31208df747161b520ad1f02e8.jpg","text":"TemporaryFile(/tmp/multipartBody6943755864409179442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_39_52_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2bff023e8508b3be23f4fc16277c9d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2021442516479338579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567783848,"filename":"image_15072025_09_40_10_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166370","file1":"1372166365","file0":"1372166361","file4":"1372166377","file5":"1372166379","file3":"1372166374"},"map_files_photo_id_array":[{"photo_id":"1372166379","filename":"file5"},{"photo_id":"1372166370","filename":"file2"},{"photo_id":"1372166377","filename":"file4"},{"photo_id":"1372166365","filename":"file1"},{"photo_id":"1372166361","filename":"file0"},{"photo_id":"1372166374","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166377":["hashtag1","hashtag2"]},{"1372166365":["hashtag1","hashtag2"]},{"1372166379":["hashtag1","hashtag2"]},{"1372166370":["hashtag1","hashtag2"]},{"1372166361":["hashtag1","hashtag2"]},{"1372166374":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166377, 1372166365, 1372166379, 1372166370, 1372166361, 1372166374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.47448134422302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:23:02.942143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_42_2609.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_46_3542.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_48_2718.jpg', '/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_52_3568.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_24_2525.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_30_2730.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_42_2609.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_46_3542.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_48_2718.jpg
/home/pi/Desktop/images/15072025/09/40/image_15072025_09_40_52_3568.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_24_2525.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_30_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166398","1372166404","1372166401","1372166390","1372166387","1372166395"],"photo_ids_order":["1372166387","1372166390","1372166395","1372166398","1372166401","1372166404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65cdd132ad784fd76359781fb3097ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2559013846578562249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_40_52_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ca03c8b7c58917d1824557fc275e8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5753832713419244529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_41_30_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f63bdd903577c42fab2f8cd6dd3bb1a9.jpg","text":"TemporaryFile(/tmp/multipartBody4060655213299328725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_41_24_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6cf44a5ad6b9468c37089be6b4790a4.jpg","text":"TemporaryFile(/tmp/multipartBody8460439738305709478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_40_46_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0faefe2545467df14d7b46ef584ba7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1378076929628358477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_40_42_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd661dad16ddbda67880e4653c294782.jpg","text":"TemporaryFile(/tmp/multipartBody8103955970170132412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567844269,"filename":"image_15072025_09_40_48_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166395","file1":"1372166390","file0":"1372166387","file4":"1372166401","file5":"1372166404","file3":"1372166398"},"map_files_photo_id_array":[{"photo_id":"1372166404","filename":"file5"},{"photo_id":"1372166395","filename":"file2"},{"photo_id":"1372166401","filename":"file4"},{"photo_id":"1372166390","filename":"file1"},{"photo_id":"1372166387","filename":"file0"},{"photo_id":"1372166398","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166398":["hashtag1","hashtag2"]},{"1372166404":["hashtag1","hashtag2"]},{"1372166401":["hashtag1","hashtag2"]},{"1372166390":["hashtag1","hashtag2"]},{"1372166387":["hashtag1","hashtag2"]},{"1372166395":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166398, 1372166404, 1372166401, 1372166390, 1372166387, 1372166395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.06484055519104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:24:02.536947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_34_3546.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_42_2649.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_46_3661.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_52_3574.jpg', '/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_54_2653.jpg', '/home/pi/Desktop/images/15072025/09/42/image_15072025_09_42_03_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_34_3546.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_42_2649.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_46_3661.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_52_3574.jpg
/home/pi/Desktop/images/15072025/09/41/image_15072025_09_41_54_2653.jpg
/home/pi/Desktop/images/15072025/09/42/image_15072025_09_42_03_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":["1372166422","1372166425","1372166418","1372166427","1372166411","1372166414"],"photo_ids_order":["1372166411","1372166414","1372166418","1372166422","1372166425","1372166427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/313e449aab3f9dbe50daff1e86e542a2.jpg","text":"TemporaryFile(/tmp/multipartBody931732156208756866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_41_52_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e8e20247b82a3401b4c29c3062b1de6.jpg","text":"TemporaryFile(/tmp/multipartBody2665950372909588667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_41_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/7/15/33e4c7eba7862fad2ccbf8bb23e281a1.jpg","text":"TemporaryFile(/tmp/multipartBody5137109646951624202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_41_46_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/488e7a4b9b3b329c3e19308c67c50b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2296644775514568689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_42_03_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/762c99ce283f23cfb3245cf557e363c9.jpg","text":"TemporaryFile(/tmp/multipartBody2784500763770839747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_41_34_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbf13cd88333aa1f6ae30e1d3df643fd.jpg","text":"TemporaryFile(/tmp/multipartBody5771928711904967694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567903731,"filename":"image_15072025_09_41_42_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166418","file1":"1372166414","file0":"1372166411","file4":"1372166425","file5":"1372166427","file3":"1372166422"},"map_files_photo_id_array":[{"photo_id":"1372166427","filename":"file5"},{"photo_id":"1372166418","filename":"file2"},{"photo_id":"1372166425","filename":"file4"},{"photo_id":"1372166414","filename":"file1"},{"photo_id":"1372166411","filename":"file0"},{"photo_id":"1372166422","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166422":["hashtag1","hashtag2"]},{"1372166425":["hashtag1","hashtag2"]},{"1372166418":["hashtag1","hashtag2"]},{"1372166427":["hashtag1","hashtag2"]},{"1372166411":["hashtag1","hashtag2"]},{"1372166414":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166422, 1372166425, 1372166418, 1372166427, 1372166411, 1372166414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.73856282234192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:25:03.137479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/42/image_15072025_09_42_30_2692.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_07_3661.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_12_2829.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_15_2841.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_19_3684.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_21_2605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/42/image_15072025_09_42_30_2692.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_07_3661.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_12_2829.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_15_2841.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_19_3684.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_21_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166449","1372166458","1372166460","1372166454","1372166456","1372166444"],"photo_ids_order":["1372166444","1372166449","1372166454","1372166456","1372166458","1372166460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2fab2bf2747479b24d713788bf3a6f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4078768293777849845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_43_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/7/15/39eb77dfff0fe7b9a0d7ad0cb1cc75ea.jpg","text":"TemporaryFile(/tmp/multipartBody6272932001527380051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_43_19_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e824607e1999e537aa19b3fca997a32e.jpg","text":"TemporaryFile(/tmp/multipartBody176549595696601636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_43_21_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09da4d19a4ee694d3fb51a6e58198507.jpg","text":"TemporaryFile(/tmp/multipartBody5099598097584715546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_43_12_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1cc8337f76404f379039ecdc0de5a915.jpg","text":"TemporaryFile(/tmp/multipartBody4897773787457894953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_43_15_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f384e4d87edb4ae7d51569f855814f1.jpg","text":"TemporaryFile(/tmp/multipartBody240998125078271503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752567964425,"filename":"image_15072025_09_42_30_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166454","file1":"1372166449","file0":"1372166444","file4":"1372166458","file5":"1372166460","file3":"1372166456"},"map_files_photo_id_array":[{"photo_id":"1372166460","filename":"file5"},{"photo_id":"1372166454","filename":"file2"},{"photo_id":"1372166458","filename":"file4"},{"photo_id":"1372166449","filename":"file1"},{"photo_id":"1372166444","filename":"file0"},{"photo_id":"1372166456","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166449":["hashtag1","hashtag2"]},{"1372166458":["hashtag1","hashtag2"]},{"1372166460":["hashtag1","hashtag2"]},{"1372166454":["hashtag1","hashtag2"]},{"1372166456":["hashtag1","hashtag2"]},{"1372166444":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166449, 1372166458, 1372166460, 1372166454, 1372166456, 1372166444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49768114089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:26:03.029530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_36_2596.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_39_3647.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_42_2653.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_49_3569.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_51_2743.jpg', '/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_54_2636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_36_2596.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_39_3647.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_42_2653.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_49_3569.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_51_2743.jpg
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_54_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166482","1372166476","1372166479","1372166470","1372166465","1372166485"],"photo_ids_order":["1372166465","1372166470","1372166476","1372166479","1372166482","1372166485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/15080228f847b82f8afdbaae2314c200.jpg","text":"TemporaryFile(/tmp/multipartBody3877578200278033424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_51_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c44f2f1ab5c865dafb14242048db6c9.jpg","text":"TemporaryFile(/tmp/multipartBody7651654569950282407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_42_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5d94cb157eecb9bd9c242584b093dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2823301452225527818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_49_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79e7b09dae8617b74e68cc3a6f48cc36.jpg","text":"TemporaryFile(/tmp/multipartBody5996943506985621835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_39_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/07794ef582b9a16f4c27eb2452ced9aa.jpg","text":"TemporaryFile(/tmp/multipartBody7052175130248587288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_36_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0f83ff494005080a9e037615fb96b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7328766620170278038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568024224,"filename":"image_15072025_09_43_54_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166476","file1":"1372166470","file0":"1372166465","file4":"1372166482","file5":"1372166485","file3":"1372166479"},"map_files_photo_id_array":[{"photo_id":"1372166485","filename":"file5"},{"photo_id":"1372166476","filename":"file2"},{"photo_id":"1372166482","filename":"file4"},{"photo_id":"1372166470","filename":"file1"},{"photo_id":"1372166465","filename":"file0"},{"photo_id":"1372166479","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166482":["hashtag1","hashtag2"]},{"1372166476":["hashtag1","hashtag2"]},{"1372166479":["hashtag1","hashtag2"]},{"1372166470":["hashtag1","hashtag2"]},{"1372166465":["hashtag1","hashtag2"]},{"1372166485":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166482, 1372166476, 1372166479, 1372166470, 1372166465, 1372166485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.592557191848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:27:03.201433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_58_3700.jpg', '/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_30_2576.jpg', '/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_39_2698.jpg', '/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_42_2766.jpg', '/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_45_2802.jpg', '/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_49_3854.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/43/image_15072025_09_43_58_3700.jpg
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_30_2576.jpg
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_39_2698.jpg
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_42_2766.jpg
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_45_2802.jpg
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_49_3854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166506","1372166496","1372166500","1372166514","1372166510","1372166516"],"photo_ids_order":["1372166496","1372166500","1372166506","1372166510","1372166514","1372166516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/031ddd247d3cdcee3ca774a298152db3.jpg","text":"TemporaryFile(/tmp/multipartBody4720712380287642840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_44_39_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b7d06c06dbf80371358e8d59e20bb293.jpg","text":"TemporaryFile(/tmp/multipartBody624169242240859024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_43_58_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed5fc8dd36ac01a83f9eebd844768e12.jpg","text":"TemporaryFile(/tmp/multipartBody6239744400328807692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_44_30_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97ff943b24f2d095e457bdebee0647c5.jpg","text":"TemporaryFile(/tmp/multipartBody3536600910715818914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_44_45_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d1a698893d694d1e3985ce135f9796e.jpg","text":"TemporaryFile(/tmp/multipartBody4596514413081701422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_44_42_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f6fbe7f0b2d91a9bb4e3a2a38267074d.jpg","text":"TemporaryFile(/tmp/multipartBody7844746872358540226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568084356,"filename":"image_15072025_09_44_49_3854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166506","file1":"1372166500","file0":"1372166496","file4":"1372166514","file5":"1372166516","file3":"1372166510"},"map_files_photo_id_array":[{"photo_id":"1372166516","filename":"file5"},{"photo_id":"1372166506","filename":"file2"},{"photo_id":"1372166514","filename":"file4"},{"photo_id":"1372166500","filename":"file1"},{"photo_id":"1372166496","filename":"file0"},{"photo_id":"1372166510","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166506":["hashtag1","hashtag2"]},{"1372166496":["hashtag1","hashtag2"]},{"1372166500":["hashtag1","hashtag2"]},{"1372166514":["hashtag1","hashtag2"]},{"1372166510":["hashtag1","hashtag2"]},{"1372166516":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166506, 1372166496, 1372166500, 1372166514, 1372166510, 1372166516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.37507605552673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:28:02.483589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_54_2603.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_09_3616.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_12_2582.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_15_2725.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_21_2650.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_24_2779.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/44/image_15072025_09_44_54_2603.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_09_3616.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_12_2582.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_15_2725.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_21_2650.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_24_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166542","1372166545","1372166539","1372166532","1372166526","1372166549"],"photo_ids_order":["1372166526","1372166532","1372166539","1372166542","1372166545","1372166549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf0ef3d08002187ce7a887fccf45bd78.jpg","text":"TemporaryFile(/tmp/multipartBody3068968590559644342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_45_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/7/15/162ed2861499777cde4e2cb4eb065780.jpg","text":"TemporaryFile(/tmp/multipartBody8856915675225539210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_45_21_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5391be5c0257a11988a337c74a945160.jpg","text":"TemporaryFile(/tmp/multipartBody6167096642035537368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_45_12_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/706c1681a6f3a2c2940cf9291f0b56b0.jpg","text":"TemporaryFile(/tmp/multipartBody7849608060092937500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_45_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/7/15/33925e567c65af84f19c7a1008c60ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5062830255530448039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_44_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/7/15/dd2214e5078d30751a91ebd6f485960f.jpg","text":"TemporaryFile(/tmp/multipartBody1655250162818939227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568143656,"filename":"image_15072025_09_45_24_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166539","file1":"1372166532","file0":"1372166526","file4":"1372166545","file5":"1372166549","file3":"1372166542"},"map_files_photo_id_array":[{"photo_id":"1372166549","filename":"file5"},{"photo_id":"1372166539","filename":"file2"},{"photo_id":"1372166545","filename":"file4"},{"photo_id":"1372166532","filename":"file1"},{"photo_id":"1372166526","filename":"file0"},{"photo_id":"1372166542","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166542":["hashtag1","hashtag2"]},{"1372166545":["hashtag1","hashtag2"]},{"1372166539":["hashtag1","hashtag2"]},{"1372166532":["hashtag1","hashtag2"]},{"1372166526":["hashtag1","hashtag2"]},{"1372166549":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166542, 1372166545, 1372166539, 1372166532, 1372166526, 1372166549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.043859004974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:29:03.441342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_27_3594.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_30_2812.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_36_2639.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_39_3645.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_42_2716.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_45_2609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_27_3594.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_30_2812.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_36_2639.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_39_3645.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_42_2716.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_45_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166581","1372166575","1372166589","1372166591","1372166584","1372166572"],"photo_ids_order":["1372166572","1372166575","1372166581","1372166584","1372166589","1372166591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b888e6535b7b4f891be4d244676f1aca.jpg","text":"TemporaryFile(/tmp/multipartBody4021876329278362786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_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/7/15/d757b9dfa83cdd809fae318e13d90ff3.jpg","text":"TemporaryFile(/tmp/multipartBody170932781197362536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_30_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34e05d7dd661abc4312cde186a12e149.jpg","text":"TemporaryFile(/tmp/multipartBody4667006204700535547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_42_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c0385d2336c2cff33aeb7f1e7aa3af6.jpg","text":"TemporaryFile(/tmp/multipartBody3935367973078968409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_45_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/58fbb92310e402c98678f3636d5e12bc.jpg","text":"TemporaryFile(/tmp/multipartBody9137122655233751826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_39_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faa9837485a290d35bf294683d678a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1346451569822750419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568204717,"filename":"image_15072025_09_45_27_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166581","file1":"1372166575","file0":"1372166572","file4":"1372166589","file5":"1372166591","file3":"1372166584"},"map_files_photo_id_array":[{"photo_id":"1372166591","filename":"file5"},{"photo_id":"1372166581","filename":"file2"},{"photo_id":"1372166589","filename":"file4"},{"photo_id":"1372166575","filename":"file1"},{"photo_id":"1372166572","filename":"file0"},{"photo_id":"1372166584","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166581":["hashtag1","hashtag2"]},{"1372166575":["hashtag1","hashtag2"]},{"1372166589":["hashtag1","hashtag2"]},{"1372166591":["hashtag1","hashtag2"]},{"1372166584":["hashtag1","hashtag2"]},{"1372166572":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166581, 1372166575, 1372166589, 1372166591, 1372166584, 1372166572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.07208180427551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:30:03.208381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_48_3723.jpg', '/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_51_2590.jpg', '/home/pi/Desktop/images/15072025/09/46/image_15072025_09_46_36_2545.jpg', '/home/pi/Desktop/images/15072025/09/46/image_15072025_09_47_00_2726.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_06_3653.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_18_2629.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_48_3723.jpg
/home/pi/Desktop/images/15072025/09/45/image_15072025_09_45_51_2590.jpg
/home/pi/Desktop/images/15072025/09/46/image_15072025_09_46_36_2545.jpg
/home/pi/Desktop/images/15072025/09/46/image_15072025_09_47_00_2726.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_06_3653.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_18_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166602","1372166622","1372166616","1372166619","1372166612","1372166606"],"photo_ids_order":["1372166602","1372166606","1372166612","1372166616","1372166619","1372166622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a218f7d0701eb995795b260b406bb1bb.jpg","text":"TemporaryFile(/tmp/multipartBody6474901349205046274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_45_48_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/305aa71db1f94a72b6c5ba76bd4b471d.jpg","text":"TemporaryFile(/tmp/multipartBody7331057198256285056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_47_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/19ba1f7919a92e677851ba2e735fe232.jpg","text":"TemporaryFile(/tmp/multipartBody4081096004628143013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_47_00_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/77edb4773c694345a4f5ba580f9e8e05.jpg","text":"TemporaryFile(/tmp/multipartBody530311250591865513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_47_06_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6573f57723febdf0844cacd8219fab64.jpg","text":"TemporaryFile(/tmp/multipartBody7424050132281008792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_46_36_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a8a6e4c3d8fb2232ae72b8ca43c1cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4165677235151377337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568264359,"filename":"image_15072025_09_45_51_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166612","file1":"1372166606","file0":"1372166602","file4":"1372166619","file5":"1372166622","file3":"1372166616"},"map_files_photo_id_array":[{"photo_id":"1372166622","filename":"file5"},{"photo_id":"1372166612","filename":"file2"},{"photo_id":"1372166619","filename":"file4"},{"photo_id":"1372166606","filename":"file1"},{"photo_id":"1372166602","filename":"file0"},{"photo_id":"1372166616","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166602":["hashtag1","hashtag2"]},{"1372166622":["hashtag1","hashtag2"]},{"1372166616":["hashtag1","hashtag2"]},{"1372166619":["hashtag1","hashtag2"]},{"1372166612":["hashtag1","hashtag2"]},{"1372166606":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166602, 1372166622, 1372166616, 1372166619, 1372166612, 1372166606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.98021912574768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:31:02.635804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_24_3615.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_30_3572.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_33_2677.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_36_2756.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_56_2683.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_48_00_3609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_24_3615.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_30_3572.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_33_2677.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_36_2756.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_56_2683.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_48_00_3609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7833306789398193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:31:21.800784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_24_3615.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_30_3572.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_33_2677.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_36_2756.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_56_2683.jpg', '/home/pi/Desktop/images/15072025/09/47/image_15072025_09_48_00_3609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_24_3615.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_30_3572.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_33_2677.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_36_2756.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_47_56_2683.jpg
/home/pi/Desktop/images/15072025/09/47/image_15072025_09_48_00_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166647","1372166662","1372166638","1372166652","1372166657","1372166665"],"photo_ids_order":["1372166638","1372166647","1372166652","1372166657","1372166662","1372166665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2142869a6b129747924c4fab803a21ee.jpg","text":"TemporaryFile(/tmp/multipartBody2674264065861351658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_47_30_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0be8f5d12fa2b5dd41c3f7f60843ef70.jpg","text":"TemporaryFile(/tmp/multipartBody4677368917906366861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_47_56_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f186dca751c3955b12d5390ac3bb2014.jpg","text":"TemporaryFile(/tmp/multipartBody6597011185008250896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_47_24_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/837661d04ef04afd8d09f4bc9034754a.jpg","text":"TemporaryFile(/tmp/multipartBody719111387631385829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_47_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/7/15/2ed1a493429a3ab864b7b34f645d498b.jpg","text":"TemporaryFile(/tmp/multipartBody1404849124126569863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_47_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/7/15/5c57395af7ba3f0f632b0e1e899028df.jpg","text":"TemporaryFile(/tmp/multipartBody7190581954319307951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568342887,"filename":"image_15072025_09_48_00_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166652","file1":"1372166647","file0":"1372166638","file4":"1372166662","file5":"1372166665","file3":"1372166657"},"map_files_photo_id_array":[{"photo_id":"1372166665","filename":"file5"},{"photo_id":"1372166652","filename":"file2"},{"photo_id":"1372166662","filename":"file4"},{"photo_id":"1372166647","filename":"file1"},{"photo_id":"1372166638","filename":"file0"},{"photo_id":"1372166657","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166647":["hashtag1","hashtag2"]},{"1372166662":["hashtag1","hashtag2"]},{"1372166638":["hashtag1","hashtag2"]},{"1372166652":["hashtag1","hashtag2"]},{"1372166657":["hashtag1","hashtag2"]},{"1372166665":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166647, 1372166662, 1372166638, 1372166652, 1372166657, 1372166665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88858246803284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:32:22.489552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/48/image_15072025_09_48_54_2576.jpg', '/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_27_2607.jpg', '/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_29_2724.jpg', '/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_35_2527.jpg', '/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_39_3630.jpg', '/home/pi/Desktop/images/15072025/09/50/image_15072025_09_50_54_3638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/48/image_15072025_09_48_54_2576.jpg
/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_27_2607.jpg
/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_29_2724.jpg
/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_35_2527.jpg
/home/pi/Desktop/images/15072025/09/49/image_15072025_09_49_39_3630.jpg
/home/pi/Desktop/images/15072025/09/50/image_15072025_09_50_54_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166676","1372166685","1372166679","1372166693","1372166687","1372166681"],"photo_ids_order":["1372166676","1372166679","1372166681","1372166685","1372166687","1372166693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74825c1720ab4d2c329fffd470a210ee.jpg","text":"TemporaryFile(/tmp/multipartBody2913060467031445506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_48_54_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bbfbaaa4c5dc027195bae977f61aaed5.jpg","text":"TemporaryFile(/tmp/multipartBody1916707132619374135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_49_35_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5983aa6915e13084f7c22a6c967e86a6.jpg","text":"TemporaryFile(/tmp/multipartBody4118647242703661619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_49_27_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad043eeae95307db571df810b51707be.jpg","text":"TemporaryFile(/tmp/multipartBody3920143713083665271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_50_54_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ce6598b276d9a959133c19615f3aa0a.jpg","text":"TemporaryFile(/tmp/multipartBody3845088228615077731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_49_39_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6842257deab837b89e10d8b4b218a695.jpg","text":"TemporaryFile(/tmp/multipartBody3819910486331240001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568403550,"filename":"image_15072025_09_49_29_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166681","file1":"1372166679","file0":"1372166676","file4":"1372166687","file5":"1372166693","file3":"1372166685"},"map_files_photo_id_array":[{"photo_id":"1372166693","filename":"file5"},{"photo_id":"1372166681","filename":"file2"},{"photo_id":"1372166687","filename":"file4"},{"photo_id":"1372166679","filename":"file1"},{"photo_id":"1372166676","filename":"file0"},{"photo_id":"1372166685","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166676":["hashtag1","hashtag2"]},{"1372166685":["hashtag1","hashtag2"]},{"1372166679":["hashtag1","hashtag2"]},{"1372166693":["hashtag1","hashtag2"]},{"1372166687":["hashtag1","hashtag2"]},{"1372166681":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166676, 1372166685, 1372166679, 1372166693, 1372166687, 1372166681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.805806159973145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:33:22.734069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_02_2747.jpg', '/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_06_3504.jpg', '/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_23_2654.jpg', '/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_53_2707.jpg', '/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_59_2802.jpg', '/home/pi/Desktop/images/15072025/09/52/image_15072025_09_52_02_2775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_02_2747.jpg
/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_06_3504.jpg
/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_23_2654.jpg
/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_53_2707.jpg
/home/pi/Desktop/images/15072025/09/51/image_15072025_09_51_59_2802.jpg
/home/pi/Desktop/images/15072025/09/52/image_15072025_09_52_02_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166710","1372166721","1372166715","1372166723","1372166726","1372166705"],"photo_ids_order":["1372166705","1372166710","1372166715","1372166721","1372166723","1372166726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18c9a14bc77d43f0e28b8f82d8b55877.jpg","text":"TemporaryFile(/tmp/multipartBody6786187689517688608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_51_06_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9cb4af0363e307526704015c26ad83c.jpg","text":"TemporaryFile(/tmp/multipartBody8008658934449864376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_51_53_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d93271f89046f66ed8e352b3cdc8abc.jpg","text":"TemporaryFile(/tmp/multipartBody4148958928655820717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_51_23_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0b31102534a30f0739dc92a1988e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody5655901115318567209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_51_59_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d47f0115867803d7213d0ce86626dfb.jpg","text":"TemporaryFile(/tmp/multipartBody958836162064832815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_52_02_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14a91f5eb984e9d5c299cc049f0beb01.jpg","text":"TemporaryFile(/tmp/multipartBody8809315058093865565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568463871,"filename":"image_15072025_09_51_02_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166715","file1":"1372166710","file0":"1372166705","file4":"1372166723","file5":"1372166726","file3":"1372166721"},"map_files_photo_id_array":[{"photo_id":"1372166726","filename":"file5"},{"photo_id":"1372166715","filename":"file2"},{"photo_id":"1372166723","filename":"file4"},{"photo_id":"1372166710","filename":"file1"},{"photo_id":"1372166705","filename":"file0"},{"photo_id":"1372166721","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166710":["hashtag1","hashtag2"]},{"1372166721":["hashtag1","hashtag2"]},{"1372166715":["hashtag1","hashtag2"]},{"1372166723":["hashtag1","hashtag2"]},{"1372166726":["hashtag1","hashtag2"]},{"1372166705":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166710, 1372166721, 1372166715, 1372166723, 1372166726, 1372166705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.07124876976013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:34:22.242484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/52/image_15072025_09_52_41_2721.jpg', '/home/pi/Desktop/images/15072025/09/54/image_15072025_09_54_17_2645.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_08_3607.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_20_2675.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_22_2686.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_29_2622.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/52/image_15072025_09_52_41_2721.jpg
/home/pi/Desktop/images/15072025/09/54/image_15072025_09_54_17_2645.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_08_3607.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_20_2675.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_22_2686.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_29_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":["1372166755","1372166743","1372166751","1372166736","1372166753","1372166747"],"photo_ids_order":["1372166736","1372166743","1372166747","1372166751","1372166753","1372166755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32c8053168e5bbd572259a63f6d19802.jpg","text":"TemporaryFile(/tmp/multipartBody5089971911082204505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_57_29_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/16c3c7f8bc317c8c8914885399186612.jpg","text":"TemporaryFile(/tmp/multipartBody6900133991292022498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_54_17_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8c1c5c86db15d33f78034fb52e101d74.jpg","text":"TemporaryFile(/tmp/multipartBody3630707295578621899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_57_20_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f974a3cddf98187f197e356ca073fcae.jpg","text":"TemporaryFile(/tmp/multipartBody6973771175237348287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_52_41_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d3801f9f29152139a07bedf2f95131a.jpg","text":"TemporaryFile(/tmp/multipartBody4757744719622165013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_57_22_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3724554e531b849d50582a4ccf80c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody7661532953146608714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568523316,"filename":"image_15072025_09_57_08_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166747","file1":"1372166743","file0":"1372166736","file4":"1372166753","file5":"1372166755","file3":"1372166751"},"map_files_photo_id_array":[{"photo_id":"1372166755","filename":"file5"},{"photo_id":"1372166747","filename":"file2"},{"photo_id":"1372166753","filename":"file4"},{"photo_id":"1372166743","filename":"file1"},{"photo_id":"1372166736","filename":"file0"},{"photo_id":"1372166751","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166755":["hashtag1","hashtag2"]},{"1372166743":["hashtag1","hashtag2"]},{"1372166751":["hashtag1","hashtag2"]},{"1372166736":["hashtag1","hashtag2"]},{"1372166753":["hashtag1","hashtag2"]},{"1372166747":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166755, 1372166743, 1372166751, 1372166736, 1372166753, 1372166747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.525206327438354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:35:22.491537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_41_3638.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_44_2624.jpg', '/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_50_3595.jpg', '/home/pi/Desktop/images/15072025/09/59/image_15072025_09_59_34_2570.jpg', '/home/pi/Desktop/images/15072025/10/01/image_15072025_10_01_46_2692.jpg', '/home/pi/Desktop/images/15072025/10/01/image_15072025_10_01_58_2668.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_41_3638.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_44_2624.jpg
/home/pi/Desktop/images/15072025/09/57/image_15072025_09_57_50_3595.jpg
/home/pi/Desktop/images/15072025/09/59/image_15072025_09_59_34_2570.jpg
/home/pi/Desktop/images/15072025/10/01/image_15072025_10_01_46_2692.jpg
/home/pi/Desktop/images/15072025/10/01/image_15072025_10_01_58_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166788","1372166773","1372166787","1372166781","1372166790","1372166778"],"photo_ids_order":["1372166773","1372166778","1372166781","1372166787","1372166788","1372166790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66812adfa6a8049d3ee458a6b0818735.jpg","text":"TemporaryFile(/tmp/multipartBody1336004566522079230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_10_01_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/7/15/174cab0b79fbbb80ad0406ba639e7a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7980272322006495419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_09_57_41_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5394d5dc7911b58cc154bb14a9915db.jpg","text":"TemporaryFile(/tmp/multipartBody8908695428868392804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_09_59_34_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/382bde366082521611825c04648465a7.jpg","text":"TemporaryFile(/tmp/multipartBody2247523279110943310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_09_57_50_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d451eb08af7eb8857f22acb632b24fc.jpg","text":"TemporaryFile(/tmp/multipartBody8703471499246684324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_10_01_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/7/15/9d42f661d0404957c2d5a5248ff5df53.jpg","text":"TemporaryFile(/tmp/multipartBody512801554838561410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568583589,"filename":"image_15072025_09_57_44_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166781","file1":"1372166778","file0":"1372166773","file4":"1372166788","file5":"1372166790","file3":"1372166787"},"map_files_photo_id_array":[{"photo_id":"1372166790","filename":"file5"},{"photo_id":"1372166781","filename":"file2"},{"photo_id":"1372166788","filename":"file4"},{"photo_id":"1372166778","filename":"file1"},{"photo_id":"1372166773","filename":"file0"},{"photo_id":"1372166787","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166788":["hashtag1","hashtag2"]},{"1372166773":["hashtag1","hashtag2"]},{"1372166787":["hashtag1","hashtag2"]},{"1372166781":["hashtag1","hashtag2"]},{"1372166790":["hashtag1","hashtag2"]},{"1372166778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166788, 1372166773, 1372166787, 1372166781, 1372166790, 1372166778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.395831823349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:36:22.644108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_04_3585.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_10_2744.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_12_2907.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_16_3749.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_19_2674.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_25_3562.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_04_3585.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_10_2744.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_12_2907.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_16_3749.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_19_2674.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_25_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166812","1372166821","1372166809","1372166817","1372166819","1372166804"],"photo_ids_order":["1372166804","1372166809","1372166812","1372166817","1372166819","1372166821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/41b5da502d652f2502d3a66de42b3edb.jpg","text":"TemporaryFile(/tmp/multipartBody1214124293773784544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_12_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32b57eca8b018353452dfd1c154fb074.jpg","text":"TemporaryFile(/tmp/multipartBody5921836771744558564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_25_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32414d27a9aa771146629e8abb172051.jpg","text":"TemporaryFile(/tmp/multipartBody645336405856703131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_10_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8bc692dcc29fa26022ec1247ef19e24f.jpg","text":"TemporaryFile(/tmp/multipartBody7722010338781151234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_16_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a3369032c65df07df9d6a2ba152c9f07.jpg","text":"TemporaryFile(/tmp/multipartBody825336711933824135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_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/7/15/6b1019ad92a0108bebb0a15c4a684fd5.jpg","text":"TemporaryFile(/tmp/multipartBody366094238659439505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568643783,"filename":"image_15072025_10_02_04_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166812","file1":"1372166809","file0":"1372166804","file4":"1372166819","file5":"1372166821","file3":"1372166817"},"map_files_photo_id_array":[{"photo_id":"1372166821","filename":"file5"},{"photo_id":"1372166812","filename":"file2"},{"photo_id":"1372166819","filename":"file4"},{"photo_id":"1372166809","filename":"file1"},{"photo_id":"1372166804","filename":"file0"},{"photo_id":"1372166817","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166812":["hashtag1","hashtag2"]},{"1372166821":["hashtag1","hashtag2"]},{"1372166809":["hashtag1","hashtag2"]},{"1372166817":["hashtag1","hashtag2"]},{"1372166819":["hashtag1","hashtag2"]},{"1372166804":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166812, 1372166821, 1372166809, 1372166817, 1372166819, 1372166804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.81435823440552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:37:22.427271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_28_2551.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_37_2608.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_40_3640.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_43_2765.jpg', '/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_46_2539.jpg', '/home/pi/Desktop/images/15072025/10/03/image_15072025_10_03_43_3706.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_28_2551.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_37_2608.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_40_3640.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_43_2765.jpg
/home/pi/Desktop/images/15072025/10/02/image_15072025_10_02_46_2539.jpg
/home/pi/Desktop/images/15072025/10/03/image_15072025_10_03_43_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":["1372166839","1372166833","1372166847","1372166846","1372166849","1372166843"],"photo_ids_order":["1372166833","1372166839","1372166843","1372166846","1372166847","1372166849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d7c4e6614f0671b4dd627301212d1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4354189870768308897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_02_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/7/15/4a42ec436b78bdc73d170b92b7231109.jpg","text":"TemporaryFile(/tmp/multipartBody5836642840829186456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_02_28_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26766addd0b5c7673f67d01ea176d9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7669385211624990395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_02_46_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65bee7efecb073a64b72b057635f97d4.jpg","text":"TemporaryFile(/tmp/multipartBody8364743126853446454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_02_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/7/15/289698ce7bd49c89bd3bdef9832138f0.jpg","text":"TemporaryFile(/tmp/multipartBody7597012653243417625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_03_43_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b49ab48c898c366a6cf512227e21c003.jpg","text":"TemporaryFile(/tmp/multipartBody918974736650390539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568703567,"filename":"image_15072025_10_02_40_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166843","file1":"1372166839","file0":"1372166833","file4":"1372166847","file5":"1372166849","file3":"1372166846"},"map_files_photo_id_array":[{"photo_id":"1372166849","filename":"file5"},{"photo_id":"1372166843","filename":"file2"},{"photo_id":"1372166847","filename":"file4"},{"photo_id":"1372166839","filename":"file1"},{"photo_id":"1372166833","filename":"file0"},{"photo_id":"1372166846","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166839":["hashtag1","hashtag2"]},{"1372166833":["hashtag1","hashtag2"]},{"1372166847":["hashtag1","hashtag2"]},{"1372166846":["hashtag1","hashtag2"]},{"1372166849":["hashtag1","hashtag2"]},{"1372166843":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166839, 1372166833, 1372166847, 1372166846, 1372166849, 1372166843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.4707145690918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:38:22.756219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_10_3732.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_13_2735.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_19_3718.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_31_2712.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_33_2584.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_37_3534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_10_3732.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_13_2735.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_19_3718.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_31_2712.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_33_2584.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_37_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166874","1372166877","1372166870","1372166867","1372166861","1372166875"],"photo_ids_order":["1372166861","1372166867","1372166870","1372166874","1372166875","1372166877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/87c999e9b8c734a50c40b30d0ea83d60.jpg","text":"TemporaryFile(/tmp/multipartBody4976361678725781930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_31_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/731667e4d3868819ae0cc6f030e3756a.jpg","text":"TemporaryFile(/tmp/multipartBody6799458084879286491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_37_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71eec8afdea1614dedb642fcd5ca8bed.jpg","text":"TemporaryFile(/tmp/multipartBody3795374296292005435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_19_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/340906f88d7b02c22ef4e7105f414f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6223501425322492982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_13_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bdadf40b24d50299a5920debc9888e1.jpg","text":"TemporaryFile(/tmp/multipartBody7058496908067704937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_10_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/091be39996a5fcaa7f8ca17c2794ec4f.jpg","text":"TemporaryFile(/tmp/multipartBody894603269829251964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568763881,"filename":"image_15072025_10_04_33_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166870","file1":"1372166867","file0":"1372166861","file4":"1372166875","file5":"1372166877","file3":"1372166874"},"map_files_photo_id_array":[{"photo_id":"1372166877","filename":"file5"},{"photo_id":"1372166870","filename":"file2"},{"photo_id":"1372166875","filename":"file4"},{"photo_id":"1372166867","filename":"file1"},{"photo_id":"1372166861","filename":"file0"},{"photo_id":"1372166874","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166874":["hashtag1","hashtag2"]},{"1372166877":["hashtag1","hashtag2"]},{"1372166870":["hashtag1","hashtag2"]},{"1372166867":["hashtag1","hashtag2"]},{"1372166861":["hashtag1","hashtag2"]},{"1372166875":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166874, 1372166877, 1372166870, 1372166867, 1372166861, 1372166875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.206371784210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:39:22.151507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_51_2669.jpg', '/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_57_2580.jpg', '/home/pi/Desktop/images/15072025/10/05/image_15072025_10_05_07_3010.jpg', '/home/pi/Desktop/images/15072025/10/08/image_15072025_10_08_01_2679.jpg', '/home/pi/Desktop/images/15072025/10/08/image_15072025_10_08_55_2599.jpg', '/home/pi/Desktop/images/15072025/10/14/image_15072025_10_14_23_3635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_51_2669.jpg
/home/pi/Desktop/images/15072025/10/04/image_15072025_10_04_57_2580.jpg
/home/pi/Desktop/images/15072025/10/05/image_15072025_10_05_07_3010.jpg
/home/pi/Desktop/images/15072025/10/08/image_15072025_10_08_01_2679.jpg
/home/pi/Desktop/images/15072025/10/08/image_15072025_10_08_55_2599.jpg
/home/pi/Desktop/images/15072025/10/14/image_15072025_10_14_23_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166905","1372166889","1372166907","1372166897","1372166901","1372166893"],"photo_ids_order":["1372166889","1372166893","1372166897","1372166901","1372166905","1372166907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/617768eda746753cb989a345b3788019.jpg","text":"TemporaryFile(/tmp/multipartBody4986520397951238641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_08_55_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0180adf2ba891807df7e74e1e3e29504.jpg","text":"TemporaryFile(/tmp/multipartBody663081801519159171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_04_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/7/15/fe2fb4414916d7b31881e2c69ff32706.jpg","text":"TemporaryFile(/tmp/multipartBody8726313554777144265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_14_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/7/15/6693fbd9b5b06f714a9dcb91150bd46e.jpg","text":"TemporaryFile(/tmp/multipartBody8717555908935849459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_05_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/7/15/b82baf6d714ed486a696869acdfcc6f9.jpg","text":"TemporaryFile(/tmp/multipartBody2029524912673543555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_08_01_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02709b6ff330235fe428e32099419c2d.jpg","text":"TemporaryFile(/tmp/multipartBody8247408871828098443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568823256,"filename":"image_15072025_10_04_57_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166897","file1":"1372166893","file0":"1372166889","file4":"1372166905","file5":"1372166907","file3":"1372166901"},"map_files_photo_id_array":[{"photo_id":"1372166907","filename":"file5"},{"photo_id":"1372166897","filename":"file2"},{"photo_id":"1372166905","filename":"file4"},{"photo_id":"1372166893","filename":"file1"},{"photo_id":"1372166889","filename":"file0"},{"photo_id":"1372166901","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166905":["hashtag1","hashtag2"]},{"1372166889":["hashtag1","hashtag2"]},{"1372166907":["hashtag1","hashtag2"]},{"1372166897":["hashtag1","hashtag2"]},{"1372166901":["hashtag1","hashtag2"]},{"1372166893":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166905, 1372166889, 1372166907, 1372166897, 1372166901, 1372166893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.116780281066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:40:22.670312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/19/image_15072025_10_19_07_2586.jpg', '/home/pi/Desktop/images/15072025/10/28/image_15072025_10_28_04_2693.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/19/image_15072025_10_19_07_2586.jpg
/home/pi/Desktop/images/15072025/10/28/image_15072025_10_28_04_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166920","1372166914"],"photo_ids_order":["1372166914","1372166920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9f004835466498b01670314f2c549611.jpg","text":"TemporaryFile(/tmp/multipartBody3611146934631022460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568883663,"filename":"image_15072025_10_28_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/7/15/e5295dbe36ed3ce394d5d99be6f45b11.jpg","text":"TemporaryFile(/tmp/multipartBody7653555068516880467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568883663,"filename":"image_15072025_10_19_07_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372166920","file0":"1372166914"},"map_files_photo_id_array":[{"photo_id":"1372166920","filename":"file1"},{"photo_id":"1372166914","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372166920":["hashtag1","hashtag2"]},{"1372166914":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372166920, 1372166914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.130622625350952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:41:03.347516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
  port_id : 24901019
  datou_current_id : 3277823
in upload_from_sqlite, uploading in 24901019
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg', '/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg', '/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg', '/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg', '/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg', '/home/pi/Desktop/images/14072025/22/44/image_14072025_22_44_49_2681.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3277823&datou=0
/home/pi/Desktop/images/14072025/20/59/image_14072025_20_59_23_3556.jpg
/home/pi/Desktop/images/14072025/21/55/image_14072025_21_55_41_2599.jpg
/home/pi/Desktop/images/14072025/22/33/image_14072025_22_33_35_2737.jpg
/home/pi/Desktop/images/14072025/22/37/image_14072025_22_37_31_2525.jpg
/home/pi/Desktop/images/14072025/22/41/image_14072025_22_41_20_3789.jpg
/home/pi/Desktop/images/14072025/22/44/image_14072025_22_44_49_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166950","1372166953","1372166941","1372166946","1372166957","1372166956"],"photo_ids_order":["1372166941","1372166946","1372166950","1372166953","1372166956","1372166957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a627f964d7276716997eff03846bbdd9.jpg","text":"TemporaryFile(/tmp/multipartBody3791484936320279754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_22_33_35_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bfcb43fff44edb9e3c11b2ba4ba46ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3907143801024193946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_22_37_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/7/15/ddbef3745b984f5f66595f8305f32a41.jpg","text":"TemporaryFile(/tmp/multipartBody647743312759959658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_20_59_23_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e214c4dff5f3c33fa83a579a74957591.jpg","text":"TemporaryFile(/tmp/multipartBody2034377007585869971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_21_55_41_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d258125514698fc4f21f9e17550bdb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2051645656943062910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_22_44_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7c9b44b21d136df3b7249cc84559a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5155091671212478910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752568926362,"filename":"image_14072025_22_41_20_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372166950","file1":"1372166946","file0":"1372166941","file4":"1372166956","file5":"1372166957","file3":"1372166953"},"map_files_photo_id_array":[{"photo_id":"1372166957","filename":"file5"},{"photo_id":"1372166950","filename":"file2"},{"photo_id":"1372166956","filename":"file4"},{"photo_id":"1372166946","filename":"file1"},{"photo_id":"1372166941","filename":"file0"},{"photo_id":"1372166953","filename":"file3"}],"portfolio_id":24901019,"hashtag_by_photo_ids":[{"1372166950":["hashtag1","hashtag2"]},{"1372166953":["hashtag1","hashtag2"]},{"1372166941":["hashtag1","hashtag2"]},{"1372166946":["hashtag1","hashtag2"]},{"1372166957":["hashtag1","hashtag2"]},{"1372166956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24901019 used, photo_id : ArrayBuffer(1372166950, 1372166953, 1372166941, 1372166946, 1372166957, 1372166956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.2322404384613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:42:22.455847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/33/image_15072025_10_33_17_2761.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/33/image_15072025_10_33_17_2761.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372166970"],"photo_id":"1372166970","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c3f5710499a3c6c1a04d28f419c9ea7e.jpg","text":"TemporaryFile(/tmp/multipartBody7611174438375007146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569003414,"filename":"image_15072025_10_33_17_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372166970"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372166970"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.998990774154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:42:42.491109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:43:02.935063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:43:22.065210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/42/image_15072025_10_42_56_3706.jpg', '/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_02_3176.jpg', '/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_05_2812.jpg', '/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_11_3702.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/42/image_15072025_10_42_56_3706.jpg
/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_02_3176.jpg
/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_05_2812.jpg
/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_11_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167022","1372167018","1372167009","1372167014"],"photo_ids_order":["1372167009","1372167014","1372167018","1372167022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52fe9dc58c1f654f8168a3cb8d48ac86.jpg","text":"TemporaryFile(/tmp/multipartBody108867379581097762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569063132,"filename":"image_15072025_10_43_11_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10aff7ec476ff56810ab56f214bbd981.jpg","text":"TemporaryFile(/tmp/multipartBody846016572673466146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569063132,"filename":"image_15072025_10_43_05_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0328b304af5f420daef5a022a84dc3fb.jpg","text":"TemporaryFile(/tmp/multipartBody5811722050407756443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569063132,"filename":"image_15072025_10_42_56_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4837c1152d69d8df0669d6bb7e589097.jpg","text":"TemporaryFile(/tmp/multipartBody2842857243503280144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569063132,"filename":"image_15072025_10_43_02_3176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167018","file1":"1372167014","file0":"1372167009","file3":"1372167022"},"map_files_photo_id_array":[{"photo_id":"1372167018","filename":"file2"},{"photo_id":"1372167014","filename":"file1"},{"photo_id":"1372167009","filename":"file0"},{"photo_id":"1372167022","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167022":["hashtag1","hashtag2"]},{"1372167018":["hashtag1","hashtag2"]},{"1372167009":["hashtag1","hashtag2"]},{"1372167014":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167022, 1372167018, 1372167009, 1372167014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7055299282074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:44:03.067613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:44:22.095641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_14_2876.jpg', '/home/pi/Desktop/images/15072025/10/44/image_15072025_10_44_29_3527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/43/image_15072025_10_43_14_2876.jpg
/home/pi/Desktop/images/15072025/10/44/image_15072025_10_44_29_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167043","1372167037"],"photo_ids_order":["1372167037","1372167043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf62c750e2e36a08851f9f8be83eaccc.jpg","text":"TemporaryFile(/tmp/multipartBody6987003421358770189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569123100,"filename":"image_15072025_10_44_29_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/630316bb1522d70c016b55290fc3c9b5.jpg","text":"TemporaryFile(/tmp/multipartBody3626400670769093354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569123100,"filename":"image_15072025_10_43_14_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372167043","file0":"1372167037"},"map_files_photo_id_array":[{"photo_id":"1372167043","filename":"file1"},{"photo_id":"1372167037","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167043":["hashtag1","hashtag2"]},{"1372167037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167043, 1372167037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.09679675102234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:45:02.938564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:45:22.180569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/44/image_15072025_10_44_55_2799.jpg', '/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_07_3011.jpg', '/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_10_3542.jpg', '/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_13_2701.jpg', '/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_17_3575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/44/image_15072025_10_44_55_2799.jpg
/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_07_3011.jpg
/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_10_3542.jpg
/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_13_2701.jpg
/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_17_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167087","1372167083","1372167074","1372167068","1372167079"],"photo_ids_order":["1372167068","1372167074","1372167079","1372167083","1372167087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/acc33454e37eced6c0cbc1dd290dd3b4.jpg","text":"TemporaryFile(/tmp/multipartBody5189482063133830459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569183244,"filename":"image_15072025_10_45_17_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6ffe14160b50eeb268bb1eab5b3e29d1.jpg","text":"TemporaryFile(/tmp/multipartBody343502261119040045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569183244,"filename":"image_15072025_10_45_13_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc8ceb717f628fafcd1d510092df3f04.jpg","text":"TemporaryFile(/tmp/multipartBody7183430483769300350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569183244,"filename":"image_15072025_10_45_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/7/15/2ebef16669e41e0a818fddb85999462a.jpg","text":"TemporaryFile(/tmp/multipartBody1922209027842499200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569183244,"filename":"image_15072025_10_44_55_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab1637c57e1c536fc45e87a220775c92.jpg","text":"TemporaryFile(/tmp/multipartBody1689997821615463334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569183244,"filename":"image_15072025_10_45_10_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167079","file1":"1372167074","file0":"1372167068","file4":"1372167087","file3":"1372167083"},"map_files_photo_id_array":[{"photo_id":"1372167079","filename":"file2"},{"photo_id":"1372167087","filename":"file4"},{"photo_id":"1372167074","filename":"file1"},{"photo_id":"1372167068","filename":"file0"},{"photo_id":"1372167083","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167087":["hashtag1","hashtag2"]},{"1372167083":["hashtag1","hashtag2"]},{"1372167074":["hashtag1","hashtag2"]},{"1372167068":["hashtag1","hashtag2"]},{"1372167079":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167087, 1372167083, 1372167074, 1372167068, 1372167079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.75802230834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:46:22.461025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_19_2578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/45/image_15072025_10_45_19_2578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167101"],"photo_id":"1372167101","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/000566b2700cdd66e89b077e9c975d37.jpg","text":"TemporaryFile(/tmp/multipartBody5158937603469060063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569243430,"filename":"image_15072025_10_45_19_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372167101"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372167101"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.54051923751831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:46:42.507336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:47:03.540374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:47:22.868933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:47:42.796597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:48:02.532873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:48:21.911939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:48:41.921459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:49:03.292098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:49:22.423986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:49:42.467993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:50:03.270385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:50:22.618394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:50:42.581934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:51:02.659092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:51:21.787497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/46/image_15072025_10_46_40_3593.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/46/image_15072025_10_46_40_3593.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167236"],"photo_id":"1372167236","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/222e36a794c54e69436ca813e403f0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5927187212625822970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569542756,"filename":"image_15072025_10_46_40_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372167236"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372167236"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.098934650421143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:51:41.876519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:52:03.344429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:52:22.750666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/51/image_15072025_10_51_07_3011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/51/image_15072025_10_51_07_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167262"],"photo_id":"1372167262","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e183b8ed4053a7dd346cfcdb80f96a45.jpg","text":"TemporaryFile(/tmp/multipartBody5791403351407706906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569603713,"filename":"image_15072025_10_51_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372167262"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372167262"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.231357097625732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:52:42.741503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:53:02.986603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:53:22.270936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:53:42.243223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:54:03.359352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:54:22.613665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/52/image_15072025_10_52_23_2793.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/52/image_15072025_10_52_23_2793.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167299"],"photo_id":"1372167299","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b225682e9808e5bb28792a2d4926221e.jpg","text":"TemporaryFile(/tmp/multipartBody3899663165601312060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569723598,"filename":"image_15072025_10_52_23_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372167299"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372167299"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.188727855682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:54:42.818912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:55:03.251824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:55:22.310686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/54/image_15072025_10_54_11_3825.jpg', '/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_23_3780.jpg', '/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_38_3022.jpg', '/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_41_2868.jpg', '/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_44_2662.jpg', '/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_46_2685.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/54/image_15072025_10_54_11_3825.jpg
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_23_3780.jpg
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_38_3022.jpg
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_41_2868.jpg
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_44_2662.jpg
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_46_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":["1372167327","1372167323","1372167332","1372167335","1372167340","1372167337"],"photo_ids_order":["1372167323","1372167327","1372167332","1372167335","1372167337","1372167340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ffe57b40a8d4a677b810fa57cb296fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8921902286389036811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_55_23_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bfdf55d215b968637798929b3e435981.jpg","text":"TemporaryFile(/tmp/multipartBody7292984279362238558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_54_11_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a61bd4febd4e160f46457ccc405a5972.jpg","text":"TemporaryFile(/tmp/multipartBody9095296342852405277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_55_38_3022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f33dc0447d3824c5977cdade746090b.jpg","text":"TemporaryFile(/tmp/multipartBody719673214413042598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_55_41_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4b150b81567a482ca7256ac4c0dfcf2.jpg","text":"TemporaryFile(/tmp/multipartBody7621785085520428019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_55_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ed904a4c6859f8c8ffce44a64a46012.jpg","text":"TemporaryFile(/tmp/multipartBody7940579824589534851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569783421,"filename":"image_15072025_10_55_44_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167332","file1":"1372167327","file0":"1372167323","file4":"1372167337","file5":"1372167340","file3":"1372167335"},"map_files_photo_id_array":[{"photo_id":"1372167340","filename":"file5"},{"photo_id":"1372167332","filename":"file2"},{"photo_id":"1372167337","filename":"file4"},{"photo_id":"1372167327","filename":"file1"},{"photo_id":"1372167323","filename":"file0"},{"photo_id":"1372167335","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167327":["hashtag1","hashtag2"]},{"1372167323":["hashtag1","hashtag2"]},{"1372167332":["hashtag1","hashtag2"]},{"1372167335":["hashtag1","hashtag2"]},{"1372167340":["hashtag1","hashtag2"]},{"1372167337":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167327, 1372167323, 1372167332, 1372167335, 1372167340, 1372167337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.445247411727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:56:21.957237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_59_3590.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_02_2673.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_05_2630.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_08_3752.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_11_2629.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_14_2840.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/55/image_15072025_10_55_59_3590.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_02_2673.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_05_2630.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_08_3752.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_11_2629.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_14_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167517","1372167471","1372167522","1372167425","1372167544","1372167376"],"photo_ids_order":["1372167376","1372167425","1372167471","1372167517","1372167522","1372167544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad2166656368a18fd6f1c5492117f5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1470061245113923502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_56_08_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e342b7ff98d304d1c2f8eb17e27b5af.jpg","text":"TemporaryFile(/tmp/multipartBody3191059820641443300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_56_05_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75a47977a18e64d9a879506ddcbf12f0.jpg","text":"TemporaryFile(/tmp/multipartBody7979605158662808247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_56_11_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79c8786a31759b5a23e62c43a59ce022.jpg","text":"TemporaryFile(/tmp/multipartBody803051408921020686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_56_02_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1b46e340d47dac8b93049198c0f9e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4544878434561170523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_56_14_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8ee4ec3fbc31a59153c1ddc25779bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3846349900160834931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569843054,"filename":"image_15072025_10_55_59_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167471","file1":"1372167425","file0":"1372167376","file4":"1372167522","file5":"1372167544","file3":"1372167517"},"map_files_photo_id_array":[{"photo_id":"1372167544","filename":"file5"},{"photo_id":"1372167471","filename":"file2"},{"photo_id":"1372167522","filename":"file4"},{"photo_id":"1372167425","filename":"file1"},{"photo_id":"1372167376","filename":"file0"},{"photo_id":"1372167517","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167517":["hashtag1","hashtag2"]},{"1372167471":["hashtag1","hashtag2"]},{"1372167522":["hashtag1","hashtag2"]},{"1372167425":["hashtag1","hashtag2"]},{"1372167544":["hashtag1","hashtag2"]},{"1372167376":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167517, 1372167471, 1372167522, 1372167425, 1372167544, 1372167376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.768192529678345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 10:57:22.072676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_16_2697.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_19_2978.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_23_3828.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_26_2714.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_38_3791.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_41_2785.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_16_2697.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_19_2978.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_23_3828.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_26_2714.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_38_3791.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_41_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167616","1372167619","1372167606","1372167611","1372167592","1372167565"],"photo_ids_order":["1372167565","1372167592","1372167606","1372167611","1372167616","1372167619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e10e85074f010d6b3ba3409bc68eb045.jpg","text":"TemporaryFile(/tmp/multipartBody4792110268460457312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_38_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22cae6a169dd8c1996606bf2c7b4afa2.jpg","text":"TemporaryFile(/tmp/multipartBody3946270312067581920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_41_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a5b5a58b39d8f61c44a515ed0bc5030e.jpg","text":"TemporaryFile(/tmp/multipartBody2493571809156418232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_23_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2c0b8860f597524711bb192856d9e154.jpg","text":"TemporaryFile(/tmp/multipartBody1054117871673184177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_26_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d96fa1055c759c477d6b194f24f8f585.jpg","text":"TemporaryFile(/tmp/multipartBody8416287207558077945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_19_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd656b85d784bae9361512311ed02c21.jpg","text":"TemporaryFile(/tmp/multipartBody2078869270410126690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752569903228,"filename":"image_15072025_10_56_16_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167606","file1":"1372167592","file0":"1372167565","file4":"1372167616","file5":"1372167619","file3":"1372167611"},"map_files_photo_id_array":[{"photo_id":"1372167619","filename":"file5"},{"photo_id":"1372167606","filename":"file2"},{"photo_id":"1372167616","filename":"file4"},{"photo_id":"1372167592","filename":"file1"},{"photo_id":"1372167565","filename":"file0"},{"photo_id":"1372167611","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167616":["hashtag1","hashtag2"]},{"1372167619":["hashtag1","hashtag2"]},{"1372167606":["hashtag1","hashtag2"]},{"1372167611":["hashtag1","hashtag2"]},{"1372167592":["hashtag1","hashtag2"]},{"1372167565":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167616, 1372167619, 1372167606, 1372167611, 1372167592, 1372167565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.311025857925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 10:59:03.873985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_44_2796.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_46_2583.jpg', '/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_50_3634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_44_2796.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_46_2583.jpg
/home/pi/Desktop/images/15072025/10/56/image_15072025_10_56_50_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167852","1372167753","1372167804"],"photo_ids_order":["1372167753","1372167804","1372167852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32416c158a31288232cf49997c0c36d5.jpg","text":"TemporaryFile(/tmp/multipartBody4936959008204727183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570005081,"filename":"image_15072025_10_56_50_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0ad0233f262fcfb4067a9232f6aebaa.jpg","text":"TemporaryFile(/tmp/multipartBody3024108813916035259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570005081,"filename":"image_15072025_10_56_44_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da408783ac4e2b806e8e747861919df1.jpg","text":"TemporaryFile(/tmp/multipartBody771079033534721830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570005081,"filename":"image_15072025_10_56_46_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372167852","file1":"1372167804","file0":"1372167753"},"map_files_photo_id_array":[{"photo_id":"1372167852","filename":"file2"},{"photo_id":"1372167804","filename":"file1"},{"photo_id":"1372167753","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167852":["hashtag1","hashtag2"]},{"1372167753":["hashtag1","hashtag2"]},{"1372167804":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167852, 1372167753, 1372167804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.638451099395752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 10:59:42.675070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/57/image_15072025_10_57_17_3645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/57/image_15072025_10_57_17_3645.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167917"],"photo_id":"1372167917","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e705f3d2556020ae8cdc886547793b32.jpg","text":"TemporaryFile(/tmp/multipartBody1497662074717540333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570043673,"filename":"image_15072025_10_57_17_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372167917"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372167917"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.84081506729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:00:02.559274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:00:22.002734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/10/59/image_15072025_10_59_04_2669.jpg', '/home/pi/Desktop/images/15072025/11/00/image_15072025_11_00_08_3010.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/10/59/image_15072025_10_59_04_2669.jpg
/home/pi/Desktop/images/15072025/11/00/image_15072025_11_00_08_3010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372167997","1372167994"],"photo_ids_order":["1372167994","1372167997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6eef7da051586bd9707be47e50567d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7597839119293082671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570083024,"filename":"image_15072025_11_00_08_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9c219ff62536ba7b33b8fd26357c0ee.jpg","text":"TemporaryFile(/tmp/multipartBody5167841562386689388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570083024,"filename":"image_15072025_10_59_04_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372167997","file0":"1372167994"},"map_files_photo_id_array":[{"photo_id":"1372167997","filename":"file1"},{"photo_id":"1372167994","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372167997":["hashtag1","hashtag2"]},{"1372167994":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372167997, 1372167994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.903196334838867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:01:02.932769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:01:22.149669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:01:42.247660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:02:02.566499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:02:21.965606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:02:42.051298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:03:03.449776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:03:22.628709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/00/image_15072025_11_00_38_2814.jpg', '/home/pi/Desktop/images/15072025/11/03/image_15072025_11_03_17_3637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/00/image_15072025_11_00_38_2814.jpg
/home/pi/Desktop/images/15072025/11/03/image_15072025_11_03_17_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168101","1372168091"],"photo_ids_order":["1372168091","1372168101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be71c5265234e4427272ce3a492f4120.jpg","text":"TemporaryFile(/tmp/multipartBody9102182333388792625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570263640,"filename":"image_15072025_11_03_17_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0a3fae17cbc65483dcbe530c13b23f0.jpg","text":"TemporaryFile(/tmp/multipartBody5158577386093972178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570263640,"filename":"image_15072025_11_00_38_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372168101","file0":"1372168091"},"map_files_photo_id_array":[{"photo_id":"1372168101","filename":"file1"},{"photo_id":"1372168091","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168101":["hashtag1","hashtag2"]},{"1372168091":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168101, 1372168091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.76907467842102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:04:03.536479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:04:22.518118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/03/image_15072025_11_03_23_2749.jpg', '/home/pi/Desktop/images/15072025/11/04/image_15072025_11_04_14_3658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/03/image_15072025_11_03_23_2749.jpg
/home/pi/Desktop/images/15072025/11/04/image_15072025_11_04_14_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168385","1372168389"],"photo_ids_order":["1372168385","1372168389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55cee08fabde85c23f79b122e1c0ebf0.jpg","text":"TemporaryFile(/tmp/multipartBody8844189846772236124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570323523,"filename":"image_15072025_11_03_23_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c490816a8d522f8f3f0b7f4ad621fb7.jpg","text":"TemporaryFile(/tmp/multipartBody668946219966484275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570323523,"filename":"image_15072025_11_04_14_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372168389","file0":"1372168385"},"map_files_photo_id_array":[{"photo_id":"1372168389","filename":"file1"},{"photo_id":"1372168385","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168385":["hashtag1","hashtag2"]},{"1372168389":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168385, 1372168389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.455846786499023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:05:03.111660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:05:22.427869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:05:42.484094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:06:02.972407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:06:22.420556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/04/image_15072025_11_04_20_2732.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/04/image_15072025_11_04_20_2732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168553"],"photo_id":"1372168553","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0b1f2c43c8a667d7eb3df71017bb707f.jpg","text":"TemporaryFile(/tmp/multipartBody7229802735522133356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570443400,"filename":"image_15072025_11_04_20_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372168553"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372168553"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.105299472808838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:06:42.472643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:07:02.728845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:07:22.135393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:07:42.191801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:08:02.931711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:08:22.351734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/06/image_15072025_11_06_34_2560.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/06/image_15072025_11_06_34_2560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168612"],"photo_id":"1372168612","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/01a1404a57a24b5ad0d0b8042d65f38f.jpg","text":"TemporaryFile(/tmp/multipartBody8253924562278822953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570563330,"filename":"image_15072025_11_06_34_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372168612"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372168612"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.849706172943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:08:42.432927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:09:03.508614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:09:22.315886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:09:42.327126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:10:02.555371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:10:21.963313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/08/image_15072025_11_08_44_2799.jpg', '/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_08_3011.jpg', '/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_32_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/08/image_15072025_11_08_44_2799.jpg
/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_08_3011.jpg
/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_32_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168664","1372168666","1372168659"],"photo_ids_order":["1372168659","1372168664","1372168666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03b832b31b8b9712c48f4eed18c4fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5161948492130592303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570682996,"filename":"image_15072025_11_10_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e214482b6edddf39a6d2c06f4485299.jpg","text":"TemporaryFile(/tmp/multipartBody1870721442391784102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570682996,"filename":"image_15072025_11_10_32_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/867cc3856e6562e5dbcfeff5be7f8aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6326662254936777323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570682996,"filename":"image_15072025_11_08_44_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372168666","file1":"1372168664","file0":"1372168659"},"map_files_photo_id_array":[{"photo_id":"1372168666","filename":"file2"},{"photo_id":"1372168664","filename":"file1"},{"photo_id":"1372168659","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168664":["hashtag1","hashtag2"]},{"1372168666":["hashtag1","hashtag2"]},{"1372168659":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168664, 1372168666, 1372168659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.58254837989807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:11:02.877070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:11:22.174922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_47_3675.jpg', '/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_23_2582.jpg', '/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_41_3582.jpg', '/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_44_2810.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/10/image_15072025_11_10_47_3675.jpg
/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_23_2582.jpg
/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_41_3582.jpg
/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_44_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168689","1372168699","1372168693","1372168695"],"photo_ids_order":["1372168689","1372168693","1372168695","1372168699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/376a7b87bbf213d1496f3c8d967a3847.jpg","text":"TemporaryFile(/tmp/multipartBody8796832445001238019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570743255,"filename":"image_15072025_11_10_47_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/50c0e342029fd58f4cef9dfc4636dbb7.jpg","text":"TemporaryFile(/tmp/multipartBody644016552052436042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570743255,"filename":"image_15072025_11_11_44_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9c29f719cb05c25742857164a601213.jpg","text":"TemporaryFile(/tmp/multipartBody8176234833868242556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570743255,"filename":"image_15072025_11_11_23_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89c29cb9802b82beb5ec03c8f43b477f.jpg","text":"TemporaryFile(/tmp/multipartBody4139733615493934973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570743255,"filename":"image_15072025_11_11_41_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372168695","file1":"1372168693","file0":"1372168689","file3":"1372168699"},"map_files_photo_id_array":[{"photo_id":"1372168695","filename":"file2"},{"photo_id":"1372168693","filename":"file1"},{"photo_id":"1372168689","filename":"file0"},{"photo_id":"1372168699","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168689":["hashtag1","hashtag2"]},{"1372168699":["hashtag1","hashtag2"]},{"1372168693":["hashtag1","hashtag2"]},{"1372168695":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168689, 1372168699, 1372168693, 1372168695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97941827774048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:12:02.950939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:12:22.282232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_49_2674.jpg', '/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_05_3676.jpg', '/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_08_2673.jpg', '/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_17_2675.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/11/image_15072025_11_11_49_2674.jpg
/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_05_3676.jpg
/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_08_2673.jpg
/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_17_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168728","1372168722","1372168724","1372168717"],"photo_ids_order":["1372168717","1372168722","1372168724","1372168728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/726b5d2b50b0fa0725b22e81b2efbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody634525976814185007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570803365,"filename":"image_15072025_11_12_17_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f4f9b5fad4ab65cd2906270e22a5b382.jpg","text":"TemporaryFile(/tmp/multipartBody38192007653006932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570803365,"filename":"image_15072025_11_12_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/7/15/62bdca13c941bcc624873cf8e8d399cc.jpg","text":"TemporaryFile(/tmp/multipartBody3100906003734858817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570803365,"filename":"image_15072025_11_12_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/658caa831bd14983b122ee8fe51ae9b1.jpg","text":"TemporaryFile(/tmp/multipartBody6579614291298708811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570803365,"filename":"image_15072025_11_11_49_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372168724","file1":"1372168722","file0":"1372168717","file3":"1372168728"},"map_files_photo_id_array":[{"photo_id":"1372168724","filename":"file2"},{"photo_id":"1372168722","filename":"file1"},{"photo_id":"1372168717","filename":"file0"},{"photo_id":"1372168728","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168728":["hashtag1","hashtag2"]},{"1372168722":["hashtag1","hashtag2"]},{"1372168724":["hashtag1","hashtag2"]},{"1372168717":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168728, 1372168722, 1372168724, 1372168717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.472278118133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:13:02.809692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:13:21.995166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:13:42.033461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:14:02.975789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:14:22.232373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_47_3595.jpg', '/home/pi/Desktop/images/15072025/11/14/image_15072025_11_14_19_2813.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/12/image_15072025_11_12_47_3595.jpg
/home/pi/Desktop/images/15072025/11/14/image_15072025_11_14_19_2813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168775","1372168780"],"photo_ids_order":["1372168775","1372168780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3b1244e35271700d383bb3c71c9d3ff.jpg","text":"TemporaryFile(/tmp/multipartBody9210323940486540135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570923247,"filename":"image_15072025_11_12_47_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c4acc20193d356f0feb8236abe3945d2.jpg","text":"TemporaryFile(/tmp/multipartBody5022180161647799598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752570923247,"filename":"image_15072025_11_14_19_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372168780","file0":"1372168775"},"map_files_photo_id_array":[{"photo_id":"1372168780","filename":"file1"},{"photo_id":"1372168775","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168775":["hashtag1","hashtag2"]},{"1372168780":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168775, 1372168780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.30762815475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:15:02.909325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:15:22.199375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:15:42.114934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:16:03.009988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:16:22.502910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/14/image_15072025_11_14_29_2707.jpg', '/home/pi/Desktop/images/15072025/11/16/image_15072025_11_16_46_2602.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/14/image_15072025_11_14_29_2707.jpg
/home/pi/Desktop/images/15072025/11/16/image_15072025_11_16_46_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168827","1372168832"],"photo_ids_order":["1372168827","1372168832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d2496efe9383a7c4a48f6f212d9ebb9.jpg","text":"TemporaryFile(/tmp/multipartBody3624042362162198091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571043515,"filename":"image_15072025_11_14_29_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9572f83711212f7684d7f6fffd6d8925.jpg","text":"TemporaryFile(/tmp/multipartBody3726782937974239780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571043515,"filename":"image_15072025_11_16_46_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372168832","file0":"1372168827"},"map_files_photo_id_array":[{"photo_id":"1372168832","filename":"file1"},{"photo_id":"1372168827","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168827":["hashtag1","hashtag2"]},{"1372168832":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168827, 1372168832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.19809579849243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:17:02.951661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:17:22.141755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:17:42.118525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:18:03.167280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:18:22.532311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/16/image_15072025_11_16_49_3082.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/16/image_15072025_11_16_49_3082.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168890"],"photo_id":"1372168890","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e45fc00d3f2054ad7e82b306842966d.jpg","text":"TemporaryFile(/tmp/multipartBody1007276051360934692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571163515,"filename":"image_15072025_11_16_49_3082.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372168890"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372168890"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.495184898376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:18:42.526816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:19:03.345620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:19:22.270552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:19:42.393358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:20:02.476458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:20:21.829524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:20:41.993267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:21:02.436528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:21:21.807100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/18/image_15072025_11_18_31_3665.jpg', '/home/pi/Desktop/images/15072025/11/21/image_15072025_11_21_35_3001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/18/image_15072025_11_18_31_3665.jpg
/home/pi/Desktop/images/15072025/11/21/image_15072025_11_21_35_3001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372168997","1372168992"],"photo_ids_order":["1372168992","1372168997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/590a0a1fcd72bc3b26c0358f27b25b61.jpg","text":"TemporaryFile(/tmp/multipartBody2820428319533807205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571342813,"filename":"image_15072025_11_21_35_3001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32ed11c7a107dcb314f9881f9d2658a7.jpg","text":"TemporaryFile(/tmp/multipartBody2266511143656331068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571342813,"filename":"image_15072025_11_18_31_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372168997","file0":"1372168992"},"map_files_photo_id_array":[{"photo_id":"1372168997","filename":"file1"},{"photo_id":"1372168992","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372168997":["hashtag1","hashtag2"]},{"1372168992":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372168997, 1372168992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.757845878601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:22:02.703078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:22:21.997581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/21/image_15072025_11_21_47_3206.jpg', '/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_25_2662.jpg', '/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_41_3673.jpg', '/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_44_2704.jpg', '/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_47_2714.jpg', '/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_50_2845.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/21/image_15072025_11_21_47_3206.jpg
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_25_2662.jpg
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_41_3673.jpg
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_44_2704.jpg
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_47_2714.jpg
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_50_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169034","1372169024","1372169018","1372169035","1372169029","1372169037"],"photo_ids_order":["1372169018","1372169024","1372169029","1372169034","1372169035","1372169037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b53f2ca10db86383eba5ebe557e8d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4379378536482473043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_22_44_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/609928c3b26dd656887411de5ebc374b.jpg","text":"TemporaryFile(/tmp/multipartBody4656171322578159064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_22_25_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81e8b8dda35d22debe7e3ea6def834d5.jpg","text":"TemporaryFile(/tmp/multipartBody3922992721087821614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_21_47_3206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cec87e3049bbd09f78d7b47103a192c6.jpg","text":"TemporaryFile(/tmp/multipartBody4515570222837316350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_22_47_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1dee0d376c1ad1e00b3a39a0be15a090.jpg","text":"TemporaryFile(/tmp/multipartBody4947701852873643191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_22_41_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8cdbc14ad0e7284eee4ed44504692b77.jpg","text":"TemporaryFile(/tmp/multipartBody4205010922007848732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571403150,"filename":"image_15072025_11_22_50_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169029","file1":"1372169024","file0":"1372169018","file4":"1372169035","file5":"1372169037","file3":"1372169034"},"map_files_photo_id_array":[{"photo_id":"1372169037","filename":"file5"},{"photo_id":"1372169029","filename":"file2"},{"photo_id":"1372169035","filename":"file4"},{"photo_id":"1372169024","filename":"file1"},{"photo_id":"1372169018","filename":"file0"},{"photo_id":"1372169034","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169034":["hashtag1","hashtag2"]},{"1372169024":["hashtag1","hashtag2"]},{"1372169018":["hashtag1","hashtag2"]},{"1372169035":["hashtag1","hashtag2"]},{"1372169029":["hashtag1","hashtag2"]},{"1372169037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169034, 1372169024, 1372169018, 1372169035, 1372169029, 1372169037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93794107437134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:23:22.834887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_53_3757.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/22/image_15072025_11_22_53_3757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169052"],"photo_id":"1372169052","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d6cc3c239940ff7b7bb4ace5e1ed80d.jpg","text":"TemporaryFile(/tmp/multipartBody6367762436105213569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571463809,"filename":"image_15072025_11_22_53_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372169052"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372169052"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.28933310508728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:23:42.891095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:24:03.507326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:24:22.677826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:24:42.744104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:25:03.611866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:25:22.729873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:25:42.749385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:26:02.986551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:26:22.307344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:26:42.375465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:27:02.881586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:27:22.154713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/23/image_15072025_11_23_14_2597.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_50_2967.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_52_2579.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_56_3683.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/23/image_15072025_11_23_14_2597.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_50_2967.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_52_2579.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_56_3683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6628632545471191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:27:42.171606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/23/image_15072025_11_23_14_2597.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_50_2967.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_52_2579.jpg', '/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_56_3683.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/23/image_15072025_11_23_14_2597.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_50_2967.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_52_2579.jpg
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_56_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169171","1372169176","1372169173","1372169167"],"photo_ids_order":["1372169167","1372169171","1372169173","1372169176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a0343c854ed03930832326fec3aac4f.jpg","text":"TemporaryFile(/tmp/multipartBody4452834247686484551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571723295,"filename":"image_15072025_11_27_50_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f740bde985b21929f709a6f803880074.jpg","text":"TemporaryFile(/tmp/multipartBody8939247376886685573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571723295,"filename":"image_15072025_11_27_56_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/446fc8c3559c9e31d056dc05b48728f5.jpg","text":"TemporaryFile(/tmp/multipartBody6163797302908975743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571723295,"filename":"image_15072025_11_27_52_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/553888d64dc59dd4c23ca8c6631e0d40.jpg","text":"TemporaryFile(/tmp/multipartBody590735002474931920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571723295,"filename":"image_15072025_11_23_14_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169173","file1":"1372169171","file0":"1372169167","file3":"1372169176"},"map_files_photo_id_array":[{"photo_id":"1372169173","filename":"file2"},{"photo_id":"1372169171","filename":"file1"},{"photo_id":"1372169167","filename":"file0"},{"photo_id":"1372169176","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169171":["hashtag1","hashtag2"]},{"1372169176":["hashtag1","hashtag2"]},{"1372169173":["hashtag1","hashtag2"]},{"1372169167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169171, 1372169176, 1372169173, 1372169167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.987149715423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:28:22.172122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_59_2733.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_01_2564.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_04_2819.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_08_3751.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_13_2676.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_25_2852.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/27/image_15072025_11_27_59_2733.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_01_2564.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_04_2819.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_08_3751.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_13_2676.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_25_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169186","1372169204","1372169207","1372169182","1372169191","1372169199"],"photo_ids_order":["1372169182","1372169186","1372169191","1372169199","1372169204","1372169207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99da116cce94bd24a83b0a857aa53aac.jpg","text":"TemporaryFile(/tmp/multipartBody4248942908939490192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_28_01_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81f2d6cfb1c0df52031f61a74d169503.jpg","text":"TemporaryFile(/tmp/multipartBody6269712980461997163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_28_13_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e65b7d3dd9d559e7c0e8713866ae6ead.jpg","text":"TemporaryFile(/tmp/multipartBody661595053695335524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_28_25_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d840cd2f524b828361b6c41b26ede730.jpg","text":"TemporaryFile(/tmp/multipartBody3466669820146624614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_27_59_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f985f6f0f2c52e5a09609c5470f255d.jpg","text":"TemporaryFile(/tmp/multipartBody5476652722114935450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_28_04_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ecbddc7087c6564571ab936026173c9.jpg","text":"TemporaryFile(/tmp/multipartBody830574651054102488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571763369,"filename":"image_15072025_11_28_08_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169191","file1":"1372169186","file0":"1372169182","file4":"1372169204","file5":"1372169207","file3":"1372169199"},"map_files_photo_id_array":[{"photo_id":"1372169207","filename":"file5"},{"photo_id":"1372169191","filename":"file2"},{"photo_id":"1372169204","filename":"file4"},{"photo_id":"1372169186","filename":"file1"},{"photo_id":"1372169182","filename":"file0"},{"photo_id":"1372169199","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169186":["hashtag1","hashtag2"]},{"1372169204":["hashtag1","hashtag2"]},{"1372169207":["hashtag1","hashtag2"]},{"1372169182":["hashtag1","hashtag2"]},{"1372169191":["hashtag1","hashtag2"]},{"1372169199":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169186, 1372169204, 1372169207, 1372169182, 1372169191, 1372169199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.15174388885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:29:22.210900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_34_2628.jpg', '/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_52_2638.jpg', '/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_14_3721.jpg', '/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_22_2767.jpg', '/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_29_2655.jpg', '/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_35_3711.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_34_2628.jpg
/home/pi/Desktop/images/15072025/11/28/image_15072025_11_28_52_2638.jpg
/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_14_3721.jpg
/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_22_2767.jpg
/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_29_2655.jpg
/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_35_3711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169234","1372169228","1372169224","1372169218","1372169241","1372169238"],"photo_ids_order":["1372169218","1372169224","1372169228","1372169234","1372169238","1372169241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/938dbc6e8c097fe6c95198bd0fda7ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4886393796234523938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_29_22_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0756e7c0b04e91fb9b51374edad137df.jpg","text":"TemporaryFile(/tmp/multipartBody1840127687441237688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_29_14_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9ec1c1e2ce7e09d1b64685832901c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody1621771274316803376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_28_52_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0554d0bb19b72b3eefefa0fd9084456c.jpg","text":"TemporaryFile(/tmp/multipartBody8121487763051123579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_28_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/7/15/cb5d2cdab3d7454c90c249880fe5d09f.jpg","text":"TemporaryFile(/tmp/multipartBody8075683477814610662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_29_35_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f1a5f50d69ba020b32b5a7ef32451285.jpg","text":"TemporaryFile(/tmp/multipartBody7194319675266247565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571823375,"filename":"image_15072025_11_29_29_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169228","file1":"1372169224","file0":"1372169218","file4":"1372169238","file5":"1372169241","file3":"1372169234"},"map_files_photo_id_array":[{"photo_id":"1372169241","filename":"file5"},{"photo_id":"1372169228","filename":"file2"},{"photo_id":"1372169238","filename":"file4"},{"photo_id":"1372169224","filename":"file1"},{"photo_id":"1372169218","filename":"file0"},{"photo_id":"1372169234","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169234":["hashtag1","hashtag2"]},{"1372169228":["hashtag1","hashtag2"]},{"1372169224":["hashtag1","hashtag2"]},{"1372169218":["hashtag1","hashtag2"]},{"1372169241":["hashtag1","hashtag2"]},{"1372169238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169234, 1372169228, 1372169224, 1372169218, 1372169241, 1372169238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.079657793045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:30:22.102566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_39_4184.jpg', '/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_07_3011.jpg', '/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_38_2603.jpg', '/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_50_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/29/image_15072025_11_29_39_4184.jpg
/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_07_3011.jpg
/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_38_2603.jpg
/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_50_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169254","1372169257","1372169251","1372169262"],"photo_ids_order":["1372169251","1372169254","1372169257","1372169262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b63daf51db06cb84149447ce82114a55.jpg","text":"TemporaryFile(/tmp/multipartBody4771509902898291083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571883168,"filename":"image_15072025_11_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/7/15/b9c78d3d69fd83eeccca87805261fb6b.jpg","text":"TemporaryFile(/tmp/multipartBody5011926391267318708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571883168,"filename":"image_15072025_11_30_38_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c4606409cb9c3c328133a3ce0f82ee97.jpg","text":"TemporaryFile(/tmp/multipartBody2797825083508283185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571883168,"filename":"image_15072025_11_29_39_4184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e153bd3e07fe6885bf171f617a65bda.jpg","text":"TemporaryFile(/tmp/multipartBody2175802874742730682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571883168,"filename":"image_15072025_11_30_50_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169257","file1":"1372169254","file0":"1372169251","file3":"1372169262"},"map_files_photo_id_array":[{"photo_id":"1372169257","filename":"file2"},{"photo_id":"1372169254","filename":"file1"},{"photo_id":"1372169251","filename":"file0"},{"photo_id":"1372169262","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169254":["hashtag1","hashtag2"]},{"1372169257":["hashtag1","hashtag2"]},{"1372169251":["hashtag1","hashtag2"]},{"1372169262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169254, 1372169257, 1372169251, 1372169262)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 41.50416946411133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:31:22.133278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_59_2605.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_05_2803.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_20_3666.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_26_2796.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_32_2583.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_34_2664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/30/image_15072025_11_30_59_2605.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_05_2803.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_20_3666.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_26_2796.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_32_2583.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_34_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169304","1372169294","1372169288","1372169298","1372169292","1372169301"],"photo_ids_order":["1372169288","1372169292","1372169294","1372169298","1372169301","1372169304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4d0521135e3e1a7b5ed5d934ac23f52.jpg","text":"TemporaryFile(/tmp/multipartBody755841783180574265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_31_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/7/15/a89ed9f2240fbc8da8755971fa7344b9.jpg","text":"TemporaryFile(/tmp/multipartBody1455111697373853390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_31_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/7/15/e2c37865d2d0093fdfa8149e8920a911.jpg","text":"TemporaryFile(/tmp/multipartBody5407879942222371575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_30_59_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ab3b7a88cf33d8c8337d1e1b10e8b78.jpg","text":"TemporaryFile(/tmp/multipartBody6251252631420147335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_31_26_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf0343f08002744904e1d85cbf000af9.jpg","text":"TemporaryFile(/tmp/multipartBody6562165689351700134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_31_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/7/15/457b76640310d835135f55ab7c2332b7.jpg","text":"TemporaryFile(/tmp/multipartBody2763430926063259106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752571943300,"filename":"image_15072025_11_31_32_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169294","file1":"1372169292","file0":"1372169288","file4":"1372169301","file5":"1372169304","file3":"1372169298"},"map_files_photo_id_array":[{"photo_id":"1372169304","filename":"file5"},{"photo_id":"1372169294","filename":"file2"},{"photo_id":"1372169301","filename":"file4"},{"photo_id":"1372169292","filename":"file1"},{"photo_id":"1372169288","filename":"file0"},{"photo_id":"1372169298","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169304":["hashtag1","hashtag2"]},{"1372169294":["hashtag1","hashtag2"]},{"1372169288":["hashtag1","hashtag2"]},{"1372169298":["hashtag1","hashtag2"]},{"1372169292":["hashtag1","hashtag2"]},{"1372169301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169304, 1372169294, 1372169288, 1372169298, 1372169292, 1372169301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.394014835357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:32:21.678389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_41_1837.jpg', '/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_59_2632.jpg', '/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_07_2694.jpg', '/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_29_3625.jpg', '/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_32_2731.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_41_1837.jpg
/home/pi/Desktop/images/15072025/11/31/image_15072025_11_31_59_2632.jpg
/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_07_2694.jpg
/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_29_3625.jpg
/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_32_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169330","1372169324","1372169318","1372169328","1372169322"],"photo_ids_order":["1372169318","1372169322","1372169324","1372169328","1372169330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/072483e329a94b83524a0b5a23b03215.jpg","text":"TemporaryFile(/tmp/multipartBody6155836729015747577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572002798,"filename":"image_15072025_11_32_32_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a370c488d7f8df8dba44c8389d32ec48.jpg","text":"TemporaryFile(/tmp/multipartBody2143968550051778128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572002798,"filename":"image_15072025_11_32_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/7/15/b71091e42623b2657cc0aabae8edf97a.jpg","text":"TemporaryFile(/tmp/multipartBody4238123170646224813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572002798,"filename":"image_15072025_11_31_41_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/722b80cd69b8d6fdf1ed57929a876163.jpg","text":"TemporaryFile(/tmp/multipartBody5147084230001689695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572002798,"filename":"image_15072025_11_32_29_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0faf87e7822ab56cbb355ad26beb6480.jpg","text":"TemporaryFile(/tmp/multipartBody7753115331643088353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572002798,"filename":"image_15072025_11_31_59_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169324","file1":"1372169322","file0":"1372169318","file4":"1372169330","file3":"1372169328"},"map_files_photo_id_array":[{"photo_id":"1372169324","filename":"file2"},{"photo_id":"1372169330","filename":"file4"},{"photo_id":"1372169322","filename":"file1"},{"photo_id":"1372169318","filename":"file0"},{"photo_id":"1372169328","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169330":["hashtag1","hashtag2"]},{"1372169324":["hashtag1","hashtag2"]},{"1372169318":["hashtag1","hashtag2"]},{"1372169328":["hashtag1","hashtag2"]},{"1372169322":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169330, 1372169324, 1372169318, 1372169328, 1372169322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.48119568824768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:33:22.614942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_34_2590.jpg', '/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_02_3576.jpg', '/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_35_3527.jpg', '/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_37_2737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/32/image_15072025_11_32_34_2590.jpg
/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_02_3576.jpg
/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_35_3527.jpg
/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_37_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169351","1372169356","1372169341","1372169347"],"photo_ids_order":["1372169341","1372169347","1372169351","1372169356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3f385e4b4aeb203c84b01a1acae317d.jpg","text":"TemporaryFile(/tmp/multipartBody8412856448236882642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572063711,"filename":"image_15072025_11_33_35_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4fbc694592a39a7584098dc3e54de597.jpg","text":"TemporaryFile(/tmp/multipartBody4680353628718017932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572063711,"filename":"image_15072025_11_33_37_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7bf0379a5fb0b54cb649c289baa295f.jpg","text":"TemporaryFile(/tmp/multipartBody30613804718449820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572063711,"filename":"image_15072025_11_32_34_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1e34bcdd8216dbb6891f4ba280b9bda.jpg","text":"TemporaryFile(/tmp/multipartBody3092478095067325236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572063711,"filename":"image_15072025_11_33_02_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169351","file1":"1372169347","file0":"1372169341","file3":"1372169356"},"map_files_photo_id_array":[{"photo_id":"1372169351","filename":"file2"},{"photo_id":"1372169347","filename":"file1"},{"photo_id":"1372169341","filename":"file0"},{"photo_id":"1372169356","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169351":["hashtag1","hashtag2"]},{"1372169356":["hashtag1","hashtag2"]},{"1372169341":["hashtag1","hashtag2"]},{"1372169347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169351, 1372169356, 1372169341, 1372169347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87333798408508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:34:03.116064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:34:22.420861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_46_2726.jpg', '/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_07_2692.jpg', '/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_16_2631.jpg', '/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_22_2599.jpg', '/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_29_3578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/33/image_15072025_11_33_46_2726.jpg
/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_07_2692.jpg
/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_16_2631.jpg
/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_22_2599.jpg
/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_29_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169387","1372169381","1372169392","1372169374","1372169368"],"photo_ids_order":["1372169368","1372169374","1372169381","1372169387","1372169392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42a91ebca1e06ce1cc6f6e29fe89e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2547722335927304768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572123535,"filename":"image_15072025_11_34_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/7/15/f3b893fe0bb73ac0bfe2be9790ea472e.jpg","text":"TemporaryFile(/tmp/multipartBody1386746269315090417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572123535,"filename":"image_15072025_11_34_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/435b3b074aa0c16ab5895b6050fb4b75.jpg","text":"TemporaryFile(/tmp/multipartBody8079280677134463923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572123535,"filename":"image_15072025_11_34_29_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40ddd10a218330b0fa98621d36dfbda6.jpg","text":"TemporaryFile(/tmp/multipartBody3826938771506593476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572123535,"filename":"image_15072025_11_34_07_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bf391be56c0e0a8abfeadb6ffb80248.jpg","text":"TemporaryFile(/tmp/multipartBody7351782945325941558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572123535,"filename":"image_15072025_11_33_46_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169381","file1":"1372169374","file0":"1372169368","file4":"1372169392","file3":"1372169387"},"map_files_photo_id_array":[{"photo_id":"1372169381","filename":"file2"},{"photo_id":"1372169392","filename":"file4"},{"photo_id":"1372169374","filename":"file1"},{"photo_id":"1372169368","filename":"file0"},{"photo_id":"1372169387","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169387":["hashtag1","hashtag2"]},{"1372169381":["hashtag1","hashtag2"]},{"1372169392":["hashtag1","hashtag2"]},{"1372169374":["hashtag1","hashtag2"]},{"1372169368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169387, 1372169381, 1372169392, 1372169374, 1372169368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.965964555740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:35:22.101519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:35:42.203414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:36:02.738795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:36:21.995408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_47_3648.jpg', '/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_05_3741.jpg', '/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_08_2823.jpg', '/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_26_3632.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/34/image_15072025_11_34_47_3648.jpg
/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_05_3741.jpg
/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_08_2823.jpg
/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_26_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169444","1372169435","1372169449","1372169440"],"photo_ids_order":["1372169435","1372169440","1372169444","1372169449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8dc7041d4f1ed2b2486e6e57147c95b6.jpg","text":"TemporaryFile(/tmp/multipartBody4406471210446325628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572243087,"filename":"image_15072025_11_36_08_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33d58aa19f8a810a2ae95922d94b71aa.jpg","text":"TemporaryFile(/tmp/multipartBody9212731893800363556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572243087,"filename":"image_15072025_11_34_47_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c76a2160dfc55e5d074234c0c0ad124.jpg","text":"TemporaryFile(/tmp/multipartBody8099560609706056046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572243087,"filename":"image_15072025_11_36_26_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c374fd210fee92745396c781f091ad13.jpg","text":"TemporaryFile(/tmp/multipartBody2865142782979230556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572243087,"filename":"image_15072025_11_36_05_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169444","file1":"1372169440","file0":"1372169435","file3":"1372169449"},"map_files_photo_id_array":[{"photo_id":"1372169444","filename":"file2"},{"photo_id":"1372169440","filename":"file1"},{"photo_id":"1372169435","filename":"file0"},{"photo_id":"1372169449","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169444":["hashtag1","hashtag2"]},{"1372169435":["hashtag1","hashtag2"]},{"1372169449":["hashtag1","hashtag2"]},{"1372169440":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169444, 1372169435, 1372169449, 1372169440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19385075569153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:37:03.434820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:37:22.647826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:37:42.692698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:38:03.385885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:38:22.725265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_34_2695.jpg', '/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_20_3591.jpg', '/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_22_2720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/36/image_15072025_11_36_34_2695.jpg
/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_20_3591.jpg
/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_22_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169489","1372169497","1372169494"],"photo_ids_order":["1372169489","1372169494","1372169497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0a2538d6a8240c402ec1ca0680add50.jpg","text":"TemporaryFile(/tmp/multipartBody9133203513876471230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572363772,"filename":"image_15072025_11_36_34_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2b79c8c465e8eeaa900a9e43a010400.jpg","text":"TemporaryFile(/tmp/multipartBody229206854566453765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572363772,"filename":"image_15072025_11_38_22_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0407bd66e0d9432834c772038d9767a.jpg","text":"TemporaryFile(/tmp/multipartBody2493540826377055480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572363772,"filename":"image_15072025_11_38_20_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169497","file1":"1372169494","file0":"1372169489"},"map_files_photo_id_array":[{"photo_id":"1372169497","filename":"file2"},{"photo_id":"1372169494","filename":"file1"},{"photo_id":"1372169489","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169489":["hashtag1","hashtag2"]},{"1372169497":["hashtag1","hashtag2"]},{"1372169494":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169489, 1372169497, 1372169494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.35267472267151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:39:03.752941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:39:22.471668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:39:42.543579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:40:02.795121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:40:22.092510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:40:42.222250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:41:03.520528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:41:22.621630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:41:42.532493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:42:03.363105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:42:22.721953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_25_2724.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_25_2724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5733332633972168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:42:42.778830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_25_2724.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/38/image_15072025_11_38_25_2724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169604"],"photo_id":"1372169604","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a60694da431852ddb3841152dd3cc15b.jpg","text":"TemporaryFile(/tmp/multipartBody5266932680097350046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752572623782,"filename":"image_15072025_11_38_25_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372169604"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372169604"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.47713828086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:43:03.289702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:43:22.634248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:43:42.705332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:44:03.396273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:44:22.671335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:44:42.791470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:45:03.607582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:45:22.719810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:45:42.805528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:46:02.475560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:46:21.851538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:46:41.886097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:47:03.410930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:47:22.738366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:47:42.659606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:48:02.715005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:48:22.011265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:48:42.122217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:49:03.560295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:49:22.839229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:49:42.892673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:50:02.511956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:50:22.047137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:50:42.070969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:51:03.042381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:51:22.283025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/42/image_15072025_11_42_53_2761.jpg', '/home/pi/Desktop/images/15072025/11/51/image_15072025_11_51_55_2841.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/42/image_15072025_11_42_53_2761.jpg
/home/pi/Desktop/images/15072025/11/51/image_15072025_11_51_55_2841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169848","1372169856"],"photo_ids_order":["1372169848","1372169856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faafbb8a2c3118c8ca630611496338eb.jpg","text":"TemporaryFile(/tmp/multipartBody7151855743841017104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573143298,"filename":"image_15072025_11_42_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/7/15/c0ff3219f5fa4f4c88c41da43d737ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4509129113472917840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573143298,"filename":"image_15072025_11_51_55_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372169856","file0":"1372169848"},"map_files_photo_id_array":[{"photo_id":"1372169856","filename":"file1"},{"photo_id":"1372169848","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169848":["hashtag1","hashtag2"]},{"1372169856":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169848, 1372169856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.13558530807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:52:02.720384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:52:22.075057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/51/image_15072025_11_51_58_2897.jpg', '/home/pi/Desktop/images/15072025/11/51/image_15072025_11_52_01_3693.jpg', '/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_04_2554.jpg', '/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_07_3484.jpg', '/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_10_2757.jpg', '/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_13_2642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/51/image_15072025_11_51_58_2897.jpg
/home/pi/Desktop/images/15072025/11/51/image_15072025_11_52_01_3693.jpg
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_04_2554.jpg
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_07_3484.jpg
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_10_2757.jpg
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_13_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169894","1372169900","1372169887","1372169878","1372169898","1372169883"],"photo_ids_order":["1372169878","1372169883","1372169887","1372169894","1372169898","1372169900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e6e4ea10545104f6de7eb4670eb964b.jpg","text":"TemporaryFile(/tmp/multipartBody7111988120232525372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_52_07_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7a4e574d7ab91518e643fca5dc20c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2831647078560214672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_52_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6056e2376e46f807e126f69c89108bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3054282058432148994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_52_04_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e5af3ddaee6d830a8847b5cc5f47c575.jpg","text":"TemporaryFile(/tmp/multipartBody5216962093407929154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_51_58_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de1fc3cb28dd7b4312b9fd5850393fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1539919795846347173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_52_10_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8f2810b57e8f0f4320cdb1f8d66a6cb.jpg","text":"TemporaryFile(/tmp/multipartBody3376588086626236132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573203178,"filename":"image_15072025_11_52_01_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372169887","file1":"1372169883","file0":"1372169878","file4":"1372169898","file5":"1372169900","file3":"1372169894"},"map_files_photo_id_array":[{"photo_id":"1372169900","filename":"file5"},{"photo_id":"1372169887","filename":"file2"},{"photo_id":"1372169898","filename":"file4"},{"photo_id":"1372169883","filename":"file1"},{"photo_id":"1372169878","filename":"file0"},{"photo_id":"1372169894","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169894":["hashtag1","hashtag2"]},{"1372169900":["hashtag1","hashtag2"]},{"1372169887":["hashtag1","hashtag2"]},{"1372169878":["hashtag1","hashtag2"]},{"1372169898":["hashtag1","hashtag2"]},{"1372169883":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169894, 1372169900, 1372169887, 1372169878, 1372169898, 1372169883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.614001512527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:53:22.620864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_16_3570.jpg', '/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_31_2679.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_16_3570.jpg
/home/pi/Desktop/images/15072025/11/52/image_15072025_11_52_31_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169921","1372169916"],"photo_ids_order":["1372169916","1372169921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5aa45b9e11ff5d095ec209573d58864b.jpg","text":"TemporaryFile(/tmp/multipartBody4448971419397924796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573263638,"filename":"image_15072025_11_52_31_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5e440a0473038d41219b5e03b563052.jpg","text":"TemporaryFile(/tmp/multipartBody3776591208653577745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573263638,"filename":"image_15072025_11_52_16_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372169921","file0":"1372169916"},"map_files_photo_id_array":[{"photo_id":"1372169921","filename":"file1"},{"photo_id":"1372169916","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169921":["hashtag1","hashtag2"]},{"1372169916":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169921, 1372169916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.92514991760254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:54:03.202972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:54:22.543080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:54:42.538384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:55:03.359482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:55:22.493206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/53/image_15072025_11_53_52_3712.jpg', '/home/pi/Desktop/images/15072025/11/55/image_15072025_11_55_40_2684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/53/image_15072025_11_53_52_3712.jpg
/home/pi/Desktop/images/15072025/11/55/image_15072025_11_55_40_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372169966","1372169971"],"photo_ids_order":["1372169966","1372169971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9d5c5500b0e4fec11b80167214a3122.jpg","text":"TemporaryFile(/tmp/multipartBody2717959660426920528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573383501,"filename":"image_15072025_11_53_52_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d9ba3925bfd4fd9182479bae79c2d48.jpg","text":"TemporaryFile(/tmp/multipartBody2410558705293478568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573383501,"filename":"image_15072025_11_55_40_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372169971","file0":"1372169966"},"map_files_photo_id_array":[{"photo_id":"1372169971","filename":"file1"},{"photo_id":"1372169966","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372169966":["hashtag1","hashtag2"]},{"1372169971":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372169966, 1372169971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.777844190597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:56:02.750388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:56:22.194135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:56:42.260420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:57:02.779437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:57:21.854965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:57:41.907403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 11:59:03.404910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 11:59:22.481455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 11:59:42.557893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:00:02.404789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:00:21.870312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:00:41.889215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:01:02.989455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:01:22.179023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:01:42.231831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:02:02.996629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:02:22.519959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/11/55/image_15072025_11_55_53_3678.jpg', '/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_11_3803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/11/55/image_15072025_11_55_53_3678.jpg
/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_11_3803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372170942","1372170951"],"photo_ids_order":["1372170942","1372170951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/142ddd48bdc4980e816c9a5d2b1b32de.jpg","text":"TemporaryFile(/tmp/multipartBody3579485265443069494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573803525,"filename":"image_15072025_11_55_53_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/260789464daec2acdbdb653a89eb3437.jpg","text":"TemporaryFile(/tmp/multipartBody2460936305183697299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573803525,"filename":"image_15072025_12_02_11_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372170951","file0":"1372170942"},"map_files_photo_id_array":[{"photo_id":"1372170951","filename":"file1"},{"photo_id":"1372170942","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372170942":["hashtag1","hashtag2"]},{"1372170951":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372170942, 1372170951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.991060495376587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:03:02.631315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:03:21.879287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_14_2677.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_14_2677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5599312782287598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:03:41.964636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_14_2677.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/02/image_15072025_12_02_14_2677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372171186"],"photo_id":"1372171186","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd0bb42d2edfdf60a0b5c976757eed3e.jpg","text":"TemporaryFile(/tmp/multipartBody3033314297153444969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573882971,"filename":"image_15072025_12_02_14_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372171186"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372171186"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.748242616653442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:04:02.956856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:04:22.210891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:04:42.219236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:05:03.072615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:05:22.319306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/03/image_15072025_12_03_14_2700.jpg', '/home/pi/Desktop/images/15072025/12/05/image_15072025_12_05_14_2793.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/03/image_15072025_12_03_14_2700.jpg
/home/pi/Desktop/images/15072025/12/05/image_15072025_12_05_14_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372171783","1372171779"],"photo_ids_order":["1372171779","1372171783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f4b9b28c0f8a756104b2316fd05e6e51.jpg","text":"TemporaryFile(/tmp/multipartBody2279295391505148721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573983321,"filename":"image_15072025_12_05_14_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5226242bbb7c92a90db8b42703e407f7.jpg","text":"TemporaryFile(/tmp/multipartBody2382583448360712180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752573983321,"filename":"image_15072025_12_03_14_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372171783","file0":"1372171779"},"map_files_photo_id_array":[{"photo_id":"1372171783","filename":"file1"},{"photo_id":"1372171779","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372171783":["hashtag1","hashtag2"]},{"1372171779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372171783, 1372171779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.459390878677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:06:02.800991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:06:22.225816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:06:42.278250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:07:03.004255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:07:22.198595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/05/image_15072025_12_05_47_2829.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/05/image_15072025_12_05_47_2829.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372171838"],"photo_id":"1372171838","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/030afd8a7031acc8d5950522e88be5cc.jpg","text":"TemporaryFile(/tmp/multipartBody1571063298721317938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574103155,"filename":"image_15072025_12_05_47_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372171838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372171838"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 24.63153386116028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:08:03.205739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:08:22.592842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/07/image_15072025_12_07_23_3754.jpg', '/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_38_3594.jpg', '/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_47_9548.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/07/image_15072025_12_07_23_3754.jpg
/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_38_3594.jpg
/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_47_9548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172035","1372172085","1372172118"],"photo_ids_order":["1372172035","1372172085","1372172118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b663b209d2000f5aa184e736d0a8ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody1744293654949548245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574163636,"filename":"image_15072025_12_07_23_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7943fe63bcb076751d06f63e8fb3efab.jpg","text":"TemporaryFile(/tmp/multipartBody5049392213745635638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574163636,"filename":"image_15072025_12_08_38_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d258a486ed4785ac3286d48eb8de0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3237612253707329382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574163636,"filename":"image_15072025_12_08_47_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172118","file1":"1372172085","file0":"1372172035"},"map_files_photo_id_array":[{"photo_id":"1372172118","filename":"file2"},{"photo_id":"1372172085","filename":"file1"},{"photo_id":"1372172035","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172035":["hashtag1","hashtag2"]},{"1372172085":["hashtag1","hashtag2"]},{"1372172118":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172035, 1372172085, 1372172118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.421586990356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:09:03.643323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:09:22.313415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_54_1656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/08/image_15072025_12_08_54_1656.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172184"],"photo_id":"1372172184","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bb802370d24a348069890e868311229.jpg","text":"TemporaryFile(/tmp/multipartBody6703901262226278748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574223284,"filename":"image_15072025_12_08_54_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372172184"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372172184"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.067097425460815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:09:42.324802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:10:02.635569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:10:21.944952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/09/image_15072025_12_09_04_2714.jpg', '/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_13_2652.jpg', '/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_22_2674.jpg', '/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_38_3569.jpg', '/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_43_2813.jpg', '/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_50_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/09/image_15072025_12_09_04_2714.jpg
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_13_2652.jpg
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_22_2674.jpg
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_38_3569.jpg
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_43_2813.jpg
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_50_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172269","1372172265","1372172274","1372172277","1372172262","1372172259"],"photo_ids_order":["1372172259","1372172262","1372172265","1372172269","1372172274","1372172277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d2a5f1082c6ddd18be98ae48bb43c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3486825556773339307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_10_38_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c175fe744b40b509b334e605cafff81c.jpg","text":"TemporaryFile(/tmp/multipartBody6698028211307748349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_10_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30c28b45d8f50e545c238f8ebafb4ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1595596703457106299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_10_43_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e68d5cbb6e68ced18f55e09ea69cb034.jpg","text":"TemporaryFile(/tmp/multipartBody7209360297131121838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_10_50_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3771f5372d5f351d6ecbadf2bf8e25e.jpg","text":"TemporaryFile(/tmp/multipartBody7872440364449419789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_10_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f85ac9fc12a38d66855d962d86be6517.jpg","text":"TemporaryFile(/tmp/multipartBody8197794144393332428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574283069,"filename":"image_15072025_12_09_04_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172265","file1":"1372172262","file0":"1372172259","file4":"1372172274","file5":"1372172277","file3":"1372172269"},"map_files_photo_id_array":[{"photo_id":"1372172277","filename":"file5"},{"photo_id":"1372172265","filename":"file2"},{"photo_id":"1372172274","filename":"file4"},{"photo_id":"1372172262","filename":"file1"},{"photo_id":"1372172259","filename":"file0"},{"photo_id":"1372172269","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172269":["hashtag1","hashtag2"]},{"1372172265":["hashtag1","hashtag2"]},{"1372172274":["hashtag1","hashtag2"]},{"1372172277":["hashtag1","hashtag2"]},{"1372172262":["hashtag1","hashtag2"]},{"1372172259":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172269, 1372172265, 1372172274, 1372172277, 1372172262, 1372172259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.00070071220398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:11:22.849893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_52_2696.jpg', '/home/pi/Desktop/images/15072025/12/11/image_15072025_12_11_08_3675.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/10/image_15072025_12_10_52_2696.jpg
/home/pi/Desktop/images/15072025/12/11/image_15072025_12_11_08_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172296","1372172292"],"photo_ids_order":["1372172292","1372172296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c1f92e91b4696f2cbd092210eb3f13b.jpg","text":"TemporaryFile(/tmp/multipartBody1603534635602485235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574343859,"filename":"image_15072025_12_11_08_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09de6705b6055c258028b2030af7419e.jpg","text":"TemporaryFile(/tmp/multipartBody3669458804351311516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574343859,"filename":"image_15072025_12_10_52_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372172296","file0":"1372172292"},"map_files_photo_id_array":[{"photo_id":"1372172296","filename":"file1"},{"photo_id":"1372172292","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172296":["hashtag1","hashtag2"]},{"1372172292":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172296, 1372172292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.66097140312195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:12:03.062667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:12:22.518167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:12:42.530081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:13:03.231849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:13:22.493682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/11/image_15072025_12_11_19_2736.jpg', '/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_40_2699.jpg', '/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_43_3592.jpg', '/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_46_2810.jpg', '/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_49_2685.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/11/image_15072025_12_11_19_2736.jpg
/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_40_2699.jpg
/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_43_3592.jpg
/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_46_2810.jpg
/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_49_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":["1372172351","1372172342","1372172347","1372172355","1372172358"],"photo_ids_order":["1372172342","1372172347","1372172351","1372172355","1372172358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a45c54f79294e8fa1205b08a10818912.jpg","text":"TemporaryFile(/tmp/multipartBody9029699851298254023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574463594,"filename":"image_15072025_12_13_43_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f17fe3e411bbf7aa97c0cfef9fcbf8a.jpg","text":"TemporaryFile(/tmp/multipartBody3112917986542860135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574463594,"filename":"image_15072025_12_11_19_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f638e3182d23a304aa81b25cc034986b.jpg","text":"TemporaryFile(/tmp/multipartBody2871765883930178304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574463594,"filename":"image_15072025_12_13_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c3f7f6ee9ae5a7830fdbaaecbee3e85.jpg","text":"TemporaryFile(/tmp/multipartBody921257658798774239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574463594,"filename":"image_15072025_12_13_46_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/337a4ce823a283d3be428a8138d17d09.jpg","text":"TemporaryFile(/tmp/multipartBody4199395927677415126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574463594,"filename":"image_15072025_12_13_49_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172351","file1":"1372172347","file0":"1372172342","file4":"1372172358","file3":"1372172355"},"map_files_photo_id_array":[{"photo_id":"1372172351","filename":"file2"},{"photo_id":"1372172358","filename":"file4"},{"photo_id":"1372172347","filename":"file1"},{"photo_id":"1372172342","filename":"file0"},{"photo_id":"1372172355","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172351":["hashtag1","hashtag2"]},{"1372172342":["hashtag1","hashtag2"]},{"1372172347":["hashtag1","hashtag2"]},{"1372172355":["hashtag1","hashtag2"]},{"1372172358":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172351, 1372172342, 1372172347, 1372172355, 1372172358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.875186920166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:14:21.907132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_51_2679.jpg', '/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_25_2805.jpg', '/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_28_2675.jpg', '/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_34_2913.jpg', '/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_37_2673.jpg', '/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_49_3651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/13/image_15072025_12_13_51_2679.jpg
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_25_2805.jpg
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_28_2675.jpg
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_34_2913.jpg
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_37_2673.jpg
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_49_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":["1372172389","1372172383","1372172394","1372172409","1372172403","1372172399"],"photo_ids_order":["1372172383","1372172389","1372172394","1372172399","1372172403","1372172409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62bb8d026ade8f6d994e8603568b26d4.jpg","text":"TemporaryFile(/tmp/multipartBody218188458637263949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_14_25_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fca17f380d6be4406ad8d5dcd3a5d816.jpg","text":"TemporaryFile(/tmp/multipartBody7681248792949860119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_13_51_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a98ea8e0dfd3eb36ad651f2349061a0.jpg","text":"TemporaryFile(/tmp/multipartBody5954061375466588505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_14_28_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6565c43c78f38f3ccef243f717762baa.jpg","text":"TemporaryFile(/tmp/multipartBody6440819294976341644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_14_49_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/758ec4074739c8f9083edda3acca3674.jpg","text":"TemporaryFile(/tmp/multipartBody6173666367887975560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_14_37_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff73b768258178f6d03146470a7a52df.jpg","text":"TemporaryFile(/tmp/multipartBody8753805924569096863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574523054,"filename":"image_15072025_12_14_34_2913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172394","file1":"1372172389","file0":"1372172383","file4":"1372172403","file5":"1372172409","file3":"1372172399"},"map_files_photo_id_array":[{"photo_id":"1372172409","filename":"file5"},{"photo_id":"1372172394","filename":"file2"},{"photo_id":"1372172403","filename":"file4"},{"photo_id":"1372172389","filename":"file1"},{"photo_id":"1372172383","filename":"file0"},{"photo_id":"1372172399","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172389":["hashtag1","hashtag2"]},{"1372172383":["hashtag1","hashtag2"]},{"1372172394":["hashtag1","hashtag2"]},{"1372172409":["hashtag1","hashtag2"]},{"1372172403":["hashtag1","hashtag2"]},{"1372172399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172389, 1372172383, 1372172394, 1372172409, 1372172403, 1372172399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.282349586486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:15:22.481729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_57_2875.jpg', '/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_19_3663.jpg', '/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_34_3742.jpg', '/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_37_2688.jpg', '/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_46_2624.jpg', '/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_52_3729.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/14/image_15072025_12_14_57_2875.jpg
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_19_3663.jpg
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_34_3742.jpg
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_37_2688.jpg
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_46_2624.jpg
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_15_52_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172441","1372172437","1372172425","1372172428","1372172433","1372172418"],"photo_ids_order":["1372172418","1372172425","1372172428","1372172433","1372172437","1372172441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f5d1e84a225e8ed9d61e873ff9fa46f6.jpg","text":"TemporaryFile(/tmp/multipartBody6759979595920560769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_15_52_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/df7e0e6b64569f7ae14df261558bec29.jpg","text":"TemporaryFile(/tmp/multipartBody7189248126852281901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_15_46_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4b8444f1289cacade0b685d183bfcde.jpg","text":"TemporaryFile(/tmp/multipartBody5921619639234220044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_15_19_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad2dab862d4a6768e40bd6ccc6dbc77d.jpg","text":"TemporaryFile(/tmp/multipartBody2761731984125113330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_15_34_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8e6b162efa47c0a87f7729155a8bc34.jpg","text":"TemporaryFile(/tmp/multipartBody4442439043711764040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_15_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9bf96727555e6d56db9374bf5a8c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody9086354439109334551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574583607,"filename":"image_15072025_12_14_57_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172428","file1":"1372172425","file0":"1372172418","file4":"1372172437","file5":"1372172441","file3":"1372172433"},"map_files_photo_id_array":[{"photo_id":"1372172441","filename":"file5"},{"photo_id":"1372172428","filename":"file2"},{"photo_id":"1372172437","filename":"file4"},{"photo_id":"1372172425","filename":"file1"},{"photo_id":"1372172418","filename":"file0"},{"photo_id":"1372172433","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172441":["hashtag1","hashtag2"]},{"1372172437":["hashtag1","hashtag2"]},{"1372172425":["hashtag1","hashtag2"]},{"1372172428":["hashtag1","hashtag2"]},{"1372172433":["hashtag1","hashtag2"]},{"1372172418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172441, 1372172437, 1372172425, 1372172428, 1372172433, 1372172418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.4662652015686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:16:21.977289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/15/image_15072025_12_16_01_3553.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_04_2813.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_13_2610.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_27_2824.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_36_2757.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_40_3658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/15/image_15072025_12_16_01_3553.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_04_2813.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_13_2610.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_27_2824.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_36_2757.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_40_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172465","1372172470","1372172481","1372172451","1372172460","1372172456"],"photo_ids_order":["1372172451","1372172456","1372172460","1372172465","1372172470","1372172481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/000ec491dcfaf0bd0174ccda26f58bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4115705299104606966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_27_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c97d10043536b3cc38c9de0bcba6c5a0.jpg","text":"TemporaryFile(/tmp/multipartBody2022442990560688243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_36_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52a0486bcb64145e159869a3a501d864.jpg","text":"TemporaryFile(/tmp/multipartBody9071774379396434727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_40_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f92c1ff463e4aa2a484a5339ebe6d655.jpg","text":"TemporaryFile(/tmp/multipartBody1088449530307599269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_01_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b60c23f7fc2d7c61bdcb7981bde8116f.jpg","text":"TemporaryFile(/tmp/multipartBody1379890502097620443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46f1032050d7d7fa97119cb5edbe987a.jpg","text":"TemporaryFile(/tmp/multipartBody1924083057774209052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574643118,"filename":"image_15072025_12_16_04_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172460","file1":"1372172456","file0":"1372172451","file4":"1372172470","file5":"1372172481","file3":"1372172465"},"map_files_photo_id_array":[{"photo_id":"1372172481","filename":"file5"},{"photo_id":"1372172460","filename":"file2"},{"photo_id":"1372172470","filename":"file4"},{"photo_id":"1372172456","filename":"file1"},{"photo_id":"1372172451","filename":"file0"},{"photo_id":"1372172465","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172465":["hashtag1","hashtag2"]},{"1372172470":["hashtag1","hashtag2"]},{"1372172481":["hashtag1","hashtag2"]},{"1372172451":["hashtag1","hashtag2"]},{"1372172460":["hashtag1","hashtag2"]},{"1372172456":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172465, 1372172470, 1372172481, 1372172451, 1372172460, 1372172456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28341007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:17:22.310033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_43_2664.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_54_2781.jpg', '/home/pi/Desktop/images/15072025/12/16/image_15072025_12_17_01_3800.jpg', '/home/pi/Desktop/images/15072025/12/17/image_15072025_12_17_18_2543.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_43_2664.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_16_54_2781.jpg
/home/pi/Desktop/images/15072025/12/16/image_15072025_12_17_01_3800.jpg
/home/pi/Desktop/images/15072025/12/17/image_15072025_12_17_18_2543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172497","1372172504","1372172509","1372172502"],"photo_ids_order":["1372172497","1372172502","1372172504","1372172509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3e2f2e2dc4d3b0802da4d1070af1638.jpg","text":"TemporaryFile(/tmp/multipartBody9219735427641666464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574703386,"filename":"image_15072025_12_16_43_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a3320830a06ccb75560ba248fe688b21.jpg","text":"TemporaryFile(/tmp/multipartBody3498917867175111748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574703386,"filename":"image_15072025_12_17_01_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c78335867c673eae097c4769bc19e4f6.jpg","text":"TemporaryFile(/tmp/multipartBody4992749717261067936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574703386,"filename":"image_15072025_12_17_18_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1daff7dc3c054e7c7d7522f270001d52.jpg","text":"TemporaryFile(/tmp/multipartBody1837964087590590540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574703386,"filename":"image_15072025_12_16_54_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172504","file1":"1372172502","file0":"1372172497","file3":"1372172509"},"map_files_photo_id_array":[{"photo_id":"1372172504","filename":"file2"},{"photo_id":"1372172502","filename":"file1"},{"photo_id":"1372172497","filename":"file0"},{"photo_id":"1372172509","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172497":["hashtag1","hashtag2"]},{"1372172504":["hashtag1","hashtag2"]},{"1372172509":["hashtag1","hashtag2"]},{"1372172502":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172497, 1372172504, 1372172509, 1372172502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31366467475891 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:18:22.034072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/17/image_15072025_12_17_22_3764.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/17/image_15072025_12_17_22_3764.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172528"],"photo_id":"1372172528","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0aa845d1dc7ee73802399a92aabde7f.jpg","text":"TemporaryFile(/tmp/multipartBody1146831045500903196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574763007,"filename":"image_15072025_12_17_22_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372172528"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372172528"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.353029489517212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:18:42.078404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:19:03.809548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:19:22.722599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/18/image_15072025_12_19_01_3599.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_03_2660.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_06_2746.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_10_3606.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_22_3788.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_36_2559.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/18/image_15072025_12_19_01_3599.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_03_2660.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_06_2746.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_10_3606.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_22_3788.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_36_2559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172570","1372172564","1372172566","1372172569","1372172560","1372172571"],"photo_ids_order":["1372172560","1372172564","1372172566","1372172569","1372172570","1372172571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e6c70ed16528c8d42732cd7008d11a8.jpg","text":"TemporaryFile(/tmp/multipartBody6018245030722459502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_22_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/839881e3fc3302ab1bd275fb33ed2b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4380156324986503232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_03_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17efd38a520dd72029b232376cc63005.jpg","text":"TemporaryFile(/tmp/multipartBody5487005511688641512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_06_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/98ffdf3df3d4219c5ef6423acd09b894.jpg","text":"TemporaryFile(/tmp/multipartBody1872506186702854356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_10_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65e28e3e9be257b5e245829603bc9846.jpg","text":"TemporaryFile(/tmp/multipartBody7170405853315831569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_01_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d028b9728a5cffb7fa7da6493568296d.jpg","text":"TemporaryFile(/tmp/multipartBody6263376785529964183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574823858,"filename":"image_15072025_12_19_36_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172566","file1":"1372172564","file0":"1372172560","file4":"1372172570","file5":"1372172571","file3":"1372172569"},"map_files_photo_id_array":[{"photo_id":"1372172571","filename":"file5"},{"photo_id":"1372172566","filename":"file2"},{"photo_id":"1372172570","filename":"file4"},{"photo_id":"1372172564","filename":"file1"},{"photo_id":"1372172560","filename":"file0"},{"photo_id":"1372172569","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172570":["hashtag1","hashtag2"]},{"1372172564":["hashtag1","hashtag2"]},{"1372172566":["hashtag1","hashtag2"]},{"1372172569":["hashtag1","hashtag2"]},{"1372172560":["hashtag1","hashtag2"]},{"1372172571":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172570, 1372172564, 1372172566, 1372172569, 1372172560, 1372172571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.095852851867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:20:22.387161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_42_2606.jpg', '/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_54_2755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_42_2606.jpg
/home/pi/Desktop/images/15072025/12/19/image_15072025_12_19_54_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172581","1372172589"],"photo_ids_order":["1372172581","1372172589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04b7380722fdacfdc0aca2e7916a5561.jpg","text":"TemporaryFile(/tmp/multipartBody9034885348923257706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574883377,"filename":"image_15072025_12_19_42_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78639cb5746482f0916eef0460a4ea62.jpg","text":"TemporaryFile(/tmp/multipartBody7597523869852791659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574883377,"filename":"image_15072025_12_19_54_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372172589","file0":"1372172581"},"map_files_photo_id_array":[{"photo_id":"1372172589","filename":"file1"},{"photo_id":"1372172581","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172581":["hashtag1","hashtag2"]},{"1372172589":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172581, 1372172589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.7875657081604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:21:03.353644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:21:22.617575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/20/image_15072025_12_20_09_2827.jpg', '/home/pi/Desktop/images/15072025/12/21/image_15072025_12_21_10_3636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/20/image_15072025_12_20_09_2827.jpg
/home/pi/Desktop/images/15072025/12/21/image_15072025_12_21_10_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172612","1372172617"],"photo_ids_order":["1372172612","1372172617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/873b71f86d193059eb1e608b8f2ad9f7.jpg","text":"TemporaryFile(/tmp/multipartBody9183423740515316884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574943610,"filename":"image_15072025_12_20_09_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/51b7be79faeb9d80e43fc117ef86c110.jpg","text":"TemporaryFile(/tmp/multipartBody3152574944650592892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752574943610,"filename":"image_15072025_12_21_10_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372172617","file0":"1372172612"},"map_files_photo_id_array":[{"photo_id":"1372172617","filename":"file1"},{"photo_id":"1372172612","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172612":["hashtag1","hashtag2"]},{"1372172617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172612, 1372172617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.50291419029236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:22:03.236510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:22:22.635028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/21/image_15072025_12_22_00_2647.jpg', '/home/pi/Desktop/images/15072025/12/22/image_15072025_12_22_03_2716.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/21/image_15072025_12_22_00_2647.jpg
/home/pi/Desktop/images/15072025/12/22/image_15072025_12_22_03_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172651","1372172647"],"photo_ids_order":["1372172647","1372172651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3999ca94b4f77ddd8efab92b37294671.jpg","text":"TemporaryFile(/tmp/multipartBody401358420352236678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575003638,"filename":"image_15072025_12_22_03_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f7da5a6d6e87307c946030f20f7b6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6468563347221645778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575003638,"filename":"image_15072025_12_22_00_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372172651","file0":"1372172647"},"map_files_photo_id_array":[{"photo_id":"1372172651","filename":"file1"},{"photo_id":"1372172647","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172651":["hashtag1","hashtag2"]},{"1372172647":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172651, 1372172647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.43908381462097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:23:03.188899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:23:22.400226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:23:42.446471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:24:02.658790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:24:21.810195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/22/image_15072025_12_22_06_3764.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_03_2619.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_06_3711.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_12_2818.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_21_2801.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_23_2560.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/22/image_15072025_12_22_06_3764.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_03_2619.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_06_3711.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_12_2818.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_21_2801.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_23_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172738","1372172732","1372172719","1372172742","1372172724","1372172727"],"photo_ids_order":["1372172719","1372172724","1372172727","1372172732","1372172738","1372172742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d5a71eb356f97857213b560f78394ae.jpg","text":"TemporaryFile(/tmp/multipartBody155455971330043502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_24_21_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a048663ba66f72f4a512fe7bd3c204ea.jpg","text":"TemporaryFile(/tmp/multipartBody3152459818301269659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_24_12_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0a6c68979920efcc97bc1d31ed3b481.jpg","text":"TemporaryFile(/tmp/multipartBody2736963717842587191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_22_06_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a604adb17d466425af7807ffe897452.jpg","text":"TemporaryFile(/tmp/multipartBody6710683367065593789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_24_23_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/347bf6df8da3c0081de586bfd47d84c0.jpg","text":"TemporaryFile(/tmp/multipartBody6087376225360759062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_24_03_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b64829df2bcfe10e719a5a174dfc1022.jpg","text":"TemporaryFile(/tmp/multipartBody8151817826826471595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575122974,"filename":"image_15072025_12_24_06_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172727","file1":"1372172724","file0":"1372172719","file4":"1372172738","file5":"1372172742","file3":"1372172732"},"map_files_photo_id_array":[{"photo_id":"1372172742","filename":"file5"},{"photo_id":"1372172727","filename":"file2"},{"photo_id":"1372172738","filename":"file4"},{"photo_id":"1372172724","filename":"file1"},{"photo_id":"1372172719","filename":"file0"},{"photo_id":"1372172732","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172738":["hashtag1","hashtag2"]},{"1372172732":["hashtag1","hashtag2"]},{"1372172719":["hashtag1","hashtag2"]},{"1372172742":["hashtag1","hashtag2"]},{"1372172724":["hashtag1","hashtag2"]},{"1372172727":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172738, 1372172732, 1372172719, 1372172742, 1372172724, 1372172727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.67070555686951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:25:21.876067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_27_3784.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_30_2660.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_36_3649.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_41_2676.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_45_3637.jpg', '/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_48_2681.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_27_3784.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_30_2660.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_36_3649.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_41_2676.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_45_3637.jpg
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_48_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172773","1372172775","1372172760","1372172754","1372172771","1372172765"],"photo_ids_order":["1372172754","1372172760","1372172765","1372172771","1372172773","1372172775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f5d6d3e9fb69a821de490a1927e6027.jpg","text":"TemporaryFile(/tmp/multipartBody2891046309256408338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_45_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd61b42994725d3e1e2c1b5b7e03e97f.jpg","text":"TemporaryFile(/tmp/multipartBody8803017390129147173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_48_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bf8ef1f3976b73fa2951e653992f680.jpg","text":"TemporaryFile(/tmp/multipartBody3558595344074369129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_30_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02ea3fc55cb282c0c8e067e773f9e973.jpg","text":"TemporaryFile(/tmp/multipartBody5856942872164059167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_27_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/306e0f83162f3b465bcc0bbcf5fb7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5154142955493698116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_41_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/49c55354abf4df8fc9081aa77a74b939.jpg","text":"TemporaryFile(/tmp/multipartBody6340390729839115922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575183061,"filename":"image_15072025_12_24_36_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172765","file1":"1372172760","file0":"1372172754","file4":"1372172773","file5":"1372172775","file3":"1372172771"},"map_files_photo_id_array":[{"photo_id":"1372172775","filename":"file5"},{"photo_id":"1372172765","filename":"file2"},{"photo_id":"1372172773","filename":"file4"},{"photo_id":"1372172760","filename":"file1"},{"photo_id":"1372172754","filename":"file0"},{"photo_id":"1372172771","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172773":["hashtag1","hashtag2"]},{"1372172775":["hashtag1","hashtag2"]},{"1372172760":["hashtag1","hashtag2"]},{"1372172754":["hashtag1","hashtag2"]},{"1372172771":["hashtag1","hashtag2"]},{"1372172765":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172773, 1372172775, 1372172760, 1372172754, 1372172771, 1372172765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.38139605522156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:26:22.694860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_57_3602.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_09_3532.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_12_2075.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_15_3656.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_18_2635.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_27_3696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/24/image_15072025_12_24_57_3602.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_09_3532.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_12_2075.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_15_3656.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_18_2635.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_27_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172801","1372172804","1372172807","1372172796","1372172792","1372172786"],"photo_ids_order":["1372172786","1372172792","1372172796","1372172801","1372172804","1372172807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6367d1ab9a97baeb70d4fda7e9f5c997.jpg","text":"TemporaryFile(/tmp/multipartBody5126251824956567046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_25_15_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7b45a8408eede191fea88c776bdcf404.jpg","text":"TemporaryFile(/tmp/multipartBody7656785745616419511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_25_18_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05c2cfb39925bc9f9e4e9ac378e0d2e2.jpg","text":"TemporaryFile(/tmp/multipartBody3574598246441470602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_25_27_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c08fce6fb5536837b4eafa397ca6221.jpg","text":"TemporaryFile(/tmp/multipartBody5328532973609139321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_25_12_2075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/712d90934d181b1b8f13387538207ab1.jpg","text":"TemporaryFile(/tmp/multipartBody970033510942059733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_25_09_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8aa21558f2a86a31883432bc0c729167.jpg","text":"TemporaryFile(/tmp/multipartBody551648408373021366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575243833,"filename":"image_15072025_12_24_57_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172796","file1":"1372172792","file0":"1372172786","file4":"1372172804","file5":"1372172807","file3":"1372172801"},"map_files_photo_id_array":[{"photo_id":"1372172807","filename":"file5"},{"photo_id":"1372172796","filename":"file2"},{"photo_id":"1372172804","filename":"file4"},{"photo_id":"1372172792","filename":"file1"},{"photo_id":"1372172786","filename":"file0"},{"photo_id":"1372172801","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172801":["hashtag1","hashtag2"]},{"1372172804":["hashtag1","hashtag2"]},{"1372172807":["hashtag1","hashtag2"]},{"1372172796":["hashtag1","hashtag2"]},{"1372172792":["hashtag1","hashtag2"]},{"1372172786":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172801, 1372172804, 1372172807, 1372172796, 1372172792, 1372172786)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.49161672592163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:27:42.473366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_30_2681.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_32_2644.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_39_2731.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_47_2668.jpg', '/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_59_2736.jpg', '/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_06_2951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_30_2681.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_32_2644.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_39_2731.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_47_2668.jpg
/home/pi/Desktop/images/15072025/12/25/image_15072025_12_25_59_2736.jpg
/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_06_2951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172828","1372172837","1372172822","1372172825","1372172833","1372172841"],"photo_ids_order":["1372172822","1372172825","1372172828","1372172833","1372172837","1372172841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c3b2faad9388ac0a69ee66d3c11e55c2.jpg","text":"TemporaryFile(/tmp/multipartBody2488947121236193483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_25_39_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c5413a338ea0a7e6b007b1910580db38.jpg","text":"TemporaryFile(/tmp/multipartBody4030285187957299449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_25_59_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30d32a77c175b5822ab3e38e88149166.jpg","text":"TemporaryFile(/tmp/multipartBody5691844005203370370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_25_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/7/15/744237b787127c674af5acef1781e3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5537910260234466478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_25_32_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c6ad835be8c16f791d3a2842cd2ce19.jpg","text":"TemporaryFile(/tmp/multipartBody7827024916453401433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_25_47_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/efb02a5795c0de9600f84142b6b7f050.jpg","text":"TemporaryFile(/tmp/multipartBody6702410357891469354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575323624,"filename":"image_15072025_12_26_06_2951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172828","file1":"1372172825","file0":"1372172822","file4":"1372172837","file5":"1372172841","file3":"1372172833"},"map_files_photo_id_array":[{"photo_id":"1372172841","filename":"file5"},{"photo_id":"1372172828","filename":"file2"},{"photo_id":"1372172837","filename":"file4"},{"photo_id":"1372172825","filename":"file1"},{"photo_id":"1372172822","filename":"file0"},{"photo_id":"1372172833","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172828":["hashtag1","hashtag2"]},{"1372172837":["hashtag1","hashtag2"]},{"1372172822":["hashtag1","hashtag2"]},{"1372172825":["hashtag1","hashtag2"]},{"1372172833":["hashtag1","hashtag2"]},{"1372172841":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172828, 1372172837, 1372172822, 1372172825, 1372172833, 1372172841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.38115334510803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:28:42.218662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_17_2588.jpg', '/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_33_3673.jpg', '/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_50_2704.jpg', '/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_54_3751.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_17_2588.jpg
/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_33_3673.jpg
/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_50_2704.jpg
/home/pi/Desktop/images/15072025/12/26/image_15072025_12_26_54_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172857","1372172860","1372172853","1372172864"],"photo_ids_order":["1372172853","1372172857","1372172860","1372172864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ccd4f7f2ba2dee875deb897fbbc9444.jpg","text":"TemporaryFile(/tmp/multipartBody8106659802750062260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575383300,"filename":"image_15072025_12_26_33_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff82ec8546c2b4bf8d2de96ccdcdf88f.jpg","text":"TemporaryFile(/tmp/multipartBody8612136488307244204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575383300,"filename":"image_15072025_12_26_50_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f24d05657464b19af5fed25231fafb3.jpg","text":"TemporaryFile(/tmp/multipartBody3061868542246992163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575383300,"filename":"image_15072025_12_26_17_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95b4d9658f21fc710948dcc62151e456.jpg","text":"TemporaryFile(/tmp/multipartBody6172410626006732611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575383300,"filename":"image_15072025_12_26_54_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172860","file1":"1372172857","file0":"1372172853","file3":"1372172864"},"map_files_photo_id_array":[{"photo_id":"1372172860","filename":"file2"},{"photo_id":"1372172857","filename":"file1"},{"photo_id":"1372172853","filename":"file0"},{"photo_id":"1372172864","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172857":["hashtag1","hashtag2"]},{"1372172860":["hashtag1","hashtag2"]},{"1372172853":["hashtag1","hashtag2"]},{"1372172864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172857, 1372172860, 1372172853, 1372172864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.44000554084778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:29:22.881660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/28/image_15072025_12_28_56_2760.jpg', '/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_35_2567.jpg', '/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_44_2806.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/28/image_15072025_12_28_56_2760.jpg
/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_35_2567.jpg
/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_44_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172887","1372172872","1372172879"],"photo_ids_order":["1372172872","1372172879","1372172887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c30b16785396bfa4ba0fcf8469abb920.jpg","text":"TemporaryFile(/tmp/multipartBody7682874750272698717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575423914,"filename":"image_15072025_12_29_44_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b3a05940b36d49f66b19ffb14cbf8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5801785288526646520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575423914,"filename":"image_15072025_12_28_56_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e31023c04eeba3c9dcf7e35c0fb70bc.jpg","text":"TemporaryFile(/tmp/multipartBody1718244542491858760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575423914,"filename":"image_15072025_12_29_35_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172887","file1":"1372172879","file0":"1372172872"},"map_files_photo_id_array":[{"photo_id":"1372172887","filename":"file2"},{"photo_id":"1372172879","filename":"file1"},{"photo_id":"1372172872","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172887":["hashtag1","hashtag2"]},{"1372172872":["hashtag1","hashtag2"]},{"1372172879":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172887, 1372172872, 1372172879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.33849549293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:30:03.253941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:30:22.673144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_53_2736.jpg', '/home/pi/Desktop/images/15072025/12/30/image_15072025_12_30_38_2581.jpg', '/home/pi/Desktop/images/15072025/12/30/image_15072025_12_30_47_2537.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/29/image_15072025_12_29_53_2736.jpg
/home/pi/Desktop/images/15072025/12/30/image_15072025_12_30_38_2581.jpg
/home/pi/Desktop/images/15072025/12/30/image_15072025_12_30_47_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172912","1372172906","1372172916"],"photo_ids_order":["1372172906","1372172912","1372172916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/68e644a955518a7df2990c5633301004.jpg","text":"TemporaryFile(/tmp/multipartBody8831396393547655889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575483722,"filename":"image_15072025_12_30_38_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c2045d8f2f712f3618ba3a345f01858.jpg","text":"TemporaryFile(/tmp/multipartBody7218986689872577012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575483722,"filename":"image_15072025_12_29_53_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/37f95c6b35cccfa67ce0fb81e5c9f961.jpg","text":"TemporaryFile(/tmp/multipartBody382127394068189907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575483722,"filename":"image_15072025_12_30_47_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172916","file1":"1372172912","file0":"1372172906"},"map_files_photo_id_array":[{"photo_id":"1372172916","filename":"file2"},{"photo_id":"1372172912","filename":"file1"},{"photo_id":"1372172906","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172912":["hashtag1","hashtag2"]},{"1372172906":["hashtag1","hashtag2"]},{"1372172916":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172912, 1372172906, 1372172916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.473308086395264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:31:03.057956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:31:22.004585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/30/image_15072025_12_31_00_3578.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_08_3595.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_14_2731.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_23_2719.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_27_3705.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_29_2771.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/30/image_15072025_12_31_00_3578.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_08_3595.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_14_2731.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_23_2719.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_27_3705.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_29_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172941","1372172935","1372172952","1372172961","1372172943","1372172946"],"photo_ids_order":["1372172935","1372172941","1372172943","1372172946","1372172952","1372172961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1177825d211476217afd8500abcc12c.jpg","text":"TemporaryFile(/tmp/multipartBody5399426498886305716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_08_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5b5e9299f532d4e0e813e9e001634981.jpg","text":"TemporaryFile(/tmp/multipartBody776658888657402503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_00_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec1514ed8ecc9f4becfd0b437620984e.jpg","text":"TemporaryFile(/tmp/multipartBody5911848163855939625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_27_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d42b7ccfb8b956621c592e659f79c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3735607403577133585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_29_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f7d48f364142d6a77a02f8bb73743efa.jpg","text":"TemporaryFile(/tmp/multipartBody4880622674138382757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_14_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ddb5048bcd658fd7912eb3f5d7ac5e61.jpg","text":"TemporaryFile(/tmp/multipartBody5835693917765597889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575543172,"filename":"image_15072025_12_31_23_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172943","file1":"1372172941","file0":"1372172935","file4":"1372172952","file5":"1372172961","file3":"1372172946"},"map_files_photo_id_array":[{"photo_id":"1372172961","filename":"file5"},{"photo_id":"1372172943","filename":"file2"},{"photo_id":"1372172952","filename":"file4"},{"photo_id":"1372172941","filename":"file1"},{"photo_id":"1372172935","filename":"file0"},{"photo_id":"1372172946","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172941":["hashtag1","hashtag2"]},{"1372172935":["hashtag1","hashtag2"]},{"1372172952":["hashtag1","hashtag2"]},{"1372172961":["hashtag1","hashtag2"]},{"1372172943":["hashtag1","hashtag2"]},{"1372172946":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172941, 1372172935, 1372172952, 1372172961, 1372172943, 1372172946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.54829287528992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:32:21.874081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_32_2675.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_35_2852.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_39_3682.jpg', '/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_53_2622.jpg', '/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_02_2616.jpg', '/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_08_2514.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_32_2675.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_35_2852.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_39_3682.jpg
/home/pi/Desktop/images/15072025/12/31/image_15072025_12_31_53_2622.jpg
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_02_2616.jpg
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_08_2514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372172997","1372172991","1372172985","1372172999","1372173008","1372172993"],"photo_ids_order":["1372172985","1372172991","1372172993","1372172997","1372172999","1372173008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84655edc5f4efe7156424da1d26d2522.jpg","text":"TemporaryFile(/tmp/multipartBody8139787146737075321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_31_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/7/15/aea65b6a13400c014234f9e0aac6aab7.jpg","text":"TemporaryFile(/tmp/multipartBody1450580795844209293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_31_35_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95dfead7152ebc9e49a7ffbd06dd08f7.jpg","text":"TemporaryFile(/tmp/multipartBody445138477477147781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_31_32_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dca602721aa91073e98f8d5f22062d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7703895191690733772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_32_02_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba6a4d532641a0777aee037ee185fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody1169341185020436437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_32_08_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9cf1893f8ea805ae9fc048640ee06500.jpg","text":"TemporaryFile(/tmp/multipartBody3554912461633721474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575603009,"filename":"image_15072025_12_31_39_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372172993","file1":"1372172991","file0":"1372172985","file4":"1372172999","file5":"1372173008","file3":"1372172997"},"map_files_photo_id_array":[{"photo_id":"1372173008","filename":"file5"},{"photo_id":"1372172993","filename":"file2"},{"photo_id":"1372172999","filename":"file4"},{"photo_id":"1372172991","filename":"file1"},{"photo_id":"1372172985","filename":"file0"},{"photo_id":"1372172997","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372172997":["hashtag1","hashtag2"]},{"1372172991":["hashtag1","hashtag2"]},{"1372172985":["hashtag1","hashtag2"]},{"1372172999":["hashtag1","hashtag2"]},{"1372173008":["hashtag1","hashtag2"]},{"1372172993":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372172997, 1372172991, 1372172985, 1372172999, 1372173008, 1372172993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.29752707481384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:33:21.929473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_20_2894.jpg', '/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_32_2703.jpg', '/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_35_3688.jpg', '/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_38_2710.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_20_2894.jpg
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_32_2703.jpg
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_35_3688.jpg
/home/pi/Desktop/images/15072025/12/32/image_15072025_12_32_38_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173025","1372173016","1372173030","1372173020"],"photo_ids_order":["1372173016","1372173020","1372173025","1372173030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54ced21fd43898162e29efee6449eaab.jpg","text":"TemporaryFile(/tmp/multipartBody7917187379470803382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575662978,"filename":"image_15072025_12_32_35_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab9a0b63635c9e5949378d06caaa798b.jpg","text":"TemporaryFile(/tmp/multipartBody7271779965728697843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575662978,"filename":"image_15072025_12_32_20_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97a8ba02df37e00573ad3959e64ad14f.jpg","text":"TemporaryFile(/tmp/multipartBody2058392815175902379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575662978,"filename":"image_15072025_12_32_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/7/15/127750f01f72acf507c63a78510dbabf.jpg","text":"TemporaryFile(/tmp/multipartBody6176235141236729636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575662978,"filename":"image_15072025_12_32_32_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173025","file1":"1372173020","file0":"1372173016","file3":"1372173030"},"map_files_photo_id_array":[{"photo_id":"1372173025","filename":"file2"},{"photo_id":"1372173020","filename":"file1"},{"photo_id":"1372173016","filename":"file0"},{"photo_id":"1372173030","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173025":["hashtag1","hashtag2"]},{"1372173016":["hashtag1","hashtag2"]},{"1372173030":["hashtag1","hashtag2"]},{"1372173020":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173025, 1372173016, 1372173030, 1372173020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42866039276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:34:03.302556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:34:22.473386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/33/image_15072025_12_33_14_3596.jpg', '/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_34_2560.jpg', '/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_56_3812.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/33/image_15072025_12_33_14_3596.jpg
/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_34_2560.jpg
/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_56_3812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173052","1372173046","1372173056"],"photo_ids_order":["1372173046","1372173052","1372173056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f8ad147f855fa033261ac36c3b0a370.jpg","text":"TemporaryFile(/tmp/multipartBody905513442674344287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575723488,"filename":"image_15072025_12_34_34_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa9f116f5ece31f6ab6005696283102e.jpg","text":"TemporaryFile(/tmp/multipartBody7729274540781943943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575723488,"filename":"image_15072025_12_33_14_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f234b243140db47684c8e38a5d1217f.jpg","text":"TemporaryFile(/tmp/multipartBody7021632234142307560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575723488,"filename":"image_15072025_12_34_56_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173056","file1":"1372173052","file0":"1372173046"},"map_files_photo_id_array":[{"photo_id":"1372173056","filename":"file2"},{"photo_id":"1372173052","filename":"file1"},{"photo_id":"1372173046","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173052":["hashtag1","hashtag2"]},{"1372173046":["hashtag1","hashtag2"]},{"1372173056":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173052, 1372173046, 1372173056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 40.478703022003174 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:35:23.596005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_59_2732.jpg', '/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_02_2667.jpg', '/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_05_3064.jpg', '/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_08_2914.jpg', '/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_11_3625.jpg', '/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_57_3839.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/34/image_15072025_12_34_59_2732.jpg
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_02_2667.jpg
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_05_3064.jpg
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_08_2914.jpg
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_11_3625.jpg
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_57_3839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173085","1372173106","1372173100","1372173093","1372173089","1372173098"],"photo_ids_order":["1372173085","1372173089","1372173093","1372173098","1372173100","1372173106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/446f1a6d2fbe6d3090ea911cd20b9929.jpg","text":"TemporaryFile(/tmp/multipartBody2839205439890430989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_34_59_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47620116aa3b0087c633e704f4860c0f.jpg","text":"TemporaryFile(/tmp/multipartBody946107370465230155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_35_57_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02621e478895576a89807644baa7b192.jpg","text":"TemporaryFile(/tmp/multipartBody7522848209981291222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_35_11_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7aa3afd50112b10daf4ad87ac3642681.jpg","text":"TemporaryFile(/tmp/multipartBody3203457982045921510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_35_05_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8079e42340bb236143489a285a7d9486.jpg","text":"TemporaryFile(/tmp/multipartBody4082257626916853616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_35_02_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0a8ca6684b014c8bbb13aa7750456ef.jpg","text":"TemporaryFile(/tmp/multipartBody2990477008565674883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575784746,"filename":"image_15072025_12_35_08_2914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173093","file1":"1372173089","file0":"1372173085","file4":"1372173100","file5":"1372173106","file3":"1372173098"},"map_files_photo_id_array":[{"photo_id":"1372173106","filename":"file5"},{"photo_id":"1372173093","filename":"file2"},{"photo_id":"1372173100","filename":"file4"},{"photo_id":"1372173089","filename":"file1"},{"photo_id":"1372173085","filename":"file0"},{"photo_id":"1372173098","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173085":["hashtag1","hashtag2"]},{"1372173106":["hashtag1","hashtag2"]},{"1372173100":["hashtag1","hashtag2"]},{"1372173093":["hashtag1","hashtag2"]},{"1372173089":["hashtag1","hashtag2"]},{"1372173098":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173085, 1372173106, 1372173100, 1372173093, 1372173089, 1372173098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63881492614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:36:22.175406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_59_1732.jpg', '/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_02_3600.jpg', '/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_17_2658.jpg', '/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_26_2686.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/35/image_15072025_12_35_59_1732.jpg
/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_02_3600.jpg
/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_17_2658.jpg
/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_26_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173121","1372173114","1372173117","1372173126"],"photo_ids_order":["1372173114","1372173117","1372173121","1372173126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8e2e1551e9bbd08d59618ec718ff1938.jpg","text":"TemporaryFile(/tmp/multipartBody473687007975841465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575843232,"filename":"image_15072025_12_36_17_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b48e1d5cda1aba73f9a44ffbd648453.jpg","text":"TemporaryFile(/tmp/multipartBody1111347424254292869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575843232,"filename":"image_15072025_12_35_59_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f979195fd4a12e72c8e512557d97393b.jpg","text":"TemporaryFile(/tmp/multipartBody9041134862021869742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575843232,"filename":"image_15072025_12_36_02_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c812ec3f4e285b1d16ec4c547fbc4a80.jpg","text":"TemporaryFile(/tmp/multipartBody2219155636290097752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575843232,"filename":"image_15072025_12_36_26_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173121","file1":"1372173117","file0":"1372173114","file3":"1372173126"},"map_files_photo_id_array":[{"photo_id":"1372173121","filename":"file2"},{"photo_id":"1372173117","filename":"file1"},{"photo_id":"1372173114","filename":"file0"},{"photo_id":"1372173126","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173121":["hashtag1","hashtag2"]},{"1372173114":["hashtag1","hashtag2"]},{"1372173117":["hashtag1","hashtag2"]},{"1372173126":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173121, 1372173114, 1372173117, 1372173126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.466761112213135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:37:03.285530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:37:22.504353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_28_2634.jpg', '/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_02_3587.jpg', '/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_11_3630.jpg', '/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_35_2707.jpg', '/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_41_3590.jpg', '/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_43_2533.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/36/image_15072025_12_36_28_2634.jpg
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_02_3587.jpg
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_11_3630.jpg
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_35_2707.jpg
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_41_3590.jpg
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_43_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173142","1372173147","1372173138","1372173158","1372173152","1372173155"],"photo_ids_order":["1372173138","1372173142","1372173147","1372173152","1372173155","1372173158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d816b7e550b4c6dc092b2ea8ac52d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3609086118396987880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_37_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/7/15/ac5a3c9079c3442ebc2f05c8ac8393c8.jpg","text":"TemporaryFile(/tmp/multipartBody6653835677359126843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_37_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/7/15/81ca5d60f3bc7af0d0a571817484f014.jpg","text":"TemporaryFile(/tmp/multipartBody832264867372029869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_36_28_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e22eac154a64b0e931f450b57c0337b1.jpg","text":"TemporaryFile(/tmp/multipartBody4275325211127609538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_37_43_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/13df631ff15f4f045d84e821e50fea4a.jpg","text":"TemporaryFile(/tmp/multipartBody3927273584143885423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_37_35_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4cf6c2de1f053301639947f3c4181bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1606217279512862382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575903629,"filename":"image_15072025_12_37_41_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173147","file1":"1372173142","file0":"1372173138","file4":"1372173155","file5":"1372173158","file3":"1372173152"},"map_files_photo_id_array":[{"photo_id":"1372173158","filename":"file5"},{"photo_id":"1372173147","filename":"file2"},{"photo_id":"1372173155","filename":"file4"},{"photo_id":"1372173142","filename":"file1"},{"photo_id":"1372173138","filename":"file0"},{"photo_id":"1372173152","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173142":["hashtag1","hashtag2"]},{"1372173147":["hashtag1","hashtag2"]},{"1372173138":["hashtag1","hashtag2"]},{"1372173158":["hashtag1","hashtag2"]},{"1372173152":["hashtag1","hashtag2"]},{"1372173155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173142, 1372173147, 1372173138, 1372173158, 1372173152, 1372173155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.111793756484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:38:25.190110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_55_1724.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/37/image_15072025_12_37_55_1724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173174"],"photo_id":"1372173174","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bac1837e8c6d38a1a05f748774127ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7996360782508063391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752575966152,"filename":"image_15072025_12_37_55_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372173174"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372173174"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.837850332260132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:38:45.178846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:39:03.724301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:39:22.592721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/38/image_15072025_12_38_47_3690.jpg', '/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_19_2631.jpg', '/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_28_2601.jpg', '/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_38_3583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/38/image_15072025_12_38_47_3690.jpg
/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_19_2631.jpg
/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_28_2601.jpg
/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_38_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173199","1372173205","1372173195","1372173201"],"photo_ids_order":["1372173195","1372173199","1372173201","1372173205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf17e09e27943166ec415078ed5d3831.jpg","text":"TemporaryFile(/tmp/multipartBody2747413579663870618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576023659,"filename":"image_15072025_12_39_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/7/15/85e4c30412d575999db51076692899a0.jpg","text":"TemporaryFile(/tmp/multipartBody75214175954173724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576023659,"filename":"image_15072025_12_39_38_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3ec9db19a280acaac905e409a881918.jpg","text":"TemporaryFile(/tmp/multipartBody487937127680900837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576023659,"filename":"image_15072025_12_38_47_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af3e5942103c14424797482cfea69957.jpg","text":"TemporaryFile(/tmp/multipartBody4169247654458233236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576023659,"filename":"image_15072025_12_39_28_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173201","file1":"1372173199","file0":"1372173195","file3":"1372173205"},"map_files_photo_id_array":[{"photo_id":"1372173201","filename":"file2"},{"photo_id":"1372173199","filename":"file1"},{"photo_id":"1372173195","filename":"file0"},{"photo_id":"1372173205","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173199":["hashtag1","hashtag2"]},{"1372173205":["hashtag1","hashtag2"]},{"1372173195":["hashtag1","hashtag2"]},{"1372173201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173199, 1372173205, 1372173195, 1372173201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.061999797821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:40:02.453642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:40:22.007016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_59_3656.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_07_2746.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_13_2769.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_21_1859.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_23_1741.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_25_1744.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/39/image_15072025_12_39_59_3656.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_07_2746.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_13_2769.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_21_1859.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_23_1741.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_25_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173256","1372173241","1372173244","1372173246","1372173254","1372173251"],"photo_ids_order":["1372173241","1372173244","1372173246","1372173251","1372173254","1372173256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e794d270d80c3544a182f4dab6ccb712.jpg","text":"TemporaryFile(/tmp/multipartBody583634768002917930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_40_25_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dfcea61151f5a7103806868dcbdbea26.jpg","text":"TemporaryFile(/tmp/multipartBody2753022828644503223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_39_59_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/655abaee3c5d6efc927c52dc6e3f1d7d.jpg","text":"TemporaryFile(/tmp/multipartBody979956511982139419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_40_07_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2b7540702ee38a3e6c0fd17d9846dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2830519761924438030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_40_13_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7601101a2a07aa96c728ec6a6c8cf4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8849065543217900668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_40_23_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88d16c220834bfe91b4f43cbd52c9388.jpg","text":"TemporaryFile(/tmp/multipartBody338812557456114651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576083155,"filename":"image_15072025_12_40_21_1859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173246","file1":"1372173244","file0":"1372173241","file4":"1372173254","file5":"1372173256","file3":"1372173251"},"map_files_photo_id_array":[{"photo_id":"1372173256","filename":"file5"},{"photo_id":"1372173246","filename":"file2"},{"photo_id":"1372173254","filename":"file4"},{"photo_id":"1372173244","filename":"file1"},{"photo_id":"1372173241","filename":"file0"},{"photo_id":"1372173251","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173256":["hashtag1","hashtag2"]},{"1372173241":["hashtag1","hashtag2"]},{"1372173244":["hashtag1","hashtag2"]},{"1372173246":["hashtag1","hashtag2"]},{"1372173254":["hashtag1","hashtag2"]},{"1372173251":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173256, 1372173241, 1372173244, 1372173246, 1372173254, 1372173251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.21739602088928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:41:22.508651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_29_3763.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_31_2610.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_34_2676.jpg', '/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_40_2525.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_07_2794.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_10_2724.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_29_3763.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_31_2610.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_34_2676.jpg
/home/pi/Desktop/images/15072025/12/40/image_15072025_12_40_40_2525.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_07_2794.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_10_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173298","1372173294","1372173288","1372173279","1372173296","1372173284"],"photo_ids_order":["1372173279","1372173284","1372173288","1372173294","1372173296","1372173298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfdfec8d2a4db9bc5994f6d56816bc64.jpg","text":"TemporaryFile(/tmp/multipartBody707801751086712181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_41_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/7/15/14408f551c51df6e5b02842bbaebd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody6884854286372877229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_40_40_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9d5851c7709b1df6696d6a56e580955.jpg","text":"TemporaryFile(/tmp/multipartBody6306945495874142676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_40_34_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/252f5c4907c3844e61a1000b1dd352f0.jpg","text":"TemporaryFile(/tmp/multipartBody8943808931933362834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_40_29_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a1a3a5a8048e5ca7403012e7749af50.jpg","text":"TemporaryFile(/tmp/multipartBody7993466690574950594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_41_07_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f70c0c111c69de2db466eee9cd3c4629.jpg","text":"TemporaryFile(/tmp/multipartBody7986787527146966449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576143669,"filename":"image_15072025_12_40_31_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173288","file1":"1372173284","file0":"1372173279","file4":"1372173296","file5":"1372173298","file3":"1372173294"},"map_files_photo_id_array":[{"photo_id":"1372173298","filename":"file5"},{"photo_id":"1372173288","filename":"file2"},{"photo_id":"1372173296","filename":"file4"},{"photo_id":"1372173284","filename":"file1"},{"photo_id":"1372173279","filename":"file0"},{"photo_id":"1372173294","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173298":["hashtag1","hashtag2"]},{"1372173294":["hashtag1","hashtag2"]},{"1372173288":["hashtag1","hashtag2"]},{"1372173279":["hashtag1","hashtag2"]},{"1372173296":["hashtag1","hashtag2"]},{"1372173284":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173298, 1372173294, 1372173288, 1372173279, 1372173296, 1372173284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.39345622062683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:42:22.334596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_16_3687.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_28_2789.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_34_2821.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_40_2698.jpg', '/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_58_2744.jpg', '/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_01_2828.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_16_3687.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_28_2789.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_34_2821.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_40_2698.jpg
/home/pi/Desktop/images/15072025/12/41/image_15072025_12_41_58_2744.jpg
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_01_2828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173314","1372173328","1372173331","1372173309","1372173318","1372173323"],"photo_ids_order":["1372173309","1372173314","1372173318","1372173323","1372173328","1372173331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae4cf98ec7595371f277c7b9bcb8d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5954186049971507851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_41_28_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cbe920294fa413a788cb0a8dd9539338.jpg","text":"TemporaryFile(/tmp/multipartBody6534561426310884415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_41_58_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e03a74808b318d0f0cdc8a2df276ff2f.jpg","text":"TemporaryFile(/tmp/multipartBody1603710949011372101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_42_01_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54d29992aa874f6bc0cebff556939864.jpg","text":"TemporaryFile(/tmp/multipartBody4069985996245336785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_41_16_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9b50ee090f4e53f54d92691124f2161.jpg","text":"TemporaryFile(/tmp/multipartBody8856961601229019872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_41_34_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d01ba9a0a33048f06dd39de11ad68e40.jpg","text":"TemporaryFile(/tmp/multipartBody3005137677210964306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576203496,"filename":"image_15072025_12_41_40_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173318","file1":"1372173314","file0":"1372173309","file4":"1372173328","file5":"1372173331","file3":"1372173323"},"map_files_photo_id_array":[{"photo_id":"1372173331","filename":"file5"},{"photo_id":"1372173318","filename":"file2"},{"photo_id":"1372173328","filename":"file4"},{"photo_id":"1372173314","filename":"file1"},{"photo_id":"1372173309","filename":"file0"},{"photo_id":"1372173323","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173314":["hashtag1","hashtag2"]},{"1372173328":["hashtag1","hashtag2"]},{"1372173331":["hashtag1","hashtag2"]},{"1372173309":["hashtag1","hashtag2"]},{"1372173318":["hashtag1","hashtag2"]},{"1372173323":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173314, 1372173328, 1372173331, 1372173309, 1372173318, 1372173323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97289824485779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:43:22.576294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_04_2646.jpg', '/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_22_2698.jpg', '/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_31_2781.jpg', '/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_34_2828.jpg', '/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_40_2692.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_10_2837.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_04_2646.jpg
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_22_2698.jpg
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_31_2781.jpg
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_34_2828.jpg
/home/pi/Desktop/images/15072025/12/42/image_15072025_12_42_40_2692.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_10_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":["1372173355","1372173349","1372173357","1372173345","1372173339","1372173360"],"photo_ids_order":["1372173339","1372173345","1372173349","1372173355","1372173357","1372173360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/917650136d1a6667bd68bc222468eacf.jpg","text":"TemporaryFile(/tmp/multipartBody2082337242126885976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_42_34_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2cc1108d49a84ccf11fef14f97546877.jpg","text":"TemporaryFile(/tmp/multipartBody7430388278334932900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_42_31_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8029fcdd6d7f6e49bd13e34fb94cf60.jpg","text":"TemporaryFile(/tmp/multipartBody3759658132069031245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_42_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/7/15/6e271621f3994d52ae67725c43f42027.jpg","text":"TemporaryFile(/tmp/multipartBody1377595084125083744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_42_22_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3acb9d6d77440581490e9b1b4b4edff7.jpg","text":"TemporaryFile(/tmp/multipartBody1323854281768757841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_42_04_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/386eaec64eb418c9d930b35a46be27a2.jpg","text":"TemporaryFile(/tmp/multipartBody1078016099308657831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576263735,"filename":"image_15072025_12_43_10_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173349","file1":"1372173345","file0":"1372173339","file4":"1372173357","file5":"1372173360","file3":"1372173355"},"map_files_photo_id_array":[{"photo_id":"1372173360","filename":"file5"},{"photo_id":"1372173349","filename":"file2"},{"photo_id":"1372173357","filename":"file4"},{"photo_id":"1372173345","filename":"file1"},{"photo_id":"1372173339","filename":"file0"},{"photo_id":"1372173355","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173355":["hashtag1","hashtag2"]},{"1372173349":["hashtag1","hashtag2"]},{"1372173357":["hashtag1","hashtag2"]},{"1372173345":["hashtag1","hashtag2"]},{"1372173339":["hashtag1","hashtag2"]},{"1372173360":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173355, 1372173349, 1372173357, 1372173345, 1372173339, 1372173360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.655492305755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:44:22.368676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_16_3659.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_37_3620.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_40_2717.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_43_2728.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_49_2819.jpg', '/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_52_2837.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_16_3659.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_37_3620.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_40_2717.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_43_2728.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_49_2819.jpg
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_52_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":["1372173382","1372173370","1372173403","1372173393","1372173378","1372173389"],"photo_ids_order":["1372173370","1372173378","1372173382","1372173389","1372173393","1372173403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb6ab2e5f9174ed23d1b11f8e527a883.jpg","text":"TemporaryFile(/tmp/multipartBody1521002945730788920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_40_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c90baf2191c27f96eb6841161374853.jpg","text":"TemporaryFile(/tmp/multipartBody4482290093740085403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_16_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/113ea50544fe0118af1f7eda8ee04740.jpg","text":"TemporaryFile(/tmp/multipartBody2414767860560193509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_52_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a46e5cf30ff6c13d72ea50fe488fbbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5199216758173420205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_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/7/15/278bccfa578ed47c661b1799d1b41534.jpg","text":"TemporaryFile(/tmp/multipartBody6321985571490813198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_37_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cce80b8bb36980cc4875142f405afb61.jpg","text":"TemporaryFile(/tmp/multipartBody4216476009337370691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576323533,"filename":"image_15072025_12_43_43_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173382","file1":"1372173378","file0":"1372173370","file4":"1372173393","file5":"1372173403","file3":"1372173389"},"map_files_photo_id_array":[{"photo_id":"1372173403","filename":"file5"},{"photo_id":"1372173382","filename":"file2"},{"photo_id":"1372173393","filename":"file4"},{"photo_id":"1372173378","filename":"file1"},{"photo_id":"1372173370","filename":"file0"},{"photo_id":"1372173389","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173382":["hashtag1","hashtag2"]},{"1372173370":["hashtag1","hashtag2"]},{"1372173403":["hashtag1","hashtag2"]},{"1372173393":["hashtag1","hashtag2"]},{"1372173378":["hashtag1","hashtag2"]},{"1372173389":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173382, 1372173370, 1372173403, 1372173393, 1372173378, 1372173389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.78031897544861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:45:22.023131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_55_2695.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_01_2578.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_22_2607.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_40_2638.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_55_3754.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_10_2783.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_55_2695.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_01_2578.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_22_2607.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_40_2638.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_55_3754.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_10_2783.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.870499849319458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:45:42.049625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_55_2695.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_01_2578.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_22_2607.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_40_2638.jpg', '/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_55_3754.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_10_2783.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/43/image_15072025_12_43_55_2695.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_01_2578.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_22_2607.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_40_2638.jpg
/home/pi/Desktop/images/15072025/12/44/image_15072025_12_44_55_3754.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_10_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":["1372173442","1372173430","1372173450","1372173438","1372173434","1372173446"],"photo_ids_order":["1372173430","1372173434","1372173438","1372173442","1372173446","1372173450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d28db328261784e4ae5c3a09e975bc9a.jpg","text":"TemporaryFile(/tmp/multipartBody4252124382046864093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_44_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2917a10a95d91315f04aae98a150dc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6366954071711981097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_43_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/7/15/1d033e567c1ab97ecbbd4ec5d6148f08.jpg","text":"TemporaryFile(/tmp/multipartBody4425863325732655992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_45_10_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/939b92bc3eea0408b04b291d1206fc31.jpg","text":"TemporaryFile(/tmp/multipartBody2965743736827709473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_44_22_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/491bc15dd885d809ef53e0102fe2b0de.jpg","text":"TemporaryFile(/tmp/multipartBody3912052727893042826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_44_01_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a21d89979a642c21d1ee95ad52990991.jpg","text":"TemporaryFile(/tmp/multipartBody6298835491516962536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576403225,"filename":"image_15072025_12_44_55_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173438","file1":"1372173434","file0":"1372173430","file4":"1372173446","file5":"1372173450","file3":"1372173442"},"map_files_photo_id_array":[{"photo_id":"1372173450","filename":"file5"},{"photo_id":"1372173438","filename":"file2"},{"photo_id":"1372173446","filename":"file4"},{"photo_id":"1372173434","filename":"file1"},{"photo_id":"1372173430","filename":"file0"},{"photo_id":"1372173442","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173442":["hashtag1","hashtag2"]},{"1372173430":["hashtag1","hashtag2"]},{"1372173450":["hashtag1","hashtag2"]},{"1372173438":["hashtag1","hashtag2"]},{"1372173434":["hashtag1","hashtag2"]},{"1372173446":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173442, 1372173430, 1372173450, 1372173438, 1372173434, 1372173446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.089760303497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 12:46:42.812400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_22_2831.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_37_2688.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_51_4538.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_58_2838.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_01_2867.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_04_2923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_22_2831.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_37_2688.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_51_4538.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_58_2838.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_01_2867.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_04_2923.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.749068021774292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:47:02.670492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_22_2831.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_37_2688.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_51_4538.jpg', '/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_58_2838.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_01_2867.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_04_2923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_22_2831.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_37_2688.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_51_4538.jpg
/home/pi/Desktop/images/15072025/12/45/image_15072025_12_45_58_2838.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_01_2867.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_04_2923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173496","1372173484","1372173480","1372173507","1372173491","1372173503"],"photo_ids_order":["1372173480","1372173484","1372173491","1372173496","1372173503","1372173507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0189120a86284754b3ac71bf8bce60d5.jpg","text":"TemporaryFile(/tmp/multipartBody1471214573030534528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_45_58_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c56dc0d8f7104860a3202dffb9e6c253.jpg","text":"TemporaryFile(/tmp/multipartBody2884826144512386979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_45_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b15bfb4e59a45981d5b3b421f862ed65.jpg","text":"TemporaryFile(/tmp/multipartBody4882978264143390101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_45_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/7/15/8c878f0c6a788c85909bb2a808082345.jpg","text":"TemporaryFile(/tmp/multipartBody7516570923576425122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_46_04_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a293219a12a1c2ff6416d81348aea22e.jpg","text":"TemporaryFile(/tmp/multipartBody4630485265810021935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_45_51_4538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3209008f00baa3f7b3b67795ea6db5db.jpg","text":"TemporaryFile(/tmp/multipartBody3232998938832170895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576484009,"filename":"image_15072025_12_46_01_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173491","file1":"1372173484","file0":"1372173480","file4":"1372173503","file5":"1372173507","file3":"1372173496"},"map_files_photo_id_array":[{"photo_id":"1372173507","filename":"file5"},{"photo_id":"1372173491","filename":"file2"},{"photo_id":"1372173503","filename":"file4"},{"photo_id":"1372173484","filename":"file1"},{"photo_id":"1372173480","filename":"file0"},{"photo_id":"1372173496","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173496":["hashtag1","hashtag2"]},{"1372173484":["hashtag1","hashtag2"]},{"1372173480":["hashtag1","hashtag2"]},{"1372173507":["hashtag1","hashtag2"]},{"1372173491":["hashtag1","hashtag2"]},{"1372173503":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173496, 1372173484, 1372173480, 1372173507, 1372173491, 1372173503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.77025890350342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:48:02.680033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_06_2707.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_09_2844.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_13_3695.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_18_2765.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_27_2638.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_31_3631.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_06_2707.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_09_2844.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_13_3695.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_18_2765.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_27_2638.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_31_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173527","1372173541","1372173520","1372173522","1372173546","1372173533"],"photo_ids_order":["1372173520","1372173522","1372173527","1372173533","1372173541","1372173546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2543d9656904e07d4b0c49bfc634c993.jpg","text":"TemporaryFile(/tmp/multipartBody680843025851706626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_13_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d07db4af1a75537db8e66d821f0d9b50.jpg","text":"TemporaryFile(/tmp/multipartBody6546142916822747857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_27_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d86d6e5c303ae531d58395450846233.jpg","text":"TemporaryFile(/tmp/multipartBody74641239188229877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_06_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/83493fb13eea94e2f33a5a54bf141a22.jpg","text":"TemporaryFile(/tmp/multipartBody5946001842052939161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_09_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29f0f4b5b0ed918bcbe6b5b5c89392ac.jpg","text":"TemporaryFile(/tmp/multipartBody7290354483977056792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_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/7/15/0883e59186b6b6e71006787e87908f56.jpg","text":"TemporaryFile(/tmp/multipartBody131805166987160227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576543899,"filename":"image_15072025_12_46_18_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173527","file1":"1372173522","file0":"1372173520","file4":"1372173541","file5":"1372173546","file3":"1372173533"},"map_files_photo_id_array":[{"photo_id":"1372173546","filename":"file5"},{"photo_id":"1372173527","filename":"file2"},{"photo_id":"1372173541","filename":"file4"},{"photo_id":"1372173522","filename":"file1"},{"photo_id":"1372173520","filename":"file0"},{"photo_id":"1372173533","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173527":["hashtag1","hashtag2"]},{"1372173541":["hashtag1","hashtag2"]},{"1372173520":["hashtag1","hashtag2"]},{"1372173522":["hashtag1","hashtag2"]},{"1372173546":["hashtag1","hashtag2"]},{"1372173533":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173527, 1372173541, 1372173520, 1372173522, 1372173546, 1372173533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21331286430359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:49:03.721252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_36_2535.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_40_3674.jpg', '/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_55_2805.jpg', '/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_39_2673.jpg', '/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_43_3588.jpg', '/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_49_3603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_36_2535.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_40_3674.jpg
/home/pi/Desktop/images/15072025/12/46/image_15072025_12_46_55_2805.jpg
/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_39_2673.jpg
/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_43_3588.jpg
/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_49_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173591","1372173573","1372173567","1372173584","1372173578","1372173587"],"photo_ids_order":["1372173567","1372173573","1372173578","1372173584","1372173587","1372173591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a53eb0b1b3dc0429d03c7aaf02bc14ba.jpg","text":"TemporaryFile(/tmp/multipartBody7296770518471993895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_47_49_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2521bdbbf1c70857f7377975ee0a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody296092283658335520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_46_40_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/023106ee87777328e5ec67866f9b5050.jpg","text":"TemporaryFile(/tmp/multipartBody7524903011217316200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_46_36_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f339e693a13b2a00b7596437bd9cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody8528415135266091307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_47_39_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97b21b7e9445b5e409d2c361c1e23d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3351533916029597418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_46_55_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17c1b519858b662fefec39239d482293.jpg","text":"TemporaryFile(/tmp/multipartBody7584558267828832721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576605067,"filename":"image_15072025_12_47_43_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173578","file1":"1372173573","file0":"1372173567","file4":"1372173587","file5":"1372173591","file3":"1372173584"},"map_files_photo_id_array":[{"photo_id":"1372173591","filename":"file5"},{"photo_id":"1372173578","filename":"file2"},{"photo_id":"1372173587","filename":"file4"},{"photo_id":"1372173573","filename":"file1"},{"photo_id":"1372173567","filename":"file0"},{"photo_id":"1372173584","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173591":["hashtag1","hashtag2"]},{"1372173573":["hashtag1","hashtag2"]},{"1372173567":["hashtag1","hashtag2"]},{"1372173584":["hashtag1","hashtag2"]},{"1372173578":["hashtag1","hashtag2"]},{"1372173587":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173591, 1372173573, 1372173567, 1372173584, 1372173578, 1372173587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89402198791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:50:02.447773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_55_3398.jpg', '/home/pi/Desktop/images/15072025/12/47/image_15072025_12_48_00_2575.jpg', '/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_06_2786.jpg', '/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_18_2703.jpg', '/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_27_2712.jpg', '/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_31_3593.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/47/image_15072025_12_47_55_3398.jpg
/home/pi/Desktop/images/15072025/12/47/image_15072025_12_48_00_2575.jpg
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_06_2786.jpg
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_18_2703.jpg
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_27_2712.jpg
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_31_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173611","1372173607","1372173604","1372173597","1372173600","1372173614"],"photo_ids_order":["1372173597","1372173600","1372173604","1372173607","1372173611","1372173614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64cc4db00dfa0a1ff6750cbf69d6be03.jpg","text":"TemporaryFile(/tmp/multipartBody5547762847250699740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_48_27_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32296116ae113042f49ff7cef7e48e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4434108560941996118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_48_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/7/15/56e51670170c315d0fa595cf46b0fd82.jpg","text":"TemporaryFile(/tmp/multipartBody8102454561732876639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_48_06_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89f8673a21805013e24476a41122f8b0.jpg","text":"TemporaryFile(/tmp/multipartBody5692031858874751069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_47_55_3398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc412cb5adb6ee4e9a958bc13da6dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody623447631955549175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_48_00_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f8ffc860789dc2be4e3412a00b0990d.jpg","text":"TemporaryFile(/tmp/multipartBody147471490170531175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576663749,"filename":"image_15072025_12_48_31_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173604","file1":"1372173600","file0":"1372173597","file4":"1372173611","file5":"1372173614","file3":"1372173607"},"map_files_photo_id_array":[{"photo_id":"1372173614","filename":"file5"},{"photo_id":"1372173604","filename":"file2"},{"photo_id":"1372173611","filename":"file4"},{"photo_id":"1372173600","filename":"file1"},{"photo_id":"1372173597","filename":"file0"},{"photo_id":"1372173607","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173611":["hashtag1","hashtag2"]},{"1372173607":["hashtag1","hashtag2"]},{"1372173604":["hashtag1","hashtag2"]},{"1372173597":["hashtag1","hashtag2"]},{"1372173600":["hashtag1","hashtag2"]},{"1372173614":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173611, 1372173607, 1372173604, 1372173597, 1372173600, 1372173614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42289090156555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:51:03.109970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_33_2599.jpg', '/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_36_2706.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_09_2666.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_13_3372.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_16_2665.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_18_2866.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_33_2599.jpg
/home/pi/Desktop/images/15072025/12/48/image_15072025_12_48_36_2706.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_09_2666.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_13_3372.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_16_2665.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_18_2866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173634","1372173639","1372173650","1372173656","1372173629","1372173644"],"photo_ids_order":["1372173629","1372173634","1372173639","1372173644","1372173650","1372173656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2daed1813ec27f1c5ed083a592970531.jpg","text":"TemporaryFile(/tmp/multipartBody2728219000765493968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_48_36_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c608d0e31b88b1bcab2e2bf9eda235e7.jpg","text":"TemporaryFile(/tmp/multipartBody5256804824087267735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_49_09_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5053bdbcfd96b28792054c25f72557c6.jpg","text":"TemporaryFile(/tmp/multipartBody4924940543193774073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_49_16_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34739b20fa10f4beff2802855a216a15.jpg","text":"TemporaryFile(/tmp/multipartBody2287420807371980783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_49_18_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/288c38184d672f931f3eacc19940f46e.jpg","text":"TemporaryFile(/tmp/multipartBody4348255101504991665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_48_33_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6dc7f8d9bd229bdb329378788df5642.jpg","text":"TemporaryFile(/tmp/multipartBody1522896072082136412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576724382,"filename":"image_15072025_12_49_13_3372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173639","file1":"1372173634","file0":"1372173629","file4":"1372173650","file5":"1372173656","file3":"1372173644"},"map_files_photo_id_array":[{"photo_id":"1372173656","filename":"file5"},{"photo_id":"1372173639","filename":"file2"},{"photo_id":"1372173650","filename":"file4"},{"photo_id":"1372173634","filename":"file1"},{"photo_id":"1372173629","filename":"file0"},{"photo_id":"1372173644","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173634":["hashtag1","hashtag2"]},{"1372173639":["hashtag1","hashtag2"]},{"1372173650":["hashtag1","hashtag2"]},{"1372173656":["hashtag1","hashtag2"]},{"1372173629":["hashtag1","hashtag2"]},{"1372173644":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173634, 1372173639, 1372173650, 1372173656, 1372173629, 1372173644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.79398226737976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:52:02.527565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_30_2725.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_34_3584.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_39_2595.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_45_2671.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_48_2597.jpg', '/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_54_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_30_2725.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_34_3584.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_39_2595.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_45_2671.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_48_2597.jpg
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_49_54_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":["1372173682","1372173670","1372173667","1372173678","1372173665","1372173674"],"photo_ids_order":["1372173665","1372173667","1372173670","1372173674","1372173678","1372173682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3b5ce2df179aa3c8fc2643b98effe3a2.jpg","text":"TemporaryFile(/tmp/multipartBody1286598822625157465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_54_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/abce4012a52fad9d0f61b98348ebdc11.jpg","text":"TemporaryFile(/tmp/multipartBody1977351258402875900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_39_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/787940d4b1474a8eb78120b37826d151.jpg","text":"TemporaryFile(/tmp/multipartBody4779806653352483784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_34_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/568fc486c8f7305b45d26c842ef73b10.jpg","text":"TemporaryFile(/tmp/multipartBody7370918691208287971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_48_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f56222f2d037388a05de7d4b0470270b.jpg","text":"TemporaryFile(/tmp/multipartBody131719532408575455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_30_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6ac30f9cad5ef5e401e9a5751024266.jpg","text":"TemporaryFile(/tmp/multipartBody7337037458137726432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576783745,"filename":"image_15072025_12_49_45_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173670","file1":"1372173667","file0":"1372173665","file4":"1372173678","file5":"1372173682","file3":"1372173674"},"map_files_photo_id_array":[{"photo_id":"1372173682","filename":"file5"},{"photo_id":"1372173670","filename":"file2"},{"photo_id":"1372173678","filename":"file4"},{"photo_id":"1372173667","filename":"file1"},{"photo_id":"1372173665","filename":"file0"},{"photo_id":"1372173674","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173682":["hashtag1","hashtag2"]},{"1372173670":["hashtag1","hashtag2"]},{"1372173667":["hashtag1","hashtag2"]},{"1372173678":["hashtag1","hashtag2"]},{"1372173665":["hashtag1","hashtag2"]},{"1372173674":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173682, 1372173670, 1372173667, 1372173678, 1372173665, 1372173674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.15737986564636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:53:03.199829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/49/image_15072025_12_50_01_3695.jpg', '/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_04_2914.jpg', '/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_07_2994.jpg', '/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_09_2626.jpg', '/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_27_2743.jpg', '/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_48_2682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/49/image_15072025_12_50_01_3695.jpg
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_04_2914.jpg
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_07_2994.jpg
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_09_2626.jpg
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_27_2743.jpg
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_50_48_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173725","1372173712","1372173721","1372173703","1372173717","1372173731"],"photo_ids_order":["1372173703","1372173712","1372173717","1372173721","1372173725","1372173731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/076886de24313367fbd35f37f541dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody6742135436626272516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_27_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e14bbce78809bb1afa93bce5787009e3.jpg","text":"TemporaryFile(/tmp/multipartBody8881096614411113650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_04_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22ae3e9eb0b627e44f928df6a5426899.jpg","text":"TemporaryFile(/tmp/multipartBody6776629748521008552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_09_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/254b6d00962552c2ec7b38efd381e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody4590692587852346823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_01_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1a92a46ca4e0d51368cf770f13a6b87.jpg","text":"TemporaryFile(/tmp/multipartBody7435921111119233117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_07_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2119aea7dafe6979791dc8a7a0605ea5.jpg","text":"TemporaryFile(/tmp/multipartBody2048735422791604797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576844612,"filename":"image_15072025_12_50_48_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173717","file1":"1372173712","file0":"1372173703","file4":"1372173725","file5":"1372173731","file3":"1372173721"},"map_files_photo_id_array":[{"photo_id":"1372173731","filename":"file5"},{"photo_id":"1372173717","filename":"file2"},{"photo_id":"1372173725","filename":"file4"},{"photo_id":"1372173712","filename":"file1"},{"photo_id":"1372173703","filename":"file0"},{"photo_id":"1372173721","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173725":["hashtag1","hashtag2"]},{"1372173712":["hashtag1","hashtag2"]},{"1372173721":["hashtag1","hashtag2"]},{"1372173703":["hashtag1","hashtag2"]},{"1372173717":["hashtag1","hashtag2"]},{"1372173731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173725, 1372173712, 1372173721, 1372173703, 1372173717, 1372173731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.90924048423767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:54:03.109244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/50/image_15072025_12_51_00_2912.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_06_2617.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_13_3630.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_18_2677.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_34_3739.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_43_3880.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/50/image_15072025_12_51_00_2912.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_06_2617.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_13_3630.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_18_2677.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_34_3739.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_43_3880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173763","1372173757","1372173739","1372173748","1372173753","1372173743"],"photo_ids_order":["1372173739","1372173743","1372173748","1372173753","1372173757","1372173763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71dec7a8b8bb71737843b07fe0450f48.jpg","text":"TemporaryFile(/tmp/multipartBody3152891093834405259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_43_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c54d7e2576943a54d486a4ca6bf5613d.jpg","text":"TemporaryFile(/tmp/multipartBody3518766153627350647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_34_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6626342bf1a74094ea9444d0caece5b0.jpg","text":"TemporaryFile(/tmp/multipartBody5329783915524269762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_00_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d667b25677890ebadb3e82f0a380a64c.jpg","text":"TemporaryFile(/tmp/multipartBody6376610380229795072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_13_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5bb4d2cc2ecaa8d8e001aa20e447cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2858390168242157517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_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/7/15/d972a48d275ef1b94e33b5772472e68c.jpg","text":"TemporaryFile(/tmp/multipartBody7041656391735323654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576904327,"filename":"image_15072025_12_51_06_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173748","file1":"1372173743","file0":"1372173739","file4":"1372173757","file5":"1372173763","file3":"1372173753"},"map_files_photo_id_array":[{"photo_id":"1372173763","filename":"file5"},{"photo_id":"1372173748","filename":"file2"},{"photo_id":"1372173757","filename":"file4"},{"photo_id":"1372173743","filename":"file1"},{"photo_id":"1372173739","filename":"file0"},{"photo_id":"1372173753","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173763":["hashtag1","hashtag2"]},{"1372173757":["hashtag1","hashtag2"]},{"1372173739":["hashtag1","hashtag2"]},{"1372173748":["hashtag1","hashtag2"]},{"1372173753":["hashtag1","hashtag2"]},{"1372173743":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173763, 1372173757, 1372173739, 1372173748, 1372173753, 1372173743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07449173927307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:55:02.980209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_45_2601.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_48_2652.jpg', '/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_54_2669.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_03_2556.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_18_2812.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_21_3698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_45_2601.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_48_2652.jpg
/home/pi/Desktop/images/15072025/12/51/image_15072025_12_51_54_2669.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_03_2556.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_18_2812.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_21_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173805","1372173783","1372173794","1372173788","1372173779","1372173799"],"photo_ids_order":["1372173779","1372173783","1372173788","1372173794","1372173799","1372173805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a1453f65bef638015beb918d7b1a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody9098653167324685296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_52_21_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00bb813bd43f5651e848beda414b4894.jpg","text":"TemporaryFile(/tmp/multipartBody2506249519321926622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_51_48_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62a5a31755ca84eb601a61149034bcd7.jpg","text":"TemporaryFile(/tmp/multipartBody646000247961149505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_52_03_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/43d0a3d015b2f2ec576670d8899d6243.jpg","text":"TemporaryFile(/tmp/multipartBody4933666963928375803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_51_54_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7b61273dc1f15218034955f223a790ee.jpg","text":"TemporaryFile(/tmp/multipartBody1580310781039543896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_51_45_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cbb614d9d081a50939cd93ad9d9fccab.jpg","text":"TemporaryFile(/tmp/multipartBody1482549719401493869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752576964222,"filename":"image_15072025_12_52_18_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173788","file1":"1372173783","file0":"1372173779","file4":"1372173799","file5":"1372173805","file3":"1372173794"},"map_files_photo_id_array":[{"photo_id":"1372173805","filename":"file5"},{"photo_id":"1372173788","filename":"file2"},{"photo_id":"1372173799","filename":"file4"},{"photo_id":"1372173783","filename":"file1"},{"photo_id":"1372173779","filename":"file0"},{"photo_id":"1372173794","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173805":["hashtag1","hashtag2"]},{"1372173783":["hashtag1","hashtag2"]},{"1372173794":["hashtag1","hashtag2"]},{"1372173788":["hashtag1","hashtag2"]},{"1372173779":["hashtag1","hashtag2"]},{"1372173799":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173805, 1372173783, 1372173794, 1372173788, 1372173779, 1372173799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.13073968887329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:56:02.455915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_24_2554.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_30_3580.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_33_2755.jpg', '/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_45_2688.jpg', '/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_15_2677.jpg', '/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_18_2747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_24_2554.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_30_3580.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_33_2755.jpg
/home/pi/Desktop/images/15072025/12/52/image_15072025_12_52_45_2688.jpg
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_15_2677.jpg
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_18_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173835","1372173811","1372173820","1372173825","1372173830","1372173815"],"photo_ids_order":["1372173811","1372173815","1372173820","1372173825","1372173830","1372173835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d96785abbff399f692604cb9b1a580f.jpg","text":"TemporaryFile(/tmp/multipartBody2966734747682256330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_53_18_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da85c4a18870bd286af4de91e688066c.jpg","text":"TemporaryFile(/tmp/multipartBody2381193215325424704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_52_24_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7bcd5d9e777f6090fef51885ed5d796.jpg","text":"TemporaryFile(/tmp/multipartBody6289341777279495140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_52_33_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/807a5ba06374b98b78c76a92812dae88.jpg","text":"TemporaryFile(/tmp/multipartBody7608241753174198043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_52_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/7/15/e9693eb848dcf605342e2caf118c2413.jpg","text":"TemporaryFile(/tmp/multipartBody3834684407979881484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_53_15_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a7839213b135bf1c36b0fb1832c81e21.jpg","text":"TemporaryFile(/tmp/multipartBody7782715726812775287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577023664,"filename":"image_15072025_12_52_30_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173820","file1":"1372173815","file0":"1372173811","file4":"1372173830","file5":"1372173835","file3":"1372173825"},"map_files_photo_id_array":[{"photo_id":"1372173835","filename":"file5"},{"photo_id":"1372173820","filename":"file2"},{"photo_id":"1372173830","filename":"file4"},{"photo_id":"1372173815","filename":"file1"},{"photo_id":"1372173811","filename":"file0"},{"photo_id":"1372173825","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173835":["hashtag1","hashtag2"]},{"1372173811":["hashtag1","hashtag2"]},{"1372173820":["hashtag1","hashtag2"]},{"1372173825":["hashtag1","hashtag2"]},{"1372173830":["hashtag1","hashtag2"]},{"1372173815":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173835, 1372173811, 1372173820, 1372173825, 1372173830, 1372173815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82674527168274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:57:03.290428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:57:27.303216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_24_2767.jpg', '/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_45_2800.jpg', '/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_51_2658.jpg', '/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_57_3642.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_02_2571.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_15_3670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_24_2767.jpg
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_45_2800.jpg
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_51_2658.jpg
/home/pi/Desktop/images/15072025/12/53/image_15072025_12_53_57_3642.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_02_2571.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_15_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372173877","1372173894","1372173885","1372173888","1372173881","1372173890"],"photo_ids_order":["1372173877","1372173881","1372173885","1372173888","1372173890","1372173894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92f6d13cd13157d1ecd0b7529df39a17.jpg","text":"TemporaryFile(/tmp/multipartBody7794044977373902115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_53_24_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dca4f10c0f67829e335fcf20b6168ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2116517545978770104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_54_15_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2862bc5c39e8451acd7c1920bc440df.jpg","text":"TemporaryFile(/tmp/multipartBody3761277228024387886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_53_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/7/15/d495e15e693400b825264e122ddf39ae.jpg","text":"TemporaryFile(/tmp/multipartBody5505264132228176234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_53_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/7/15/3c15372dad78d830150bffc40e93cd84.jpg","text":"TemporaryFile(/tmp/multipartBody1380362468390551538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_53_45_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d53833d8a92c81ddd318a3e850959fb.jpg","text":"TemporaryFile(/tmp/multipartBody7001675530819847582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577111479,"filename":"image_15072025_12_54_02_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173885","file1":"1372173881","file0":"1372173877","file4":"1372173890","file5":"1372173894","file3":"1372173888"},"map_files_photo_id_array":[{"photo_id":"1372173894","filename":"file5"},{"photo_id":"1372173885","filename":"file2"},{"photo_id":"1372173890","filename":"file4"},{"photo_id":"1372173881","filename":"file1"},{"photo_id":"1372173877","filename":"file0"},{"photo_id":"1372173888","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372173877":["hashtag1","hashtag2"]},{"1372173894":["hashtag1","hashtag2"]},{"1372173885":["hashtag1","hashtag2"]},{"1372173888":["hashtag1","hashtag2"]},{"1372173881":["hashtag1","hashtag2"]},{"1372173890":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372173877, 1372173894, 1372173885, 1372173888, 1372173881, 1372173890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.65325975418091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 12:59:05.353423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 12:59:24.308053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_18_2578.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_21_2684.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_27_2720.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_33_3677.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_42_2819.jpg', '/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_48_3774.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_18_2578.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_21_2684.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_27_2720.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_33_3677.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_42_2819.jpg
/home/pi/Desktop/images/15072025/12/54/image_15072025_12_54_48_3774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372174030","1372173984","1372173933","1372173936","1372173924","1372174078"],"photo_ids_order":["1372173924","1372173933","1372173936","1372173984","1372174030","1372174078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa9363b43a242d9c9d23f1404048e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1555042100847208288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_42_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d3e14506be88e49af493d94b54b5890.jpg","text":"TemporaryFile(/tmp/multipartBody6571391052996826667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_33_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80b6be5e3f148a89f6c707ad9904df2a.jpg","text":"TemporaryFile(/tmp/multipartBody4410014629688533134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_21_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36b2aa4dc465416c248b414479234738.jpg","text":"TemporaryFile(/tmp/multipartBody8425980279149934502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_27_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/48e1a29a1747ad1c7e5c5d86f27fd180.jpg","text":"TemporaryFile(/tmp/multipartBody2069024337384333886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_18_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0df70f019f644e0305484f2bb040ed36.jpg","text":"TemporaryFile(/tmp/multipartBody7337062507168305699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577225439,"filename":"image_15072025_12_54_48_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372173936","file1":"1372173933","file0":"1372173924","file4":"1372174030","file5":"1372174078","file3":"1372173984"},"map_files_photo_id_array":[{"photo_id":"1372174078","filename":"file5"},{"photo_id":"1372173936","filename":"file2"},{"photo_id":"1372174030","filename":"file4"},{"photo_id":"1372173933","filename":"file1"},{"photo_id":"1372173924","filename":"file0"},{"photo_id":"1372173984","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372174030":["hashtag1","hashtag2"]},{"1372173984":["hashtag1","hashtag2"]},{"1372173933":["hashtag1","hashtag2"]},{"1372173936":["hashtag1","hashtag2"]},{"1372173924":["hashtag1","hashtag2"]},{"1372174078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372174030, 1372173984, 1372173933, 1372173936, 1372173924, 1372174078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.40390968322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:00:22.166564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_12_2816.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_15_2689.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_18_2789.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_45_2758.jpg', '/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_32_2619.jpg', '/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_42_3810.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_12_2816.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_15_2689.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_18_2789.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_45_2758.jpg
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_32_2619.jpg
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_42_3810.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7637121677398682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:00:42.050134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_12_2816.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_15_2689.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_18_2789.jpg', '/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_45_2758.jpg', '/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_32_2619.jpg', '/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_42_3810.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_12_2816.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_15_2689.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_18_2789.jpg
/home/pi/Desktop/images/15072025/12/55/image_15072025_12_55_45_2758.jpg
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_32_2619.jpg
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_42_3810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372174428","1372174385","1372174433","1372174337","1372174424","1372174418"],"photo_ids_order":["1372174337","1372174385","1372174418","1372174424","1372174428","1372174433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba36e3474e86d40d075ec98cbd60515d.jpg","text":"TemporaryFile(/tmp/multipartBody3413478951031331548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_57_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/7/15/8ca4f9fd2d7aec413d871e112cbd5c00.jpg","text":"TemporaryFile(/tmp/multipartBody6887447112445365663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_55_15_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b6eac722cd28ed6007933aca43f9f79c.jpg","text":"TemporaryFile(/tmp/multipartBody4339221037603055048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_57_42_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/68eefdb96e5f27bfe73f4a5a26d06372.jpg","text":"TemporaryFile(/tmp/multipartBody1696309763978777080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_55_12_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c6c30547f447140ad97ee2bda2b924a.jpg","text":"TemporaryFile(/tmp/multipartBody5808482153966738437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_55_45_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ec47255a7b7e9ed7fb1a4a23450676c.jpg","text":"TemporaryFile(/tmp/multipartBody2528117465557161440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577303206,"filename":"image_15072025_12_55_18_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372174418","file1":"1372174385","file0":"1372174337","file4":"1372174428","file5":"1372174433","file3":"1372174424"},"map_files_photo_id_array":[{"photo_id":"1372174433","filename":"file5"},{"photo_id":"1372174418","filename":"file2"},{"photo_id":"1372174428","filename":"file4"},{"photo_id":"1372174385","filename":"file1"},{"photo_id":"1372174337","filename":"file0"},{"photo_id":"1372174424","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372174428":["hashtag1","hashtag2"]},{"1372174385":["hashtag1","hashtag2"]},{"1372174433":["hashtag1","hashtag2"]},{"1372174337":["hashtag1","hashtag2"]},{"1372174424":["hashtag1","hashtag2"]},{"1372174418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372174428, 1372174385, 1372174433, 1372174337, 1372174424, 1372174418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70849394798279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:01:41.933131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_44_2541.jpg', '/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_48_3629.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_06_3640.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_18_6210.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_31_10763.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_32_1754.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_44_2541.jpg
/home/pi/Desktop/images/15072025/12/57/image_15072025_12_57_48_3629.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_06_3640.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_18_6210.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_31_10763.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_32_1754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372174510","1372174447","1372174599","1372174452","1372174668","1372174442"],"photo_ids_order":["1372174442","1372174447","1372174452","1372174510","1372174599","1372174668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac757848cf3af8217254ad3aa1818435.jpg","text":"TemporaryFile(/tmp/multipartBody7123918471778871750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_58_18_6210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca84b08790d669428f45e412fd204412.jpg","text":"TemporaryFile(/tmp/multipartBody3780026739911063543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_57_48_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71c71d43ddba913e1349aaa6f7e05502.jpg","text":"TemporaryFile(/tmp/multipartBody4836468781952563867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_58_31_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9007b4d00358456b1c9eeb6e583e7637.jpg","text":"TemporaryFile(/tmp/multipartBody4601841890556655980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_58_06_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bce8d79ece3f516e6af28c2a55735d62.jpg","text":"TemporaryFile(/tmp/multipartBody6300558188748989965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_58_32_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0e298413f805389a93a7fb6636bcf8c.jpg","text":"TemporaryFile(/tmp/multipartBody8620320903487539815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577363127,"filename":"image_15072025_12_57_44_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372174452","file1":"1372174447","file0":"1372174442","file4":"1372174599","file5":"1372174668","file3":"1372174510"},"map_files_photo_id_array":[{"photo_id":"1372174668","filename":"file5"},{"photo_id":"1372174452","filename":"file2"},{"photo_id":"1372174599","filename":"file4"},{"photo_id":"1372174447","filename":"file1"},{"photo_id":"1372174442","filename":"file0"},{"photo_id":"1372174510","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372174510":["hashtag1","hashtag2"]},{"1372174447":["hashtag1","hashtag2"]},{"1372174599":["hashtag1","hashtag2"]},{"1372174452":["hashtag1","hashtag2"]},{"1372174668":["hashtag1","hashtag2"]},{"1372174442":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372174510, 1372174447, 1372174599, 1372174452, 1372174668, 1372174442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.526360273361206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:02:42.714649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_34_1587.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_36_1527.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_39_3171.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_41_1843.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_42_1687.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_44_1658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_34_1587.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_36_1527.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_39_3171.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_41_1843.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_42_1687.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_44_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372175308","1372174998","1372174905","1372175114","1372175216","1372174811"],"photo_ids_order":["1372174811","1372174905","1372174998","1372175114","1372175216","1372175308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/caca80aa15302ab2f02a5a47a7d44a75.jpg","text":"TemporaryFile(/tmp/multipartBody5769043995653014261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_44_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cb38e99829e535a75959956f042e574d.jpg","text":"TemporaryFile(/tmp/multipartBody4791634020113545921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_39_3171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1a3d6997453f1f5e6a6aa55558ddc4a.jpg","text":"TemporaryFile(/tmp/multipartBody5086201147572737292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_36_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d26f5798f698ea834c6e338662f6b025.jpg","text":"TemporaryFile(/tmp/multipartBody3869412974450714063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_41_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/652e3704cdb482379a8f46d95cd8dad2.jpg","text":"TemporaryFile(/tmp/multipartBody2146761554365935714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_42_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9548665223e51d091e17a7171be0cbef.jpg","text":"TemporaryFile(/tmp/multipartBody7631864214083480165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577423894,"filename":"image_15072025_12_58_34_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372174998","file1":"1372174905","file0":"1372174811","file4":"1372175216","file5":"1372175308","file3":"1372175114"},"map_files_photo_id_array":[{"photo_id":"1372175308","filename":"file5"},{"photo_id":"1372174998","filename":"file2"},{"photo_id":"1372175216","filename":"file4"},{"photo_id":"1372174905","filename":"file1"},{"photo_id":"1372174811","filename":"file0"},{"photo_id":"1372175114","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372175308":["hashtag1","hashtag2"]},{"1372174998":["hashtag1","hashtag2"]},{"1372174905":["hashtag1","hashtag2"]},{"1372175114":["hashtag1","hashtag2"]},{"1372175216":["hashtag1","hashtag2"]},{"1372174811":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372175308, 1372174998, 1372174905, 1372175114, 1372175216, 1372174811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.05586338043213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:03:42.073689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_52_6554.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_54_1820.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_55_1516.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_57_1560.jpg', '/home/pi/Desktop/images/15072025/12/58/image_15072025_12_59_00_2749.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_04_4461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_52_6554.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_54_1820.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_55_1516.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_58_57_1560.jpg
/home/pi/Desktop/images/15072025/12/58/image_15072025_12_59_00_2749.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_04_4461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372175457","1372175642","1372175689","1372175534","1372175737","1372175592"],"photo_ids_order":["1372175457","1372175534","1372175592","1372175642","1372175689","1372175737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb13f723ca1aef60c6d4d00fa74cc9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1793908499657793313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_58_52_6554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46c2cf50e25f20da993dd98d3e7706bf.jpg","text":"TemporaryFile(/tmp/multipartBody8377723883384454830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_58_57_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac3272aa6917c1207fe84d78967fef09.jpg","text":"TemporaryFile(/tmp/multipartBody1662218955223024637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_59_00_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ef9c32456d6a8b3c380256f7c7aea3d5.jpg","text":"TemporaryFile(/tmp/multipartBody947773823802411664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_58_54_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32762340e534f37967e45cb024ce2b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1960469199280198074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_59_04_4461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9245d547925f649f37c3e39eb085542.jpg","text":"TemporaryFile(/tmp/multipartBody7537902615571062888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577483155,"filename":"image_15072025_12_58_55_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372175592","file1":"1372175534","file0":"1372175457","file4":"1372175689","file5":"1372175737","file3":"1372175642"},"map_files_photo_id_array":[{"photo_id":"1372175737","filename":"file5"},{"photo_id":"1372175592","filename":"file2"},{"photo_id":"1372175689","filename":"file4"},{"photo_id":"1372175534","filename":"file1"},{"photo_id":"1372175457","filename":"file0"},{"photo_id":"1372175642","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372175457":["hashtag1","hashtag2"]},{"1372175642":["hashtag1","hashtag2"]},{"1372175689":["hashtag1","hashtag2"]},{"1372175534":["hashtag1","hashtag2"]},{"1372175737":["hashtag1","hashtag2"]},{"1372175592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372175457, 1372175642, 1372175689, 1372175534, 1372175737, 1372175592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.842326402664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:04:42.066088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_06_1746.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_10_4198.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_13_3088.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_15_1712.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_18_2629.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_20_2864.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_06_1746.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_10_4198.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_13_3088.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_15_1712.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_18_2629.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_20_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372175925","1372175907","1372175882","1372175927","1372175903","1372175944"],"photo_ids_order":["1372175882","1372175903","1372175907","1372175925","1372175927","1372175944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/293a75da45a7c3cffc617530731dd9d4.jpg","text":"TemporaryFile(/tmp/multipartBody9051210134955083653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_15_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/990f61715acd20a5024660a92cfc7444.jpg","text":"TemporaryFile(/tmp/multipartBody556745546406058339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_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/7/15/826ca229f7733b5cab181acf6e9fff92.jpg","text":"TemporaryFile(/tmp/multipartBody1314862526971704641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_06_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/609747f257a309b900a8800c53f8c509.jpg","text":"TemporaryFile(/tmp/multipartBody5768111803496450759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/524471034e1b887534062c1dd8c83320.jpg","text":"TemporaryFile(/tmp/multipartBody582149624216082972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_10_4198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4cf66a149758f5bb070c8187a3998de0.jpg","text":"TemporaryFile(/tmp/multipartBody4328551693956459826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577543260,"filename":"image_15072025_12_59_20_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372175907","file1":"1372175903","file0":"1372175882","file4":"1372175927","file5":"1372175944","file3":"1372175925"},"map_files_photo_id_array":[{"photo_id":"1372175944","filename":"file5"},{"photo_id":"1372175907","filename":"file2"},{"photo_id":"1372175927","filename":"file4"},{"photo_id":"1372175903","filename":"file1"},{"photo_id":"1372175882","filename":"file0"},{"photo_id":"1372175925","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372175925":["hashtag1","hashtag2"]},{"1372175907":["hashtag1","hashtag2"]},{"1372175882":["hashtag1","hashtag2"]},{"1372175927":["hashtag1","hashtag2"]},{"1372175903":["hashtag1","hashtag2"]},{"1372175944":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372175925, 1372175907, 1372175882, 1372175927, 1372175903, 1372175944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.95134234428406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:05:42.042134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_27_3833.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_30_2708.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_32_2588.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_38_5660.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_51_9942.jpg', '/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_56_1822.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_27_3833.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_30_2708.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_32_2588.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_38_5660.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_51_9942.jpg
/home/pi/Desktop/images/15072025/12/59/image_15072025_12_59_56_1822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372175988","1372175975","1372175984","1372175980","1372175977","1372175971"],"photo_ids_order":["1372175971","1372175975","1372175977","1372175980","1372175984","1372175988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a77d1818dd6b18d5483a58390424f46.jpg","text":"TemporaryFile(/tmp/multipartBody8758384076937884078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_56_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e45322e51210afdfedda39964f2e9bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1728145100459735052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_30_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/064f5f875fdb28905ac0c011313e1382.jpg","text":"TemporaryFile(/tmp/multipartBody8098984683044184518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_51_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bccb091744ffd4560af562121a9e6290.jpg","text":"TemporaryFile(/tmp/multipartBody1940936456558653608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_38_5660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/311c24a3be5f3e27dd5d2d7579835452.jpg","text":"TemporaryFile(/tmp/multipartBody5312573805646319876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_32_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d191979209fd1ac8dddfcf43857a6e79.jpg","text":"TemporaryFile(/tmp/multipartBody3082545029908304422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577603182,"filename":"image_15072025_12_59_27_3833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372175977","file1":"1372175975","file0":"1372175971","file4":"1372175984","file5":"1372175988","file3":"1372175980"},"map_files_photo_id_array":[{"photo_id":"1372175988","filename":"file5"},{"photo_id":"1372175977","filename":"file2"},{"photo_id":"1372175984","filename":"file4"},{"photo_id":"1372175975","filename":"file1"},{"photo_id":"1372175971","filename":"file0"},{"photo_id":"1372175980","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372175988":["hashtag1","hashtag2"]},{"1372175975":["hashtag1","hashtag2"]},{"1372175984":["hashtag1","hashtag2"]},{"1372175980":["hashtag1","hashtag2"]},{"1372175977":["hashtag1","hashtag2"]},{"1372175971":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372175988, 1372175975, 1372175984, 1372175980, 1372175977, 1372175971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.71095633506775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:06:41.875238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/12/59/image_15072025_13_00_02_2847.jpg', '/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_10_3849.jpg', '/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_19_6123.jpg', '/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_49_3742.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_06_2764.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_13_2609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/12/59/image_15072025_13_00_02_2847.jpg
/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_10_3849.jpg
/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_19_6123.jpg
/home/pi/Desktop/images/15072025/13/00/image_15072025_13_00_49_3742.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_06_2764.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_13_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176009","1372176116","1372176002","1372176163","1372176064","1372176007"],"photo_ids_order":["1372176002","1372176007","1372176009","1372176064","1372176116","1372176163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7abc20fb96007681484738643df0c19c.jpg","text":"TemporaryFile(/tmp/multipartBody7451088617676421816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_00_19_6123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d7ec46fe0c0c7228ca6eae97eb4303c.jpg","text":"TemporaryFile(/tmp/multipartBody6258278053831924029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_01_06_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/457d2d3eb726bbbdf1ad359db369ded2.jpg","text":"TemporaryFile(/tmp/multipartBody5949988151079402334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_00_02_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f3a01782589dab4dbae13a7b9697b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5435970116827628085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_01_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/39dafac5d422f965d8a0077f808109e0.jpg","text":"TemporaryFile(/tmp/multipartBody1438281016442735475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_00_49_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/132deb4b48699c3afce0ff08675f22b7.jpg","text":"TemporaryFile(/tmp/multipartBody5177072693239975256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577663041,"filename":"image_15072025_13_00_10_3849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176009","file1":"1372176007","file0":"1372176002","file4":"1372176116","file5":"1372176163","file3":"1372176064"},"map_files_photo_id_array":[{"photo_id":"1372176163","filename":"file5"},{"photo_id":"1372176009","filename":"file2"},{"photo_id":"1372176116","filename":"file4"},{"photo_id":"1372176007","filename":"file1"},{"photo_id":"1372176002","filename":"file0"},{"photo_id":"1372176064","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176009":["hashtag1","hashtag2"]},{"1372176116":["hashtag1","hashtag2"]},{"1372176002":["hashtag1","hashtag2"]},{"1372176163":["hashtag1","hashtag2"]},{"1372176064":["hashtag1","hashtag2"]},{"1372176007":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176009, 1372176116, 1372176002, 1372176163, 1372176064, 1372176007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.442646980285645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:07:42.316903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_16_3079.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_18_2541.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_22_3806.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_28_2629.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_52_2646.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_55_2654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_16_3079.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_18_2541.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_22_3806.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_28_2629.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_52_2646.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_55_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":["1372176312","1372176306","1372176309","1372176296","1372176358","1372176343"],"photo_ids_order":["1372176296","1372176306","1372176309","1372176312","1372176343","1372176358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dcce764b8049b6cd08604041e31ab8fc.jpg","text":"TemporaryFile(/tmp/multipartBody3756459454602306447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_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/7/15/610093688dd13e26a95c5eac607f6c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1536457743894705737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_18_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3917a5ea0a348606e49a4848b5b40f19.jpg","text":"TemporaryFile(/tmp/multipartBody3115157688891230575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_22_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/898cc84abdfdb1695a6f3b31c72a63b1.jpg","text":"TemporaryFile(/tmp/multipartBody8684202706639444336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_16_3079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a657a5d38faedd3dd162ee3949dc943.jpg","text":"TemporaryFile(/tmp/multipartBody6426943551840383160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_55_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6511eabe313bd4a363c33ac77b4544b9.jpg","text":"TemporaryFile(/tmp/multipartBody7867372682187726514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577723475,"filename":"image_15072025_13_01_52_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176309","file1":"1372176306","file0":"1372176296","file4":"1372176343","file5":"1372176358","file3":"1372176312"},"map_files_photo_id_array":[{"photo_id":"1372176358","filename":"file5"},{"photo_id":"1372176309","filename":"file2"},{"photo_id":"1372176343","filename":"file4"},{"photo_id":"1372176306","filename":"file1"},{"photo_id":"1372176296","filename":"file0"},{"photo_id":"1372176312","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176312":["hashtag1","hashtag2"]},{"1372176306":["hashtag1","hashtag2"]},{"1372176309":["hashtag1","hashtag2"]},{"1372176296":["hashtag1","hashtag2"]},{"1372176358":["hashtag1","hashtag2"]},{"1372176343":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176312, 1372176306, 1372176309, 1372176296, 1372176358, 1372176343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.61905336380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:08:42.132495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_57_2719.jpg', '/home/pi/Desktop/images/15072025/13/01/image_15072025_13_02_01_3865.jpg', '/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_04_2661.jpg', '/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_18_2701.jpg', '/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_31_3697.jpg', '/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_58_3767.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_01_57_2719.jpg
/home/pi/Desktop/images/15072025/13/01/image_15072025_13_02_01_3865.jpg
/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_04_2661.jpg
/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_18_2701.jpg
/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_31_3697.jpg
/home/pi/Desktop/images/15072025/13/02/image_15072025_13_02_58_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176438","1372176428","1372176443","1372176410","1372176388","1372176412"],"photo_ids_order":["1372176388","1372176410","1372176412","1372176428","1372176438","1372176443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/260f29c0bc2d1f0c70890ddfdad37b71.jpg","text":"TemporaryFile(/tmp/multipartBody1934403787726785772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_02_31_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/df200f2a4d15fbd0f068a3490c53e1b9.jpg","text":"TemporaryFile(/tmp/multipartBody8548285823773460839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_02_18_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf3b459d38056d5e43c64ab8b6dd8594.jpg","text":"TemporaryFile(/tmp/multipartBody7477412818176369876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_02_58_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/690fc9bcdfd0405026f08d664e7f72d8.jpg","text":"TemporaryFile(/tmp/multipartBody7890121827400837758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_02_01_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa659f4a73500e2c07a64c9e4dcdb264.jpg","text":"TemporaryFile(/tmp/multipartBody8186314243418259914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_01_57_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6ae3e6327608c20a940210b02d476b12.jpg","text":"TemporaryFile(/tmp/multipartBody1170797076739592332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577783297,"filename":"image_15072025_13_02_04_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176412","file1":"1372176410","file0":"1372176388","file4":"1372176438","file5":"1372176443","file3":"1372176428"},"map_files_photo_id_array":[{"photo_id":"1372176443","filename":"file5"},{"photo_id":"1372176412","filename":"file2"},{"photo_id":"1372176438","filename":"file4"},{"photo_id":"1372176410","filename":"file1"},{"photo_id":"1372176388","filename":"file0"},{"photo_id":"1372176428","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176438":["hashtag1","hashtag2"]},{"1372176428":["hashtag1","hashtag2"]},{"1372176443":["hashtag1","hashtag2"]},{"1372176410":["hashtag1","hashtag2"]},{"1372176388":["hashtag1","hashtag2"]},{"1372176412":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176438, 1372176428, 1372176443, 1372176410, 1372176388, 1372176412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.30333614349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:09:42.428360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_01_2736.jpg', '/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_06_2722.jpg', '/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_19_3673.jpg', '/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_37_3655.jpg', '/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_46_3634.jpg', '/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_51_2581.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_01_2736.jpg
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_06_2722.jpg
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_19_3673.jpg
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_37_3655.jpg
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_46_3634.jpg
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_51_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176465","1372176459","1372176455","1372176460","1372176468","1372176462"],"photo_ids_order":["1372176455","1372176459","1372176460","1372176462","1372176465","1372176468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71f014b2cb502ac5ec5c008108758645.jpg","text":"TemporaryFile(/tmp/multipartBody4902397378027341687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_46_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eeb15ecc6fb49771cffd767cbcba2a54.jpg","text":"TemporaryFile(/tmp/multipartBody4738505535066978417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_06_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/330b20dbcea09a5c3dfa4fb8c0ca4065.jpg","text":"TemporaryFile(/tmp/multipartBody2589017282705800023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_01_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c128935735a70067e656647ff67606b4.jpg","text":"TemporaryFile(/tmp/multipartBody2544147724451537522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c117eed5d501933ac8b49c6641bac2ff.jpg","text":"TemporaryFile(/tmp/multipartBody9183424660597620851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_51_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9177d1a8a1c9bc142e3ff323d6b1813.jpg","text":"TemporaryFile(/tmp/multipartBody9162938361152498390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577843619,"filename":"image_15072025_13_03_37_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176460","file1":"1372176459","file0":"1372176455","file4":"1372176465","file5":"1372176468","file3":"1372176462"},"map_files_photo_id_array":[{"photo_id":"1372176468","filename":"file5"},{"photo_id":"1372176460","filename":"file2"},{"photo_id":"1372176465","filename":"file4"},{"photo_id":"1372176459","filename":"file1"},{"photo_id":"1372176455","filename":"file0"},{"photo_id":"1372176462","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176465":["hashtag1","hashtag2"]},{"1372176459":["hashtag1","hashtag2"]},{"1372176455":["hashtag1","hashtag2"]},{"1372176460":["hashtag1","hashtag2"]},{"1372176468":["hashtag1","hashtag2"]},{"1372176462":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176465, 1372176459, 1372176455, 1372176460, 1372176468, 1372176462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81997466087341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:10:42.509379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_55_3802.jpg', '/home/pi/Desktop/images/15072025/13/04/image_15072025_13_04_52_3678.jpg', '/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_22_3636.jpg', '/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_24_2585.jpg', '/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_42_2733.jpg', '/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_54_2731.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/03/image_15072025_13_03_55_3802.jpg
/home/pi/Desktop/images/15072025/13/04/image_15072025_13_04_52_3678.jpg
/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_22_3636.jpg
/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_24_2585.jpg
/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_42_2733.jpg
/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_54_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":["1372176504","1372176485","1372176479","1372176500","1372176492","1372176495"],"photo_ids_order":["1372176479","1372176485","1372176492","1372176495","1372176500","1372176504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35a271e61acdc4f07757e31217c064b5.jpg","text":"TemporaryFile(/tmp/multipartBody5210134135327915800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_05_54_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1f92b946195cc0f6f3db264705b8c5d.jpg","text":"TemporaryFile(/tmp/multipartBody486356176853433592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_04_52_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7682d934cac8f5bbb8792961f43ea21f.jpg","text":"TemporaryFile(/tmp/multipartBody1271923179584683087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_03_55_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/642a1eb1e6ca4b2cbdd78551181f6048.jpg","text":"TemporaryFile(/tmp/multipartBody8119723917196427358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_05_42_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc254c4eda372616c1d4f20e56b460eb.jpg","text":"TemporaryFile(/tmp/multipartBody3470564582238096459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_05_22_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57e0d5489495a957288aa31cd4fcc82c.jpg","text":"TemporaryFile(/tmp/multipartBody7457052747126062706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577903695,"filename":"image_15072025_13_05_24_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176492","file1":"1372176485","file0":"1372176479","file4":"1372176500","file5":"1372176504","file3":"1372176495"},"map_files_photo_id_array":[{"photo_id":"1372176504","filename":"file5"},{"photo_id":"1372176492","filename":"file2"},{"photo_id":"1372176500","filename":"file4"},{"photo_id":"1372176485","filename":"file1"},{"photo_id":"1372176479","filename":"file0"},{"photo_id":"1372176495","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176504":["hashtag1","hashtag2"]},{"1372176485":["hashtag1","hashtag2"]},{"1372176479":["hashtag1","hashtag2"]},{"1372176500":["hashtag1","hashtag2"]},{"1372176492":["hashtag1","hashtag2"]},{"1372176495":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176504, 1372176485, 1372176479, 1372176500, 1372176492, 1372176495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11423969268799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:11:41.874832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_58_3633.jpg', '/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_06_2932.jpg', '/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_09_3570.jpg', '/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_24_2598.jpg', '/home/pi/Desktop/images/15072025/13/07/image_15072025_13_07_43_3702.jpg', '/home/pi/Desktop/images/15072025/13/07/image_15072025_13_07_51_2643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/05/image_15072025_13_05_58_3633.jpg
/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_06_2932.jpg
/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_09_3570.jpg
/home/pi/Desktop/images/15072025/13/06/image_15072025_13_06_24_2598.jpg
/home/pi/Desktop/images/15072025/13/07/image_15072025_13_07_43_3702.jpg
/home/pi/Desktop/images/15072025/13/07/image_15072025_13_07_51_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176531","1372176525","1372176519","1372176534","1372176528","1372176523"],"photo_ids_order":["1372176519","1372176523","1372176525","1372176528","1372176531","1372176534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3cd50234d6bc5450ba40b394e1caa1a6.jpg","text":"TemporaryFile(/tmp/multipartBody6225243648190967122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_07_43_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23717c8b5fd6816230bb18e4e7413716.jpg","text":"TemporaryFile(/tmp/multipartBody7364631986286970037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_06_09_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3ec6f7a3fbece9385048f55c7ebecff.jpg","text":"TemporaryFile(/tmp/multipartBody1181665131851167482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_05_58_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b9b6f46f090d0b98db6d43e75bdc5cb.jpg","text":"TemporaryFile(/tmp/multipartBody8670520614931066091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_07_51_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/752780ce2fd402c6c41f95f145ed32fb.jpg","text":"TemporaryFile(/tmp/multipartBody1535275369638751024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_06_24_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7d3da1b61bb4f8fc0f95fb286a16c00.jpg","text":"TemporaryFile(/tmp/multipartBody4608942139480668201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752577963058,"filename":"image_15072025_13_06_06_2932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176525","file1":"1372176523","file0":"1372176519","file4":"1372176531","file5":"1372176534","file3":"1372176528"},"map_files_photo_id_array":[{"photo_id":"1372176534","filename":"file5"},{"photo_id":"1372176525","filename":"file2"},{"photo_id":"1372176531","filename":"file4"},{"photo_id":"1372176523","filename":"file1"},{"photo_id":"1372176519","filename":"file0"},{"photo_id":"1372176528","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176531":["hashtag1","hashtag2"]},{"1372176525":["hashtag1","hashtag2"]},{"1372176519":["hashtag1","hashtag2"]},{"1372176534":["hashtag1","hashtag2"]},{"1372176528":["hashtag1","hashtag2"]},{"1372176523":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176531, 1372176525, 1372176519, 1372176534, 1372176528, 1372176523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.52490425109863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:12:42.041440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/10/image_15072025_13_10_12_3005.jpg', '/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_15_2639.jpg', '/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_18_2689.jpg', '/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_33_3645.jpg', '/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_45_2785.jpg', '/home/pi/Desktop/images/15072025/13/12/image_15072025_13_12_08_2655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/10/image_15072025_13_10_12_3005.jpg
/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_15_2639.jpg
/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_18_2689.jpg
/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_33_3645.jpg
/home/pi/Desktop/images/15072025/13/11/image_15072025_13_11_45_2785.jpg
/home/pi/Desktop/images/15072025/13/12/image_15072025_13_12_08_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176543","1372176552","1372176546","1372176548","1372176557","1372176561"],"photo_ids_order":["1372176543","1372176546","1372176548","1372176552","1372176557","1372176561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85cc62cdedcf6806996f88c3e7f84cc3.jpg","text":"TemporaryFile(/tmp/multipartBody80945207697135816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_10_12_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/917142990e3ab63ab354406fdbcb24f1.jpg","text":"TemporaryFile(/tmp/multipartBody9088136872499817548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_11_33_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/609f43bd0de0bd104278713f17a23f41.jpg","text":"TemporaryFile(/tmp/multipartBody1573151562248355278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_11_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/7/15/004dbeade541006f9be80479b9b18f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5628876568575305237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_11_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/7/15/129d26b65b38bb418e1c77f131948243.jpg","text":"TemporaryFile(/tmp/multipartBody5524678707171148613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_11_45_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4e3eba9ddecf797d118c7506da5036eb.jpg","text":"TemporaryFile(/tmp/multipartBody7828962498640232984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578023204,"filename":"image_15072025_13_12_08_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176548","file1":"1372176546","file0":"1372176543","file4":"1372176557","file5":"1372176561","file3":"1372176552"},"map_files_photo_id_array":[{"photo_id":"1372176561","filename":"file5"},{"photo_id":"1372176548","filename":"file2"},{"photo_id":"1372176557","filename":"file4"},{"photo_id":"1372176546","filename":"file1"},{"photo_id":"1372176543","filename":"file0"},{"photo_id":"1372176552","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176543":["hashtag1","hashtag2"]},{"1372176552":["hashtag1","hashtag2"]},{"1372176546":["hashtag1","hashtag2"]},{"1372176548":["hashtag1","hashtag2"]},{"1372176557":["hashtag1","hashtag2"]},{"1372176561":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176543, 1372176552, 1372176546, 1372176548, 1372176557, 1372176561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.2713463306427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:13:42.524328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/12/image_15072025_13_12_42_3614.jpg', '/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_24_2770.jpg', '/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_35_2466.jpg', '/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_47_2737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/12/image_15072025_13_12_42_3614.jpg
/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_24_2770.jpg
/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_35_2466.jpg
/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_47_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176572","1372176575","1372176579","1372176576"],"photo_ids_order":["1372176572","1372176575","1372176576","1372176579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/062e22569d537d6fba542babc3a9d43a.jpg","text":"TemporaryFile(/tmp/multipartBody7892951255590749439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578083633,"filename":"image_15072025_13_12_42_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95b62ed6b901fc053e28b5413cd5a258.jpg","text":"TemporaryFile(/tmp/multipartBody5770067986297033772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578083633,"filename":"image_15072025_13_13_24_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/167cd590ed3fca0ec2946c8efbd00d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3086568056381751709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578083633,"filename":"image_15072025_13_13_47_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/59f97773e494bf61716851f6cf26bf53.jpg","text":"TemporaryFile(/tmp/multipartBody5838521023883881393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578083633,"filename":"image_15072025_13_13_35_2466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176576","file1":"1372176575","file0":"1372176572","file3":"1372176579"},"map_files_photo_id_array":[{"photo_id":"1372176576","filename":"file2"},{"photo_id":"1372176575","filename":"file1"},{"photo_id":"1372176572","filename":"file0"},{"photo_id":"1372176579","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176572":["hashtag1","hashtag2"]},{"1372176575":["hashtag1","hashtag2"]},{"1372176579":["hashtag1","hashtag2"]},{"1372176576":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176572, 1372176575, 1372176579, 1372176576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63947534561157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:14:22.421239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:14:42.523159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:15:03.274757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:15:22.501955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_59_2641.jpg', '/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_17_2861.jpg', '/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_41_2655.jpg', '/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_45_3622.jpg', '/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_50_2570.jpg', '/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_54_3696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/13/image_15072025_13_13_59_2641.jpg
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_17_2861.jpg
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_41_2655.jpg
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_45_3622.jpg
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_50_2570.jpg
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_54_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176630","1372176641","1372176643","1372176637","1372176625","1372176619"],"photo_ids_order":["1372176619","1372176625","1372176630","1372176637","1372176641","1372176643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/356f8e5f3a8e4e5faf0576350b7231a9.jpg","text":"TemporaryFile(/tmp/multipartBody6130282747261152397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_15_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17968453212b140943bfc5ae3b75e55b.jpg","text":"TemporaryFile(/tmp/multipartBody7046393408694888568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_15_50_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2175bf74b7724a062b4b67c55fac305f.jpg","text":"TemporaryFile(/tmp/multipartBody3686134862147256961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_15_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/7/15/4fab520c0809fad7c4f7740667fa3255.jpg","text":"TemporaryFile(/tmp/multipartBody792420790474067292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_15_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/7/15/d70f6b447f28ed31ab2aa9c087bbdfc6.jpg","text":"TemporaryFile(/tmp/multipartBody7946934943156082503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_15_17_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d2fb9eacd1e083e8e090b9bc6af72cf.jpg","text":"TemporaryFile(/tmp/multipartBody2685646238219962051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578183633,"filename":"image_15072025_13_13_59_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176630","file1":"1372176625","file0":"1372176619","file4":"1372176641","file5":"1372176643","file3":"1372176637"},"map_files_photo_id_array":[{"photo_id":"1372176643","filename":"file5"},{"photo_id":"1372176630","filename":"file2"},{"photo_id":"1372176641","filename":"file4"},{"photo_id":"1372176625","filename":"file1"},{"photo_id":"1372176619","filename":"file0"},{"photo_id":"1372176637","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176630":["hashtag1","hashtag2"]},{"1372176641":["hashtag1","hashtag2"]},{"1372176643":["hashtag1","hashtag2"]},{"1372176637":["hashtag1","hashtag2"]},{"1372176625":["hashtag1","hashtag2"]},{"1372176619":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176630, 1372176641, 1372176643, 1372176637, 1372176625, 1372176619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.04983353614807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:16:22.452262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_56_2726.jpg', '/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_08_2587.jpg', '/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_12_3734.jpg', '/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_14_2673.jpg', '/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_17_2598.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/15/image_15072025_13_15_56_2726.jpg
/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_08_2587.jpg
/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_12_3734.jpg
/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_14_2673.jpg
/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_17_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":["1372176662","1372176671","1372176668","1372176658","1372176654"],"photo_ids_order":["1372176654","1372176658","1372176662","1372176668","1372176671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ef033eb5455dffd067bb210f4eff2f02.jpg","text":"TemporaryFile(/tmp/multipartBody2115746437150162581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578243567,"filename":"image_15072025_13_16_12_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14e22936911d579605956f40974aa0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2072644193789042437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578243567,"filename":"image_15072025_13_16_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/7/15/ee1640dbc88c2865341b79dca805f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7690056261888529169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578243567,"filename":"image_15072025_13_16_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/056894f9bc4739941025179c2d3ba4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7308662934159385240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578243567,"filename":"image_15072025_13_16_08_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fec6796d3fda3bbd94b69ac6260d8513.jpg","text":"TemporaryFile(/tmp/multipartBody8607833922931564378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578243567,"filename":"image_15072025_13_15_56_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176662","file1":"1372176658","file0":"1372176654","file4":"1372176671","file3":"1372176668"},"map_files_photo_id_array":[{"photo_id":"1372176662","filename":"file2"},{"photo_id":"1372176671","filename":"file4"},{"photo_id":"1372176658","filename":"file1"},{"photo_id":"1372176654","filename":"file0"},{"photo_id":"1372176668","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176662":["hashtag1","hashtag2"]},{"1372176671":["hashtag1","hashtag2"]},{"1372176668":["hashtag1","hashtag2"]},{"1372176658":["hashtag1","hashtag2"]},{"1372176654":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176662, 1372176671, 1372176668, 1372176658, 1372176654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.06863594055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:17:22.632874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_20_2887.jpg', '/home/pi/Desktop/images/15072025/13/17/image_15072025_13_17_56_2690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/16/image_15072025_13_16_20_2887.jpg
/home/pi/Desktop/images/15072025/13/17/image_15072025_13_17_56_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176695","1372176701"],"photo_ids_order":["1372176695","1372176701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5dec923912bf4830512cfbc7a45ca75.jpg","text":"TemporaryFile(/tmp/multipartBody6216434264901936787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578303632,"filename":"image_15072025_13_16_20_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7bafc7c07e98d2eadacb8442c9290707.jpg","text":"TemporaryFile(/tmp/multipartBody3441214302095730043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578303632,"filename":"image_15072025_13_17_56_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372176701","file0":"1372176695"},"map_files_photo_id_array":[{"photo_id":"1372176701","filename":"file1"},{"photo_id":"1372176695","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176695":["hashtag1","hashtag2"]},{"1372176701":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176695, 1372176701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.148465871810913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:18:03.015363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:18:22.612359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/17/image_15072025_13_18_00_3851.jpg', '/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_20_2632.jpg', '/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_35_2608.jpg', '/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_44_2739.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/17/image_15072025_13_18_00_3851.jpg
/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_20_2632.jpg
/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_35_2608.jpg
/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_44_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176723","1372176731","1372176728","1372176736"],"photo_ids_order":["1372176723","1372176728","1372176731","1372176736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/602b5fda6aa6fe67ceddcf4bab072c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6562834002007989434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578363678,"filename":"image_15072025_13_18_00_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b40b4076b12f7e6264ce9e4c6e13f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody690535350533109199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578363678,"filename":"image_15072025_13_18_35_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/915c9e51051f639a7b632026433bb22f.jpg","text":"TemporaryFile(/tmp/multipartBody7389694402226871587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578363678,"filename":"image_15072025_13_18_20_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec7a791868764495aa83aed2d194fa19.jpg","text":"TemporaryFile(/tmp/multipartBody3909652809331475801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578363678,"filename":"image_15072025_13_18_44_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176731","file1":"1372176728","file0":"1372176723","file3":"1372176736"},"map_files_photo_id_array":[{"photo_id":"1372176731","filename":"file2"},{"photo_id":"1372176728","filename":"file1"},{"photo_id":"1372176723","filename":"file0"},{"photo_id":"1372176736","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176723":["hashtag1","hashtag2"]},{"1372176731":["hashtag1","hashtag2"]},{"1372176728":["hashtag1","hashtag2"]},{"1372176736":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176723, 1372176731, 1372176728, 1372176736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82608151435852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:19:03.488089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:19:22.428906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_53_2613.jpg', '/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_02_2800.jpg', '/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_11_2569.jpg', '/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_18_3751.jpg', '/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_41_3735.jpg', '/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_44_2594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/18/image_15072025_13_18_53_2613.jpg
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_02_2800.jpg
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_11_2569.jpg
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_18_3751.jpg
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_41_3735.jpg
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_44_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176776","1372176761","1372176773","1372176767","1372176757","1372176751"],"photo_ids_order":["1372176751","1372176757","1372176761","1372176767","1372176773","1372176776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92effcef22b03ed4f0752f873d0e7a47.jpg","text":"TemporaryFile(/tmp/multipartBody2705522199112968040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_19_44_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/752de4a5e518e3489cddbba7fdb6e677.jpg","text":"TemporaryFile(/tmp/multipartBody5134151636242120719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_19_11_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8fc48e1af6ca8b1287a9cf1b525791d0.jpg","text":"TemporaryFile(/tmp/multipartBody2382881084984273630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_19_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/7/15/a9ebf6aae471dbaab1b76b4c4daf84d2.jpg","text":"TemporaryFile(/tmp/multipartBody8089724140043752718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_19_18_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84cae1f1fce7c0bc7ff1feb849ffda94.jpg","text":"TemporaryFile(/tmp/multipartBody5880227715642534368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_19_02_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f71e4a1671a79951c3bb3b014e5faae.jpg","text":"TemporaryFile(/tmp/multipartBody6299052504574716159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578423561,"filename":"image_15072025_13_18_53_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176761","file1":"1372176757","file0":"1372176751","file4":"1372176773","file5":"1372176776","file3":"1372176767"},"map_files_photo_id_array":[{"photo_id":"1372176776","filename":"file5"},{"photo_id":"1372176761","filename":"file2"},{"photo_id":"1372176773","filename":"file4"},{"photo_id":"1372176757","filename":"file1"},{"photo_id":"1372176751","filename":"file0"},{"photo_id":"1372176767","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176776":["hashtag1","hashtag2"]},{"1372176761":["hashtag1","hashtag2"]},{"1372176773":["hashtag1","hashtag2"]},{"1372176767":["hashtag1","hashtag2"]},{"1372176757":["hashtag1","hashtag2"]},{"1372176751":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176776, 1372176761, 1372176773, 1372176767, 1372176757, 1372176751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.950888872146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:20:22.838324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_53_3694.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_11_3721.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_20_2769.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_23_3696.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_26_2772.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_29_2719.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/19/image_15072025_13_19_53_3694.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_11_3721.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_20_2769.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_23_3696.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_26_2772.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_29_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176813","1372176791","1372176799","1372176803","1372176787","1372176795"],"photo_ids_order":["1372176787","1372176791","1372176795","1372176799","1372176803","1372176813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5addbe85501d163ecf74a18650a0dbb2.jpg","text":"TemporaryFile(/tmp/multipartBody1610567202575220386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_20_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/7/15/47625432a9dfcbe2357c87addc14cec9.jpg","text":"TemporaryFile(/tmp/multipartBody1497126119559152269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_20_11_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d54eb1e38bf42c5d78ecc209b17c1717.jpg","text":"TemporaryFile(/tmp/multipartBody5125722057928134457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_20_23_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0722adeba5749157d939a23b24a9452.jpg","text":"TemporaryFile(/tmp/multipartBody2998667924459687889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_20_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/7/15/a03aa08b7255f6325cd002965b429c78.jpg","text":"TemporaryFile(/tmp/multipartBody4323697681536786360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_19_53_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c22e0b7510d0644c56854eed2be69f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8059550730731184227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578483962,"filename":"image_15072025_13_20_20_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176795","file1":"1372176791","file0":"1372176787","file4":"1372176803","file5":"1372176813","file3":"1372176799"},"map_files_photo_id_array":[{"photo_id":"1372176813","filename":"file5"},{"photo_id":"1372176795","filename":"file2"},{"photo_id":"1372176803","filename":"file4"},{"photo_id":"1372176791","filename":"file1"},{"photo_id":"1372176787","filename":"file0"},{"photo_id":"1372176799","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176813":["hashtag1","hashtag2"]},{"1372176791":["hashtag1","hashtag2"]},{"1372176799":["hashtag1","hashtag2"]},{"1372176803":["hashtag1","hashtag2"]},{"1372176787":["hashtag1","hashtag2"]},{"1372176795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176813, 1372176791, 1372176799, 1372176803, 1372176787, 1372176795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15821719169617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:21:22.130307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_35_2705.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_44_2791.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_47_2658.jpg', '/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_49_2733.jpg', '/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_13_2666.jpg', '/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_17_3561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_35_2705.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_44_2791.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_47_2658.jpg
/home/pi/Desktop/images/15072025/13/20/image_15072025_13_20_49_2733.jpg
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_13_2666.jpg
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_17_3561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176840","1372176843","1372176837","1372176830","1372176832","1372176826"],"photo_ids_order":["1372176826","1372176830","1372176832","1372176837","1372176840","1372176843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ab1de813ee6e8a6d5e8a121d64c4376.jpg","text":"TemporaryFile(/tmp/multipartBody6403212771388829359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_21_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/7/15/bf475f17ee03749a3d2c07e3cf8cd3a4.jpg","text":"TemporaryFile(/tmp/multipartBody1749956665023845421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_21_17_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e5504356f42026e58d593419ef016951.jpg","text":"TemporaryFile(/tmp/multipartBody6553727716167583947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_20_49_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bda41f1167339690922698f7975603c3.jpg","text":"TemporaryFile(/tmp/multipartBody6397511172278526090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_20_44_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a036cc411b8a621001dbfe99baedf19b.jpg","text":"TemporaryFile(/tmp/multipartBody711424071595070691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_20_47_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4c6b4f6566b16a9a1bcbd948dc1ce6b7.jpg","text":"TemporaryFile(/tmp/multipartBody902961562599015672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578543254,"filename":"image_15072025_13_20_35_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176832","file1":"1372176830","file0":"1372176826","file4":"1372176840","file5":"1372176843","file3":"1372176837"},"map_files_photo_id_array":[{"photo_id":"1372176843","filename":"file5"},{"photo_id":"1372176832","filename":"file2"},{"photo_id":"1372176840","filename":"file4"},{"photo_id":"1372176830","filename":"file1"},{"photo_id":"1372176826","filename":"file0"},{"photo_id":"1372176837","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176840":["hashtag1","hashtag2"]},{"1372176843":["hashtag1","hashtag2"]},{"1372176837":["hashtag1","hashtag2"]},{"1372176830":["hashtag1","hashtag2"]},{"1372176832":["hashtag1","hashtag2"]},{"1372176826":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176840, 1372176843, 1372176837, 1372176830, 1372176832, 1372176826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.47424530982971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:22:22.711961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_32_2628.jpg', '/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_38_3841.jpg', '/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_46_2671.jpg', '/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_58_2768.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_14_3786.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_19_2713.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_32_2628.jpg
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_38_3841.jpg
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_46_2671.jpg
/home/pi/Desktop/images/15072025/13/21/image_15072025_13_21_58_2768.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_14_3786.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_19_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176861","1372176863","1372176857","1372176866","1372176868","1372176877"],"photo_ids_order":["1372176857","1372176861","1372176863","1372176866","1372176868","1372176877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f7c9a7c171aa69a5847023ac4cd0687.jpg","text":"TemporaryFile(/tmp/multipartBody7442843345017439642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_21_38_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5de2c22b1b60908db1de5ac7a9948a85.jpg","text":"TemporaryFile(/tmp/multipartBody8158672497004007951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_21_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/7/15/ff388ab2312d8eb5da08b89030aa11c4.jpg","text":"TemporaryFile(/tmp/multipartBody6002488342545620089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_21_32_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea5dd07dfca16bdffeb0483d89f34654.jpg","text":"TemporaryFile(/tmp/multipartBody5858241695396104214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_21_58_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a2c22f20bf0ef7629ec0f85388fbd89.jpg","text":"TemporaryFile(/tmp/multipartBody1739872914912889078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_22_14_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f11898b4f9bde5d420aa107a675d91a6.jpg","text":"TemporaryFile(/tmp/multipartBody4420835220620740649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578603834,"filename":"image_15072025_13_22_19_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176863","file1":"1372176861","file0":"1372176857","file4":"1372176868","file5":"1372176877","file3":"1372176866"},"map_files_photo_id_array":[{"photo_id":"1372176877","filename":"file5"},{"photo_id":"1372176863","filename":"file2"},{"photo_id":"1372176868","filename":"file4"},{"photo_id":"1372176861","filename":"file1"},{"photo_id":"1372176857","filename":"file0"},{"photo_id":"1372176866","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176861":["hashtag1","hashtag2"]},{"1372176863":["hashtag1","hashtag2"]},{"1372176857":["hashtag1","hashtag2"]},{"1372176866":["hashtag1","hashtag2"]},{"1372176868":["hashtag1","hashtag2"]},{"1372176877":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176861, 1372176863, 1372176857, 1372176866, 1372176868, 1372176877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.59299898147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:23:22.002535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_23_3686.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_26_2621.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_32_3574.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_35_2836.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_37_2641.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_53_3604.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_23_3686.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_26_2621.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_32_3574.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_35_2836.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_37_2641.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_53_3604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176912","1372176906","1372176902","1372176895","1372176916","1372176919"],"photo_ids_order":["1372176895","1372176902","1372176906","1372176912","1372176916","1372176919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c9d9d0a5954e2b2936d7089c6ea46dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8055904839326778606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_35_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/229d6472ad26cf9845f02b2893c8bdbe.jpg","text":"TemporaryFile(/tmp/multipartBody4768471872983275939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_32_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bd2313a6077ec0a11969cf0094a7425.jpg","text":"TemporaryFile(/tmp/multipartBody8803709369590042846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_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/7/15/bb415184f9aa37132610b205889e3a98.jpg","text":"TemporaryFile(/tmp/multipartBody1422827051580803197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_23_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f91f5a93e114278f5e4a9041218d7661.jpg","text":"TemporaryFile(/tmp/multipartBody6812489402809696029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_37_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0957c0edb77b87462548abf2b835f1bb.jpg","text":"TemporaryFile(/tmp/multipartBody7410921162395093451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578663117,"filename":"image_15072025_13_22_53_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176906","file1":"1372176902","file0":"1372176895","file4":"1372176916","file5":"1372176919","file3":"1372176912"},"map_files_photo_id_array":[{"photo_id":"1372176919","filename":"file5"},{"photo_id":"1372176906","filename":"file2"},{"photo_id":"1372176916","filename":"file4"},{"photo_id":"1372176902","filename":"file1"},{"photo_id":"1372176895","filename":"file0"},{"photo_id":"1372176912","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176912":["hashtag1","hashtag2"]},{"1372176906":["hashtag1","hashtag2"]},{"1372176902":["hashtag1","hashtag2"]},{"1372176895":["hashtag1","hashtag2"]},{"1372176916":["hashtag1","hashtag2"]},{"1372176919":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176912, 1372176906, 1372176902, 1372176895, 1372176916, 1372176919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.583439111709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:24:22.665599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_56_2732.jpg', '/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_58_2747.jpg', '/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_23_2707.jpg', '/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_35_2580.jpg', '/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_55_2659.jpg', '/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_17_3745.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_56_2732.jpg
/home/pi/Desktop/images/15072025/13/22/image_15072025_13_22_58_2747.jpg
/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_23_2707.jpg
/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_35_2580.jpg
/home/pi/Desktop/images/15072025/13/23/image_15072025_13_23_55_2659.jpg
/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_17_3745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176933","1372176927","1372176942","1372176936","1372176958","1372176945"],"photo_ids_order":["1372176927","1372176933","1372176936","1372176942","1372176945","1372176958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab8dcc6133d167507957e55ec8743225.jpg","text":"TemporaryFile(/tmp/multipartBody5196977621348302217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_22_58_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f1b53d72e99a50c3cae7df6ae8314873.jpg","text":"TemporaryFile(/tmp/multipartBody2782463199507063627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_22_56_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65e4656ebf8c0cea9328f0a658ba7856.jpg","text":"TemporaryFile(/tmp/multipartBody6412527027496147459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_23_35_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5041cb19eeb77cd649681a7dd69f559a.jpg","text":"TemporaryFile(/tmp/multipartBody4197183865638170213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_23_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e97de1a2b8a61a2a6eb50cafe5af3de.jpg","text":"TemporaryFile(/tmp/multipartBody3466605401289791039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_24_17_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bfb05b301b06a95e8d32ff58bc3a0f55.jpg","text":"TemporaryFile(/tmp/multipartBody1978887942947980880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578723837,"filename":"image_15072025_13_23_55_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176936","file1":"1372176933","file0":"1372176927","file4":"1372176945","file5":"1372176958","file3":"1372176942"},"map_files_photo_id_array":[{"photo_id":"1372176958","filename":"file5"},{"photo_id":"1372176936","filename":"file2"},{"photo_id":"1372176945","filename":"file4"},{"photo_id":"1372176933","filename":"file1"},{"photo_id":"1372176927","filename":"file0"},{"photo_id":"1372176942","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176933":["hashtag1","hashtag2"]},{"1372176927":["hashtag1","hashtag2"]},{"1372176942":["hashtag1","hashtag2"]},{"1372176936":["hashtag1","hashtag2"]},{"1372176958":["hashtag1","hashtag2"]},{"1372176945":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176933, 1372176927, 1372176942, 1372176936, 1372176958, 1372176945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8919563293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:25:22.397800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_29_2992.jpg', '/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_32_2698.jpg', '/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_43_2577.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_02_2756.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_04_2955.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_07_2761.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_29_2992.jpg
/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_32_2698.jpg
/home/pi/Desktop/images/15072025/13/24/image_15072025_13_24_43_2577.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_02_2756.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_04_2955.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_07_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372176971","1372176975","1372176990","1372176984","1372176978","1372176987"],"photo_ids_order":["1372176971","1372176975","1372176978","1372176984","1372176987","1372176990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ed94c2da16b83c3c2c2b8204e634084.jpg","text":"TemporaryFile(/tmp/multipartBody2084517995875221961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_24_29_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/990ec738a27e9d667f683cbe20152931.jpg","text":"TemporaryFile(/tmp/multipartBody8302249171618452391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_24_32_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b8f560b9834890c4bdf576fa4debdb3.jpg","text":"TemporaryFile(/tmp/multipartBody2822448185788623802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_25_07_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb0c0e69ef88102f2f69185c26731891.jpg","text":"TemporaryFile(/tmp/multipartBody2603236456782262972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_25_02_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b527c8399e6f0b48cb9315e29237e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody6325700063906432790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_24_43_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/759d1c861149e8cada3ccc9e12f38dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1671285420814494585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578783538,"filename":"image_15072025_13_25_04_2955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372176978","file1":"1372176975","file0":"1372176971","file4":"1372176987","file5":"1372176990","file3":"1372176984"},"map_files_photo_id_array":[{"photo_id":"1372176990","filename":"file5"},{"photo_id":"1372176978","filename":"file2"},{"photo_id":"1372176987","filename":"file4"},{"photo_id":"1372176975","filename":"file1"},{"photo_id":"1372176971","filename":"file0"},{"photo_id":"1372176984","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372176971":["hashtag1","hashtag2"]},{"1372176975":["hashtag1","hashtag2"]},{"1372176990":["hashtag1","hashtag2"]},{"1372176984":["hashtag1","hashtag2"]},{"1372176978":["hashtag1","hashtag2"]},{"1372176987":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372176971, 1372176975, 1372176990, 1372176984, 1372176978, 1372176987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.03566765785217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:26:22.172874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_11_3620.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_20_3626.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_23_2660.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_43_2844.jpg', '/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_50_3883.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_01_2683.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_11_3620.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_20_3626.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_23_2660.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_43_2844.jpg
/home/pi/Desktop/images/15072025/13/25/image_15072025_13_25_50_3883.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_01_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":["1372177022","1372177004","1372177015","1372177009","1372177011","1372177020"],"photo_ids_order":["1372177004","1372177009","1372177011","1372177015","1372177020","1372177022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89371160949f1689a16fd808b521af46.jpg","text":"TemporaryFile(/tmp/multipartBody6191083244391098062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_26_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/7/15/9206c9382f49ea5f8823f72b1b8f7856.jpg","text":"TemporaryFile(/tmp/multipartBody4427538918726458841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_25_11_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0b46594c3c3282b22c64f1c48813d69.jpg","text":"TemporaryFile(/tmp/multipartBody3857149052773142182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_25_43_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9646dadec76c8ad659bbd8c80964c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5123859066723027491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_25_20_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/012b936c15ba5e67e278970676ca4928.jpg","text":"TemporaryFile(/tmp/multipartBody6946284131063381065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_25_23_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6d0627dfb20b78d4587da9ca281fd59.jpg","text":"TemporaryFile(/tmp/multipartBody5427000537018858105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578843328,"filename":"image_15072025_13_25_50_3883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177011","file1":"1372177009","file0":"1372177004","file4":"1372177020","file5":"1372177022","file3":"1372177015"},"map_files_photo_id_array":[{"photo_id":"1372177022","filename":"file5"},{"photo_id":"1372177011","filename":"file2"},{"photo_id":"1372177020","filename":"file4"},{"photo_id":"1372177009","filename":"file1"},{"photo_id":"1372177004","filename":"file0"},{"photo_id":"1372177015","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177022":["hashtag1","hashtag2"]},{"1372177004":["hashtag1","hashtag2"]},{"1372177015":["hashtag1","hashtag2"]},{"1372177009":["hashtag1","hashtag2"]},{"1372177011":["hashtag1","hashtag2"]},{"1372177020":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177022, 1372177004, 1372177015, 1372177009, 1372177011, 1372177020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.63118290901184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:27:22.603317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_20_3682.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_25_2664.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_29_3601.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_31_2730.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_47_3735.jpg', '/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_52_2811.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_20_3682.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_25_2664.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_29_3601.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_31_2730.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_47_3735.jpg
/home/pi/Desktop/images/15072025/13/26/image_15072025_13_26_52_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177055","1372177040","1372177052","1372177034","1372177050","1372177044"],"photo_ids_order":["1372177034","1372177040","1372177044","1372177050","1372177052","1372177055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03762449e7b694530b084a7f366b77d0.jpg","text":"TemporaryFile(/tmp/multipartBody8001233546511934289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_52_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33e5e7581a72e0981a6c7690d31acdd3.jpg","text":"TemporaryFile(/tmp/multipartBody1444991929574344507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_25_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/373e86a3dcd000c05e6e995e7dbf53b8.jpg","text":"TemporaryFile(/tmp/multipartBody4688935539162317838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_47_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45ee5163d866cfcd229aed03a9fcb29b.jpg","text":"TemporaryFile(/tmp/multipartBody3391882206161478014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_20_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c27e8940b2b44cb90309368fed6a8b28.jpg","text":"TemporaryFile(/tmp/multipartBody8341647864893456169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_31_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a551577313de9f22b83787a94a7dca2.jpg","text":"TemporaryFile(/tmp/multipartBody54714039785061839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578903738,"filename":"image_15072025_13_26_29_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177044","file1":"1372177040","file0":"1372177034","file4":"1372177052","file5":"1372177055","file3":"1372177050"},"map_files_photo_id_array":[{"photo_id":"1372177055","filename":"file5"},{"photo_id":"1372177044","filename":"file2"},{"photo_id":"1372177052","filename":"file4"},{"photo_id":"1372177040","filename":"file1"},{"photo_id":"1372177034","filename":"file0"},{"photo_id":"1372177050","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177055":["hashtag1","hashtag2"]},{"1372177040":["hashtag1","hashtag2"]},{"1372177052":["hashtag1","hashtag2"]},{"1372177034":["hashtag1","hashtag2"]},{"1372177050":["hashtag1","hashtag2"]},{"1372177044":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177055, 1372177040, 1372177052, 1372177034, 1372177050, 1372177044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29389667510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:28:22.224158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/27/image_15072025_13_27_43_3654.jpg', '/home/pi/Desktop/images/15072025/13/27/image_15072025_13_27_58_2693.jpg', '/home/pi/Desktop/images/15072025/13/28/image_15072025_13_28_25_2756.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/27/image_15072025_13_27_43_3654.jpg
/home/pi/Desktop/images/15072025/13/27/image_15072025_13_27_58_2693.jpg
/home/pi/Desktop/images/15072025/13/28/image_15072025_13_28_25_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177072","1372177065","1372177068"],"photo_ids_order":["1372177065","1372177068","1372177072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/581ffbf101ad2f852191d723c22d0122.jpg","text":"TemporaryFile(/tmp/multipartBody3253986530491374745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578963270,"filename":"image_15072025_13_28_25_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee8f1f6a42276f9eb6f3cdcb4ec6bfff.jpg","text":"TemporaryFile(/tmp/multipartBody640839297771897145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578963270,"filename":"image_15072025_13_27_43_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba7fa3033fc724d12236e6ebeada9dba.jpg","text":"TemporaryFile(/tmp/multipartBody618545928962579245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752578963270,"filename":"image_15072025_13_27_58_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177072","file1":"1372177068","file0":"1372177065"},"map_files_photo_id_array":[{"photo_id":"1372177072","filename":"file2"},{"photo_id":"1372177068","filename":"file1"},{"photo_id":"1372177065","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177072":["hashtag1","hashtag2"]},{"1372177065":["hashtag1","hashtag2"]},{"1372177068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177072, 1372177065, 1372177068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.56828498840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:29:03.800877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:29:22.603080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/28/image_15072025_13_28_55_2547.jpg', '/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_01_2733.jpg', '/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_31_2682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/28/image_15072025_13_28_55_2547.jpg
/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_01_2733.jpg
/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_31_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177106","1372177109","1372177102"],"photo_ids_order":["1372177102","1372177106","1372177109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/baa6a4d891c033fe425c3cc36288518e.jpg","text":"TemporaryFile(/tmp/multipartBody3416212627271592588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579023635,"filename":"image_15072025_13_29_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/7/15/b269fe03a128339f0a2d6abb15e77f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1076387768820493525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579023635,"filename":"image_15072025_13_29_31_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe6e7ccd3af05a021653078e32c2e8af.jpg","text":"TemporaryFile(/tmp/multipartBody973031732481097663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579023635,"filename":"image_15072025_13_28_55_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177109","file1":"1372177106","file0":"1372177102"},"map_files_photo_id_array":[{"photo_id":"1372177109","filename":"file2"},{"photo_id":"1372177106","filename":"file1"},{"photo_id":"1372177102","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177106":["hashtag1","hashtag2"]},{"1372177109":["hashtag1","hashtag2"]},{"1372177102":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177106, 1372177109, 1372177102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.416351795196533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:30:03.217531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:30:22.775549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_40_2678.jpg', '/home/pi/Desktop/images/15072025/13/30/image_15072025_13_30_30_3657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/29/image_15072025_13_29_40_2678.jpg
/home/pi/Desktop/images/15072025/13/30/image_15072025_13_30_30_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177136","1372177129"],"photo_ids_order":["1372177129","1372177136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2aac4b258d5ed526558f3e295f783075.jpg","text":"TemporaryFile(/tmp/multipartBody278577118355509594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579083771,"filename":"image_15072025_13_30_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/7/15/9bbf417c6bb0166d4bf67be7ea288c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1881100350189057746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579083771,"filename":"image_15072025_13_29_40_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372177136","file0":"1372177129"},"map_files_photo_id_array":[{"photo_id":"1372177136","filename":"file1"},{"photo_id":"1372177129","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177136":["hashtag1","hashtag2"]},{"1372177129":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177136, 1372177129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.146631240844727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:31:02.977123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:31:22.073408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/30/image_15072025_13_30_51_3597.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_09_2639.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_17_2632.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_24_3632.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_29_2718.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_33_3659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/30/image_15072025_13_30_51_3597.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_09_2639.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_17_2632.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_24_3632.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_29_2718.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_33_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":["1372177178","1372177160","1372177165","1372177168","1372177173","1372177176"],"photo_ids_order":["1372177160","1372177165","1372177168","1372177173","1372177176","1372177178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee3c7bb5e994d55fd212281d1a8928d3.jpg","text":"TemporaryFile(/tmp/multipartBody5902723862123419576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_31_33_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a213831b8aee82a0f5b52dd76b6a9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1194116902436918340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_30_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/7/15/4fd6d1023d6740b53141a9182f529c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5488420682968971840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_31_09_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d150512e732b359850affea1357adf6.jpg","text":"TemporaryFile(/tmp/multipartBody6298960031725750495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_31_17_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57d1318039976d5ab59dc9880f724905.jpg","text":"TemporaryFile(/tmp/multipartBody8323014929325371509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_31_24_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faa688da3c08524b457581c936b35bd2.jpg","text":"TemporaryFile(/tmp/multipartBody1971557318047064641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579143186,"filename":"image_15072025_13_31_29_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177168","file1":"1372177165","file0":"1372177160","file4":"1372177176","file5":"1372177178","file3":"1372177173"},"map_files_photo_id_array":[{"photo_id":"1372177178","filename":"file5"},{"photo_id":"1372177168","filename":"file2"},{"photo_id":"1372177176","filename":"file4"},{"photo_id":"1372177165","filename":"file1"},{"photo_id":"1372177160","filename":"file0"},{"photo_id":"1372177173","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177178":["hashtag1","hashtag2"]},{"1372177160":["hashtag1","hashtag2"]},{"1372177165":["hashtag1","hashtag2"]},{"1372177168":["hashtag1","hashtag2"]},{"1372177173":["hashtag1","hashtag2"]},{"1372177176":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177178, 1372177160, 1372177165, 1372177168, 1372177173, 1372177176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.90841102600098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:32:22.325923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_36_2737.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_41_2713.jpg', '/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_48_2903.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_02_2635.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_06_3728.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_26_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_36_2737.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_41_2713.jpg
/home/pi/Desktop/images/15072025/13/31/image_15072025_13_31_48_2903.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_02_2635.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_06_3728.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_26_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":["1372177193","1372177214","1372177208","1372177204","1372177188","1372177197"],"photo_ids_order":["1372177188","1372177193","1372177197","1372177204","1372177208","1372177214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e67300f57945309f59f54dedd9b9ccf6.jpg","text":"TemporaryFile(/tmp/multipartBody2890566711934826161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_31_41_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff90fa6ea12bbde8a54fc944158b14cb.jpg","text":"TemporaryFile(/tmp/multipartBody4520537324738895939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_32_26_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a773cf9119d9a934fb6a3efebbd2f022.jpg","text":"TemporaryFile(/tmp/multipartBody5708089167822747468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_32_06_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f4489e1b80bad2fb1c92797016c9aaec.jpg","text":"TemporaryFile(/tmp/multipartBody5018712545050733395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_32_02_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c278a96e8910fabab9135ce46db14197.jpg","text":"TemporaryFile(/tmp/multipartBody6286132950531711345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_31_36_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4cde798281eb8327493c27ae0a721d5.jpg","text":"TemporaryFile(/tmp/multipartBody273667201390923371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579203452,"filename":"image_15072025_13_31_48_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177197","file1":"1372177193","file0":"1372177188","file4":"1372177208","file5":"1372177214","file3":"1372177204"},"map_files_photo_id_array":[{"photo_id":"1372177214","filename":"file5"},{"photo_id":"1372177197","filename":"file2"},{"photo_id":"1372177208","filename":"file4"},{"photo_id":"1372177193","filename":"file1"},{"photo_id":"1372177188","filename":"file0"},{"photo_id":"1372177204","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177193":["hashtag1","hashtag2"]},{"1372177214":["hashtag1","hashtag2"]},{"1372177208":["hashtag1","hashtag2"]},{"1372177204":["hashtag1","hashtag2"]},{"1372177188":["hashtag1","hashtag2"]},{"1372177197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177193, 1372177214, 1372177208, 1372177204, 1372177188, 1372177197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.67541313171387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:33:22.733777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_35_2616.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_38_2676.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_48_3591.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_53_2691.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_56_2655.jpg', '/home/pi/Desktop/images/15072025/13/32/image_15072025_13_33_00_3660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_35_2616.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_38_2676.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_48_3591.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_53_2691.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_32_56_2655.jpg
/home/pi/Desktop/images/15072025/13/32/image_15072025_13_33_00_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177232","1372177226","1372177243","1372177248","1372177245","1372177239"],"photo_ids_order":["1372177226","1372177232","1372177239","1372177243","1372177245","1372177248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee1e5f20bb2823c3b4c688a1fee4578c.jpg","text":"TemporaryFile(/tmp/multipartBody5138823302734526317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_32_38_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7623ed16a7d0d49467738ab7d1f1f349.jpg","text":"TemporaryFile(/tmp/multipartBody2598037981080656338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_32_35_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3c8f1f162e99ae482dd5ed93e51980f3.jpg","text":"TemporaryFile(/tmp/multipartBody4802814212566875772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_32_53_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c020292494cf55c54e95791da09e68e.jpg","text":"TemporaryFile(/tmp/multipartBody1223619380256815470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_33_00_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a8fd6892f8901f9ffe4ba8f42f80dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5040611608828459600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_32_56_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9bdee3eac77fe6174c8edbf56e9a95e2.jpg","text":"TemporaryFile(/tmp/multipartBody7767244659215809122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579263876,"filename":"image_15072025_13_32_48_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177239","file1":"1372177232","file0":"1372177226","file4":"1372177245","file5":"1372177248","file3":"1372177243"},"map_files_photo_id_array":[{"photo_id":"1372177248","filename":"file5"},{"photo_id":"1372177239","filename":"file2"},{"photo_id":"1372177245","filename":"file4"},{"photo_id":"1372177232","filename":"file1"},{"photo_id":"1372177226","filename":"file0"},{"photo_id":"1372177243","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177232":["hashtag1","hashtag2"]},{"1372177226":["hashtag1","hashtag2"]},{"1372177243":["hashtag1","hashtag2"]},{"1372177248":["hashtag1","hashtag2"]},{"1372177245":["hashtag1","hashtag2"]},{"1372177239":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177232, 1372177226, 1372177243, 1372177248, 1372177245, 1372177239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.777647495269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:34:22.452636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_08_2589.jpg', '/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_29_2605.jpg', '/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_35_2794.jpg', '/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_56_2797.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_06_3593.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_14_3619.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_08_2589.jpg
/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_29_2605.jpg
/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_35_2794.jpg
/home/pi/Desktop/images/15072025/13/33/image_15072025_13_33_56_2797.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_06_3593.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_14_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177283","1372177261","1372177285","1372177279","1372177267","1372177272"],"photo_ids_order":["1372177261","1372177267","1372177272","1372177279","1372177283","1372177285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f055011494fe872c457cb8f9285cebc.jpg","text":"TemporaryFile(/tmp/multipartBody7601511684869404960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_34_06_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dcedd90ae92b75e637d2dcde0929ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1477770208137921612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_33_08_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b06e6ef98ea9d11da1921005b3b61bf9.jpg","text":"TemporaryFile(/tmp/multipartBody176835834747958088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_34_14_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/787d8faa1bba52ccb16b39e35132b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody8408373786752909482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_33_56_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c29b3620b4ce23decc798715a173ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody5291329066051636840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_33_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/7/15/ea99517ab27089e6e919dc821be01c86.jpg","text":"TemporaryFile(/tmp/multipartBody5451405001127973885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579323580,"filename":"image_15072025_13_33_35_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177272","file1":"1372177267","file0":"1372177261","file4":"1372177283","file5":"1372177285","file3":"1372177279"},"map_files_photo_id_array":[{"photo_id":"1372177285","filename":"file5"},{"photo_id":"1372177272","filename":"file2"},{"photo_id":"1372177283","filename":"file4"},{"photo_id":"1372177267","filename":"file1"},{"photo_id":"1372177261","filename":"file0"},{"photo_id":"1372177279","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177283":["hashtag1","hashtag2"]},{"1372177261":["hashtag1","hashtag2"]},{"1372177285":["hashtag1","hashtag2"]},{"1372177279":["hashtag1","hashtag2"]},{"1372177267":["hashtag1","hashtag2"]},{"1372177272":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177283, 1372177261, 1372177285, 1372177279, 1372177267, 1372177272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.85349798202515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:35:21.905328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_17_2882.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_20_2567.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_23_2729.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_26_3655.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_47_2551.jpg', '/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_50_3744.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_17_2882.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_20_2567.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_23_2729.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_26_3655.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_47_2551.jpg
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_50_3744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177314","1372177301","1372177294","1372177306","1372177321","1372177311"],"photo_ids_order":["1372177294","1372177301","1372177306","1372177311","1372177314","1372177321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c20016067c144e9a1b1a99608fe92cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3609602960682468887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_47_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac5bf7fcd144bddc4af3a23d270ce361.jpg","text":"TemporaryFile(/tmp/multipartBody255795739838123713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_20_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7ddeef13efa01642464e8b65750e2fc.jpg","text":"TemporaryFile(/tmp/multipartBody5301925532336994969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_17_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d18a58b6c7c79ef55db09127fd8ca476.jpg","text":"TemporaryFile(/tmp/multipartBody3478376948203057620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_23_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4c95c0181bc8b40d00fc96073da047d.jpg","text":"TemporaryFile(/tmp/multipartBody6038822583323094151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_50_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a652cbd1faf708785f93d4bfece5e0e.jpg","text":"TemporaryFile(/tmp/multipartBody6282007252194060859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579383022,"filename":"image_15072025_13_34_26_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177306","file1":"1372177301","file0":"1372177294","file4":"1372177314","file5":"1372177321","file3":"1372177311"},"map_files_photo_id_array":[{"photo_id":"1372177321","filename":"file5"},{"photo_id":"1372177306","filename":"file2"},{"photo_id":"1372177314","filename":"file4"},{"photo_id":"1372177301","filename":"file1"},{"photo_id":"1372177294","filename":"file0"},{"photo_id":"1372177311","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177314":["hashtag1","hashtag2"]},{"1372177301":["hashtag1","hashtag2"]},{"1372177294":["hashtag1","hashtag2"]},{"1372177306":["hashtag1","hashtag2"]},{"1372177321":["hashtag1","hashtag2"]},{"1372177311":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177314, 1372177301, 1372177294, 1372177306, 1372177321, 1372177311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.52255868911743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:36:22.722897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_53_2602.jpg', '/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_14_3595.jpg', '/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_47_3746.jpg', '/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_59_2655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/34/image_15072025_13_34_53_2602.jpg
/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_14_3595.jpg
/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_47_3746.jpg
/home/pi/Desktop/images/15072025/13/35/image_15072025_13_35_59_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177328","1372177345","1372177333","1372177338"],"photo_ids_order":["1372177328","1372177333","1372177338","1372177345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4948a72469d91d306e1027489898d26e.jpg","text":"TemporaryFile(/tmp/multipartBody6121071032925518241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579443785,"filename":"image_15072025_13_34_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/7/15/105eb26535f917b8edc352ed57c27d24.jpg","text":"TemporaryFile(/tmp/multipartBody9152270031674757062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579443785,"filename":"image_15072025_13_35_59_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a37cd64fdd9d9f85d0d148db7865a8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2397520389539180720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579443785,"filename":"image_15072025_13_35_14_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6e03882af6e901bce0e0e28c9946d92.jpg","text":"TemporaryFile(/tmp/multipartBody4040830637726027274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579443785,"filename":"image_15072025_13_35_47_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177338","file1":"1372177333","file0":"1372177328","file3":"1372177345"},"map_files_photo_id_array":[{"photo_id":"1372177338","filename":"file2"},{"photo_id":"1372177333","filename":"file1"},{"photo_id":"1372177328","filename":"file0"},{"photo_id":"1372177345","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177328":["hashtag1","hashtag2"]},{"1372177345":["hashtag1","hashtag2"]},{"1372177333":["hashtag1","hashtag2"]},{"1372177338":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177328, 1372177345, 1372177333, 1372177338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.65713286399841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:37:02.996698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:37:22.248188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/36/image_15072025_13_36_29_2583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/36/image_15072025_13_36_29_2583.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177378"],"photo_id":"1372177378","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/891d56f23cd58d3c92c90ed77d09e086.jpg","text":"TemporaryFile(/tmp/multipartBody2181163513623377211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579503205,"filename":"image_15072025_13_36_29_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372177378"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372177378"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.169681072235107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:37:42.229205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:38:03.177643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:38:22.581821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/37/image_15072025_13_37_53_2746.jpg', '/home/pi/Desktop/images/15072025/13/38/image_15072025_13_38_38_3742.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/37/image_15072025_13_37_53_2746.jpg
/home/pi/Desktop/images/15072025/13/38/image_15072025_13_38_38_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177415","1372177411"],"photo_ids_order":["1372177411","1372177415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0160f406dee140a558e5d5f2f810da7.jpg","text":"TemporaryFile(/tmp/multipartBody6350436942036199933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579563578,"filename":"image_15072025_13_38_38_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff99799c5e1088fbf6cab3eadc3f02fc.jpg","text":"TemporaryFile(/tmp/multipartBody2755776802930702264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579563578,"filename":"image_15072025_13_37_53_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372177415","file0":"1372177411"},"map_files_photo_id_array":[{"photo_id":"1372177415","filename":"file1"},{"photo_id":"1372177411","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177415":["hashtag1","hashtag2"]},{"1372177411":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177415, 1372177411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.450700283050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:39:03.693352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:39:22.600775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/38/image_15072025_13_38_41_2616.jpg', '/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_29_2633.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/38/image_15072025_13_38_41_2616.jpg
/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_29_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177445","1372177441"],"photo_ids_order":["1372177441","1372177445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a0129142fe1ef2b5521c9315bac812a.jpg","text":"TemporaryFile(/tmp/multipartBody5928127866608001168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579623654,"filename":"image_15072025_13_39_29_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7147dc8aa1bc57965239860e0accb89a.jpg","text":"TemporaryFile(/tmp/multipartBody8032263947035121595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579623654,"filename":"image_15072025_13_38_41_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372177445","file0":"1372177441"},"map_files_photo_id_array":[{"photo_id":"1372177445","filename":"file1"},{"photo_id":"1372177441","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177445":["hashtag1","hashtag2"]},{"1372177441":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177445, 1372177441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.624184370040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:40:02.732514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:40:22.153359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_52_2583.jpg', '/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_19_2677.jpg', '/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_32_3666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_52_2583.jpg
/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_19_2677.jpg
/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_32_3666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6209635734558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:40:42.157802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_52_2583.jpg', '/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_19_2677.jpg', '/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_32_3666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/39/image_15072025_13_39_52_2583.jpg
/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_19_2677.jpg
/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_32_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177486","1372177480","1372177476"],"photo_ids_order":["1372177476","1372177480","1372177486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/401587f99cb17027a3534d8629db28d7.jpg","text":"TemporaryFile(/tmp/multipartBody7312373948666736803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579703200,"filename":"image_15072025_13_40_32_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e5df14814305bb20538f502e6da0dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7530663199015422058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579703200,"filename":"image_15072025_13_40_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/7/15/f167f5fdf9bc2479c706690502f3653a.jpg","text":"TemporaryFile(/tmp/multipartBody3782331453325409052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579703200,"filename":"image_15072025_13_39_52_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177486","file1":"1372177480","file0":"1372177476"},"map_files_photo_id_array":[{"photo_id":"1372177486","filename":"file2"},{"photo_id":"1372177480","filename":"file1"},{"photo_id":"1372177476","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177486":["hashtag1","hashtag2"]},{"1372177480":["hashtag1","hashtag2"]},{"1372177476":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177486, 1372177480, 1372177476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.02761697769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:41:21.907749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_37_2533.jpg', '/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_05_2678.jpg', '/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_11_3570.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/40/image_15072025_13_40_37_2533.jpg
/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_05_2678.jpg
/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_11_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177511","1372177515","1372177518"],"photo_ids_order":["1372177511","1372177515","1372177518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18873bff3221d4da8e61b1c68c12f641.jpg","text":"TemporaryFile(/tmp/multipartBody7564989505432323951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579742990,"filename":"image_15072025_13_40_37_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/015be2e4cf516d6ef844136f6e245f84.jpg","text":"TemporaryFile(/tmp/multipartBody8003485477947572145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579742990,"filename":"image_15072025_13_41_05_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88015bb6528b3a5caf6b708562795103.jpg","text":"TemporaryFile(/tmp/multipartBody8116512305005105635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579742990,"filename":"image_15072025_13_41_11_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177518","file1":"1372177515","file0":"1372177511"},"map_files_photo_id_array":[{"photo_id":"1372177518","filename":"file2"},{"photo_id":"1372177515","filename":"file1"},{"photo_id":"1372177511","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177511":["hashtag1","hashtag2"]},{"1372177515":["hashtag1","hashtag2"]},{"1372177518":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177511, 1372177515, 1372177518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.755959510803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:42:03.201788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:42:22.604210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_13_2676.jpg', '/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_02_2923.jpg', '/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_19_2754.jpg', '/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_37_2768.jpg', '/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_43_2681.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/41/image_15072025_13_41_13_2676.jpg
/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_02_2923.jpg
/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_19_2754.jpg
/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_37_2768.jpg
/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_43_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177549","1372177551","1372177545","1372177554","1372177557"],"photo_ids_order":["1372177545","1372177549","1372177551","1372177554","1372177557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33c26aecaad8e63c23d463e0b2be8606.jpg","text":"TemporaryFile(/tmp/multipartBody183399684759219885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579803692,"filename":"image_15072025_13_42_02_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22b69bba9c2e66707ffc67f3c030958f.jpg","text":"TemporaryFile(/tmp/multipartBody9205139287027143709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579803692,"filename":"image_15072025_13_42_19_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4d16349a1924ba13a060f8dc92183b9.jpg","text":"TemporaryFile(/tmp/multipartBody4258275678697425567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579803692,"filename":"image_15072025_13_41_13_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4ee5d5b375535a519c251ab9d624b37.jpg","text":"TemporaryFile(/tmp/multipartBody5376996553348856960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579803692,"filename":"image_15072025_13_42_37_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f5483f2ad10020681849f8791eac2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1791858344918939805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579803692,"filename":"image_15072025_13_42_43_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177551","file1":"1372177549","file0":"1372177545","file4":"1372177557","file3":"1372177554"},"map_files_photo_id_array":[{"photo_id":"1372177551","filename":"file2"},{"photo_id":"1372177557","filename":"file4"},{"photo_id":"1372177549","filename":"file1"},{"photo_id":"1372177545","filename":"file0"},{"photo_id":"1372177554","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177549":["hashtag1","hashtag2"]},{"1372177551":["hashtag1","hashtag2"]},{"1372177545":["hashtag1","hashtag2"]},{"1372177554":["hashtag1","hashtag2"]},{"1372177557":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177549, 1372177551, 1372177545, 1372177554, 1372177557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.57459044456482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:43:22.660356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_52_2658.jpg', '/home/pi/Desktop/images/15072025/13/43/image_15072025_13_43_22_2712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/42/image_15072025_13_42_52_2658.jpg
/home/pi/Desktop/images/15072025/13/43/image_15072025_13_43_22_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177582","1372177576"],"photo_ids_order":["1372177576","1372177582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee3b8706da3e416521efbb9daff29544.jpg","text":"TemporaryFile(/tmp/multipartBody3169085714554237386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579863705,"filename":"image_15072025_13_43_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/7/15/c2f3732923b531c4e056787b1ec879f8.jpg","text":"TemporaryFile(/tmp/multipartBody8748434141259513964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579863705,"filename":"image_15072025_13_42_52_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372177582","file0":"1372177576"},"map_files_photo_id_array":[{"photo_id":"1372177582","filename":"file1"},{"photo_id":"1372177576","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177582":["hashtag1","hashtag2"]},{"1372177576":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177582, 1372177576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.921284675598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:44:03.204198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:44:22.227276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/43/image_15072025_13_43_28_2649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/43/image_15072025_13_43_28_2649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177606"],"photo_id":"1372177606","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6da9987686944b5ba997f3996d50d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody176944044354625095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579923191,"filename":"image_15072025_13_43_28_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372177606"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372177606"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.466695070266724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:44:42.249529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:45:03.054896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:45:22.199415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/44/image_15072025_13_44_07_2711.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/44/image_15072025_13_44_07_2711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177652"],"photo_id":"1372177652","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/362582d9d2aa4426f5ed5c3c5508bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody7382180713241641775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752579983173,"filename":"image_15072025_13_44_07_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1372177652"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1372177652"}],"hashtags":[],"portfolio_id":"24949303","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.666971683502197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:45:42.298137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:46:03.045276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:46:22.492307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/45/image_15072025_13_45_28_2902.jpg', '/home/pi/Desktop/images/15072025/13/46/image_15072025_13_46_16_2643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/45/image_15072025_13_45_28_2902.jpg
/home/pi/Desktop/images/15072025/13/46/image_15072025_13_46_16_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177680","1372177685"],"photo_ids_order":["1372177680","1372177685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e1cdc5a39d3dd0a969b6316b57a5bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1210472983693966284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580043490,"filename":"image_15072025_13_45_28_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5137024ea371c4cea748ea9ecc881270.jpg","text":"TemporaryFile(/tmp/multipartBody7718763128041076886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580043490,"filename":"image_15072025_13_46_16_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372177685","file0":"1372177680"},"map_files_photo_id_array":[{"photo_id":"1372177685","filename":"file1"},{"photo_id":"1372177680","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177680":["hashtag1","hashtag2"]},{"1372177685":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177680, 1372177685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.0517840385437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:47:03.122446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:47:22.220177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/46/image_15072025_13_46_19_3691.jpg', '/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_01_2849.jpg', '/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_15_2652.jpg', '/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_28_3651.jpg', '/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_37_3696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/46/image_15072025_13_46_19_3691.jpg
/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_01_2849.jpg
/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_15_2652.jpg
/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_28_3651.jpg
/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_37_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177733","1372177715","1372177729","1372177719","1372177722"],"photo_ids_order":["1372177715","1372177719","1372177722","1372177729","1372177733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1084fee329fd5698f4df395495a468c.jpg","text":"TemporaryFile(/tmp/multipartBody4761894887521251986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580103324,"filename":"image_15072025_13_47_37_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c20a5feab64643bb159282e657e9e42f.jpg","text":"TemporaryFile(/tmp/multipartBody5438915897797321019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580103324,"filename":"image_15072025_13_46_19_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1b3d6bef56d812a1c6b4e4291d6ca21.jpg","text":"TemporaryFile(/tmp/multipartBody1334887837337814389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580103324,"filename":"image_15072025_13_47_28_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2f9306f426e6f97c51cc77d7ac068aa.jpg","text":"TemporaryFile(/tmp/multipartBody3744771134075558308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580103324,"filename":"image_15072025_13_47_01_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b11c989700c2a2abbdf95f11a105a564.jpg","text":"TemporaryFile(/tmp/multipartBody7074832401684372540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580103324,"filename":"image_15072025_13_47_15_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177722","file1":"1372177719","file0":"1372177715","file4":"1372177733","file3":"1372177729"},"map_files_photo_id_array":[{"photo_id":"1372177722","filename":"file2"},{"photo_id":"1372177733","filename":"file4"},{"photo_id":"1372177719","filename":"file1"},{"photo_id":"1372177715","filename":"file0"},{"photo_id":"1372177729","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177733":["hashtag1","hashtag2"]},{"1372177715":["hashtag1","hashtag2"]},{"1372177729":["hashtag1","hashtag2"]},{"1372177719":["hashtag1","hashtag2"]},{"1372177722":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177733, 1372177715, 1372177729, 1372177719, 1372177722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.81440997123718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:48:22.710023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_51_2688.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_04_3734.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_07_2650.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_12_2819.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_22_3673.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_28_2561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/47/image_15072025_13_47_51_2688.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_04_3734.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_07_2650.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_12_2819.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_22_3673.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_28_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":["1372177772","1372177766","1372177748","1372177757","1372177753","1372177761"],"photo_ids_order":["1372177748","1372177753","1372177757","1372177761","1372177766","1372177772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf4aef22fa0a0ea5a68fafe4d3692a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7108958656442579502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_48_28_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23f2de99037e6914ccc2b7edea2b1226.jpg","text":"TemporaryFile(/tmp/multipartBody7707016268451339628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_48_22_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/baa7a98aeb44049205b4c837358f9246.jpg","text":"TemporaryFile(/tmp/multipartBody5259019504258468224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_47_51_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/311c11827bce6f595a8264bf759e82e9.jpg","text":"TemporaryFile(/tmp/multipartBody705352578428012372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_48_07_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a76f450e8741f3f62004963d56c3fd57.jpg","text":"TemporaryFile(/tmp/multipartBody3194581416245188615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_48_04_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb822590b1b0c594fadb1d39e994d4d2.jpg","text":"TemporaryFile(/tmp/multipartBody485748777534367319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580163847,"filename":"image_15072025_13_48_12_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177757","file1":"1372177753","file0":"1372177748","file4":"1372177766","file5":"1372177772","file3":"1372177761"},"map_files_photo_id_array":[{"photo_id":"1372177772","filename":"file5"},{"photo_id":"1372177757","filename":"file2"},{"photo_id":"1372177766","filename":"file4"},{"photo_id":"1372177753","filename":"file1"},{"photo_id":"1372177748","filename":"file0"},{"photo_id":"1372177761","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177772":["hashtag1","hashtag2"]},{"1372177766":["hashtag1","hashtag2"]},{"1372177748":["hashtag1","hashtag2"]},{"1372177757":["hashtag1","hashtag2"]},{"1372177753":["hashtag1","hashtag2"]},{"1372177761":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177772, 1372177766, 1372177748, 1372177757, 1372177753, 1372177761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.54527688026428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:49:22.074317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_36_2616.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_52_2821.jpg', '/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_54_2730.jpg', '/home/pi/Desktop/images/15072025/13/49/image_15072025_13_49_07_3632.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_36_2616.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_52_2821.jpg
/home/pi/Desktop/images/15072025/13/48/image_15072025_13_48_54_2730.jpg
/home/pi/Desktop/images/15072025/13/49/image_15072025_13_49_07_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177789","1372177791","1372177797","1372177785"],"photo_ids_order":["1372177785","1372177789","1372177791","1372177797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d62de1190e3efa7ab40723bc8a73092.jpg","text":"TemporaryFile(/tmp/multipartBody7488794654444288562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580223157,"filename":"image_15072025_13_48_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/7/15/6c68c081b41f8d0f0460e68ed59b6813.jpg","text":"TemporaryFile(/tmp/multipartBody643704720157206193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580223157,"filename":"image_15072025_13_48_54_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e06fbb6e9eaba43a94feaf8e4dc42e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6045669552158096405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580223157,"filename":"image_15072025_13_49_07_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1ab05440411beef7f988af7126360729.jpg","text":"TemporaryFile(/tmp/multipartBody8487667303249040807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580223157,"filename":"image_15072025_13_48_36_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177791","file1":"1372177789","file0":"1372177785","file3":"1372177797"},"map_files_photo_id_array":[{"photo_id":"1372177791","filename":"file2"},{"photo_id":"1372177789","filename":"file1"},{"photo_id":"1372177785","filename":"file0"},{"photo_id":"1372177797","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177789":["hashtag1","hashtag2"]},{"1372177791":["hashtag1","hashtag2"]},{"1372177797":["hashtag1","hashtag2"]},{"1372177785":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177789, 1372177791, 1372177797, 1372177785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.322070360183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:50:02.973206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:50:22.300960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/49/image_15072025_13_49_51_2708.jpg', '/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_07_3784.jpg', '/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_39_2800.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/49/image_15072025_13_49_51_2708.jpg
/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_07_3784.jpg
/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_39_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177820","1372177813","1372177818"],"photo_ids_order":["1372177813","1372177818","1372177820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88b75cb1aa6b923fe3953d022138c525.jpg","text":"TemporaryFile(/tmp/multipartBody1485512144157073968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580283324,"filename":"image_15072025_13_50_39_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c544c09f5a68164cef3ebb1ffeecb191.jpg","text":"TemporaryFile(/tmp/multipartBody2388864475609378860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580283324,"filename":"image_15072025_13_49_51_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d441f6d25ce67119d566befafa93ef88.jpg","text":"TemporaryFile(/tmp/multipartBody4881108166419987871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580283324,"filename":"image_15072025_13_50_07_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177820","file1":"1372177818","file0":"1372177813"},"map_files_photo_id_array":[{"photo_id":"1372177820","filename":"file2"},{"photo_id":"1372177818","filename":"file1"},{"photo_id":"1372177813","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177820":["hashtag1","hashtag2"]},{"1372177813":["hashtag1","hashtag2"]},{"1372177818":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177820, 1372177813, 1372177818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.72518801689148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:51:02.805496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:51:22.094476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_55_3712.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_04_3606.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_21_2760.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_25_3619.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_27_2817.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_34_3803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/50/image_15072025_13_50_55_3712.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_04_3606.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_21_2760.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_25_3619.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_27_2817.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_34_3803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177853","1372177867","1372177846","1372177849","1372177840","1372177857"],"photo_ids_order":["1372177840","1372177846","1372177849","1372177853","1372177857","1372177867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/df5f7a6b1428eb33cbe26a48883c895b.jpg","text":"TemporaryFile(/tmp/multipartBody3133978710414499763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_51_25_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/172eaa1a1b83cbb45dcd4087b8895072.jpg","text":"TemporaryFile(/tmp/multipartBody7000343840629720517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_51_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/7/15/bae483fee47c1749699b31c28e6c4db4.jpg","text":"TemporaryFile(/tmp/multipartBody7054455538020696556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_51_04_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/53af6ca66acbc3b3607fc561b3394b56.jpg","text":"TemporaryFile(/tmp/multipartBody7299805719265079684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_51_21_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bad0adfc0c23907554f1fa8d310d8799.jpg","text":"TemporaryFile(/tmp/multipartBody5842433261660879999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_50_55_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1fd91fc4888df4a42016fbd25435b72.jpg","text":"TemporaryFile(/tmp/multipartBody2539106813053899660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580343215,"filename":"image_15072025_13_51_27_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177849","file1":"1372177846","file0":"1372177840","file4":"1372177857","file5":"1372177867","file3":"1372177853"},"map_files_photo_id_array":[{"photo_id":"1372177867","filename":"file5"},{"photo_id":"1372177849","filename":"file2"},{"photo_id":"1372177857","filename":"file4"},{"photo_id":"1372177846","filename":"file1"},{"photo_id":"1372177840","filename":"file0"},{"photo_id":"1372177853","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177853":["hashtag1","hashtag2"]},{"1372177867":["hashtag1","hashtag2"]},{"1372177846":["hashtag1","hashtag2"]},{"1372177849":["hashtag1","hashtag2"]},{"1372177840":["hashtag1","hashtag2"]},{"1372177857":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177853, 1372177867, 1372177846, 1372177849, 1372177840, 1372177857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.521251916885376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:52:22.158803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_37_2690.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_43_3668.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_45_2568.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_48_2781.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_52_3604.jpg', '/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_54_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_37_2690.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_43_3668.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_45_2568.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_48_2781.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_52_3604.jpg
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_51_54_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177904","1372177891","1372177879","1372177893","1372177887","1372177883"],"photo_ids_order":["1372177879","1372177883","1372177887","1372177891","1372177893","1372177904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b5af22158e91393fc164a07ec4f2f04.jpg","text":"TemporaryFile(/tmp/multipartBody6523879558002203423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_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/7/15/fda7c707442a472a1ce21d271c5c537f.jpg","text":"TemporaryFile(/tmp/multipartBody949219712594004529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_48_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c96cf6e04831701692dc01c7071c6e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5413414399990583445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_37_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c352868543582408bf8fbd6bfa9d58a.jpg","text":"TemporaryFile(/tmp/multipartBody2065488094163873346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_52_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9c45cd49f8f6054ce3b0a8c368f18f4.jpg","text":"TemporaryFile(/tmp/multipartBody6613966450719966495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_45_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/448bcfff6628dcd1083097d591b8c0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6304326094115550805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580403284,"filename":"image_15072025_13_51_43_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177887","file1":"1372177883","file0":"1372177879","file4":"1372177893","file5":"1372177904","file3":"1372177891"},"map_files_photo_id_array":[{"photo_id":"1372177904","filename":"file5"},{"photo_id":"1372177887","filename":"file2"},{"photo_id":"1372177893","filename":"file4"},{"photo_id":"1372177883","filename":"file1"},{"photo_id":"1372177879","filename":"file0"},{"photo_id":"1372177891","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177904":["hashtag1","hashtag2"]},{"1372177891":["hashtag1","hashtag2"]},{"1372177879":["hashtag1","hashtag2"]},{"1372177893":["hashtag1","hashtag2"]},{"1372177887":["hashtag1","hashtag2"]},{"1372177883":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177904, 1372177891, 1372177879, 1372177893, 1372177887, 1372177883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56390881538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:53:22.424607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/51/image_15072025_13_52_01_3715.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_03_2590.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_06_2548.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_10_3825.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_15_2873.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_21_2755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/51/image_15072025_13_52_01_3715.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_03_2590.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_06_2548.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_10_3825.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_15_2873.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_21_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":["1372177925","1372177921","1372177917","1372177911","1372177929","1372177914"],"photo_ids_order":["1372177911","1372177914","1372177917","1372177921","1372177925","1372177929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ad8a700bd8f72b0e51e7e6a76bbd465.jpg","text":"TemporaryFile(/tmp/multipartBody6022973590363388827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_15_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89e50d15012486ef6ddf1a12e9de634a.jpg","text":"TemporaryFile(/tmp/multipartBody2665314342360245765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_10_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e0401688ae5e0ce6a14c7152d96292a.jpg","text":"TemporaryFile(/tmp/multipartBody2283207948172189989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_06_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7331f836aa3871e0631002b3ebb3b32.jpg","text":"TemporaryFile(/tmp/multipartBody4038337124264043105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_01_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bdfdfb0b13c1cfed76a29ffb0c89370.jpg","text":"TemporaryFile(/tmp/multipartBody2554924144971244790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_21_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3eac268a92161e9924bb2beb2efaf7f0.jpg","text":"TemporaryFile(/tmp/multipartBody2992222639504834052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580463546,"filename":"image_15072025_13_52_03_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177917","file1":"1372177914","file0":"1372177911","file4":"1372177925","file5":"1372177929","file3":"1372177921"},"map_files_photo_id_array":[{"photo_id":"1372177929","filename":"file5"},{"photo_id":"1372177917","filename":"file2"},{"photo_id":"1372177925","filename":"file4"},{"photo_id":"1372177914","filename":"file1"},{"photo_id":"1372177911","filename":"file0"},{"photo_id":"1372177921","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177925":["hashtag1","hashtag2"]},{"1372177921":["hashtag1","hashtag2"]},{"1372177917":["hashtag1","hashtag2"]},{"1372177911":["hashtag1","hashtag2"]},{"1372177929":["hashtag1","hashtag2"]},{"1372177914":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177925, 1372177921, 1372177917, 1372177911, 1372177929, 1372177914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.345924615859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:54:21.979470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_34_3760.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_39_2584.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_45_2720.jpg', '/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_57_2763.jpg', '/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_04_3603.jpg', '/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_18_2755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_34_3760.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_39_2584.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_45_2720.jpg
/home/pi/Desktop/images/15072025/13/52/image_15072025_13_52_57_2763.jpg
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_04_3603.jpg
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_18_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":["1372177946","1372177943","1372177953","1372177956","1372177950","1372177938"],"photo_ids_order":["1372177938","1372177943","1372177946","1372177950","1372177953","1372177956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95567c2c1fee4618a146944f9670da10.jpg","text":"TemporaryFile(/tmp/multipartBody8194253194856204527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_52_45_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/83cf21873d235cb9cb207c41cbb0e95d.jpg","text":"TemporaryFile(/tmp/multipartBody3384200374937769640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_52_39_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dc71e80586febb9b4fcb460fd7c1bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4627161887129840661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_53_04_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7645aad13ea0cd9fc2963503d38649c2.jpg","text":"TemporaryFile(/tmp/multipartBody2208038993547321482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_53_18_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/16ed07e91628502e16dfd70fa13639e0.jpg","text":"TemporaryFile(/tmp/multipartBody677697845225277766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_52_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/7/15/52b91772370335f9be29be490863d8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8066653497210836715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580523181,"filename":"image_15072025_13_52_34_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177946","file1":"1372177943","file0":"1372177938","file4":"1372177953","file5":"1372177956","file3":"1372177950"},"map_files_photo_id_array":[{"photo_id":"1372177956","filename":"file5"},{"photo_id":"1372177946","filename":"file2"},{"photo_id":"1372177953","filename":"file4"},{"photo_id":"1372177943","filename":"file1"},{"photo_id":"1372177938","filename":"file0"},{"photo_id":"1372177950","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177946":["hashtag1","hashtag2"]},{"1372177943":["hashtag1","hashtag2"]},{"1372177953":["hashtag1","hashtag2"]},{"1372177956":["hashtag1","hashtag2"]},{"1372177950":["hashtag1","hashtag2"]},{"1372177938":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177946, 1372177943, 1372177953, 1372177956, 1372177950, 1372177938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.23648381233215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:55:22.477603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_51_3699.jpg', '/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_57_2634.jpg', '/home/pi/Desktop/images/15072025/13/54/image_15072025_13_54_03_2755.jpg', '/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_33_2623.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_51_3699.jpg
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_57_2634.jpg
/home/pi/Desktop/images/15072025/13/54/image_15072025_13_54_03_2755.jpg
/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_33_2623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6617441177368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 13:55:42.527846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_51_3699.jpg', '/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_57_2634.jpg', '/home/pi/Desktop/images/15072025/13/54/image_15072025_13_54_03_2755.jpg', '/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_33_2623.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_51_3699.jpg
/home/pi/Desktop/images/15072025/13/53/image_15072025_13_53_57_2634.jpg
/home/pi/Desktop/images/15072025/13/54/image_15072025_13_54_03_2755.jpg
/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_33_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372177988","1372177993","1372177981","1372177984"],"photo_ids_order":["1372177981","1372177984","1372177988","1372177993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9aca6d7c2b0cbfff1e237bb9699f5885.jpg","text":"TemporaryFile(/tmp/multipartBody3717864433626695100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580603608,"filename":"image_15072025_13_54_03_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5fb58471ac57ada16dfe5765b34cbd99.jpg","text":"TemporaryFile(/tmp/multipartBody1946908110861662328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580603608,"filename":"image_15072025_13_55_33_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/124b075c1e7e308ed6fdd7f6860a0da5.jpg","text":"TemporaryFile(/tmp/multipartBody3761297560789905455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580603608,"filename":"image_15072025_13_53_51_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d78f3c3167ba030164275c3c5b97e714.jpg","text":"TemporaryFile(/tmp/multipartBody5795350782322235192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580603608,"filename":"image_15072025_13_53_57_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372177988","file1":"1372177984","file0":"1372177981","file3":"1372177993"},"map_files_photo_id_array":[{"photo_id":"1372177988","filename":"file2"},{"photo_id":"1372177984","filename":"file1"},{"photo_id":"1372177981","filename":"file0"},{"photo_id":"1372177993","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372177988":["hashtag1","hashtag2"]},{"1372177993":["hashtag1","hashtag2"]},{"1372177981":["hashtag1","hashtag2"]},{"1372177984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372177988, 1372177993, 1372177981, 1372177984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25380063056946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:56:22.252011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_54_3625.jpg', '/home/pi/Desktop/images/15072025/13/56/image_15072025_13_56_42_2698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/55/image_15072025_13_55_54_3625.jpg
/home/pi/Desktop/images/15072025/13/56/image_15072025_13_56_42_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372178002","1372178007"],"photo_ids_order":["1372178002","1372178007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/268f349b2de7b74c9dd67442a546a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody5153592839472526310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580643258,"filename":"image_15072025_13_55_54_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/506e471f7e98e1c95f43da351309ed6d.jpg","text":"TemporaryFile(/tmp/multipartBody222796708922790219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580643258,"filename":"image_15072025_13_56_42_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1372178007","file0":"1372178002"},"map_files_photo_id_array":[{"photo_id":"1372178007","filename":"file1"},{"photo_id":"1372178002","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178002":["hashtag1","hashtag2"]},{"1372178007":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178002, 1372178007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.02562165260315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:57:03.537636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 13:57:22.748317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/56/image_15072025_13_56_51_2620.jpg', '/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_24_3602.jpg', '/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_45_3585.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/56/image_15072025_13_56_51_2620.jpg
/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_24_3602.jpg
/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_45_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372178240","1372178235","1372178238"],"photo_ids_order":["1372178235","1372178238","1372178240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ceed9542d5ce77ce02757dd874fdfad0.jpg","text":"TemporaryFile(/tmp/multipartBody2256934072187851662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580703786,"filename":"image_15072025_13_57_45_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf2e3ea390618afe158c41b96cab45fc.jpg","text":"TemporaryFile(/tmp/multipartBody3389464133358113337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580703786,"filename":"image_15072025_13_56_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/7/15/6ee974cfe8fd306c84e8beaca72e00a1.jpg","text":"TemporaryFile(/tmp/multipartBody8078164334892774076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580703786,"filename":"image_15072025_13_57_24_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372178240","file1":"1372178238","file0":"1372178235"},"map_files_photo_id_array":[{"photo_id":"1372178240","filename":"file2"},{"photo_id":"1372178238","filename":"file1"},{"photo_id":"1372178235","filename":"file0"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178240":["hashtag1","hashtag2"]},{"1372178235":["hashtag1","hashtag2"]},{"1372178238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178240, 1372178235, 1372178238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.344014644622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 13:59:03.303422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_48_2789.jpg', '/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_03_3599.jpg', '/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_12_3573.jpg', '/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_17_2600.jpg', '/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_32_2621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/57/image_15072025_13_57_48_2789.jpg
/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_03_3599.jpg
/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_12_3573.jpg
/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_17_2600.jpg
/home/pi/Desktop/images/15072025/13/58/image_15072025_13_58_32_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":["1372178324","1372178321","1372178313","1372178316","1372178310"],"photo_ids_order":["1372178310","1372178313","1372178316","1372178321","1372178324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7627cac3e07ff5c598b2765264bf9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8036352945091919902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580804638,"filename":"image_15072025_13_58_32_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21166de5d5a9670ef34229c855a549e3.jpg","text":"TemporaryFile(/tmp/multipartBody214976164607026498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580804638,"filename":"image_15072025_13_58_17_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad16ce910c5be83d40ee949fcecc607c.jpg","text":"TemporaryFile(/tmp/multipartBody3563980048974564449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580804638,"filename":"image_15072025_13_58_03_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed7ffea9e9640b16f5f1b8269b584bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6532714163580668610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580804638,"filename":"image_15072025_13_58_12_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09d22703da7f0af4252e7314fea2a461.jpg","text":"TemporaryFile(/tmp/multipartBody3706619709256520218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580804638,"filename":"image_15072025_13_57_48_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372178316","file1":"1372178313","file0":"1372178310","file4":"1372178324","file3":"1372178321"},"map_files_photo_id_array":[{"photo_id":"1372178316","filename":"file2"},{"photo_id":"1372178324","filename":"file4"},{"photo_id":"1372178313","filename":"file1"},{"photo_id":"1372178310","filename":"file0"},{"photo_id":"1372178321","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178324":["hashtag1","hashtag2"]},{"1372178321":["hashtag1","hashtag2"]},{"1372178313":["hashtag1","hashtag2"]},{"1372178316":["hashtag1","hashtag2"]},{"1372178310":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178324, 1372178321, 1372178313, 1372178316, 1372178310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.311079025268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:00:02.683016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/58/image_15072025_13_59_00_2717.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_08_2535.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_12_3663.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_15_2699.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_17_2684.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_21_3583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/58/image_15072025_13_59_00_2717.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_08_2535.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_12_3663.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_15_2699.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_17_2684.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_21_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372178351","1372178333","1372178395","1372178346","1372178337","1372178342"],"photo_ids_order":["1372178333","1372178337","1372178342","1372178346","1372178351","1372178395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b2b2711f03ebc7b00b317082decc4123.jpg","text":"TemporaryFile(/tmp/multipartBody5106182819931305184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_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/7/15/9ee05cabe887fe38681d68d4829f7709.jpg","text":"TemporaryFile(/tmp/multipartBody627423047002893571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_00_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d847f42e7a51fe0f178487111085703d.jpg","text":"TemporaryFile(/tmp/multipartBody8734230776717041419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_21_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe1c376adb68e7cd8dbaac146f94ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody4987771122821378642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_15_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4e963b890fcd286e26468f48c9c8d15.jpg","text":"TemporaryFile(/tmp/multipartBody8742936108086727719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_08_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a2b62056a2715685e2cb03e7883aada.jpg","text":"TemporaryFile(/tmp/multipartBody3954894605060771071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580863871,"filename":"image_15072025_13_59_12_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372178342","file1":"1372178337","file0":"1372178333","file4":"1372178351","file5":"1372178395","file3":"1372178346"},"map_files_photo_id_array":[{"photo_id":"1372178395","filename":"file5"},{"photo_id":"1372178342","filename":"file2"},{"photo_id":"1372178351","filename":"file4"},{"photo_id":"1372178337","filename":"file1"},{"photo_id":"1372178333","filename":"file0"},{"photo_id":"1372178346","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178351":["hashtag1","hashtag2"]},{"1372178333":["hashtag1","hashtag2"]},{"1372178395":["hashtag1","hashtag2"]},{"1372178346":["hashtag1","hashtag2"]},{"1372178337":["hashtag1","hashtag2"]},{"1372178342":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178351, 1372178333, 1372178395, 1372178346, 1372178337, 1372178342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.704673290252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:01:02.957323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_24_2700.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_36_3525.jpg', '/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_41_2611.jpg', '/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_11_3595.jpg', '/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_14_2666.jpg', '/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_40_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_24_2700.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_36_3525.jpg
/home/pi/Desktop/images/15072025/13/59/image_15072025_13_59_41_2611.jpg
/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_11_3595.jpg
/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_14_2666.jpg
/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_40_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":["1372178642","1372178546","1372178593","1372178739","1372178690","1372178786"],"photo_ids_order":["1372178546","1372178593","1372178642","1372178690","1372178739","1372178786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97bbe949fb7d530b18f78aa30b6359a2.jpg","text":"TemporaryFile(/tmp/multipartBody151066743568977758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_13_59_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/7/15/a9cc556151a3bc6f0b280fa2269052ee.jpg","text":"TemporaryFile(/tmp/multipartBody1224770989128092759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_13_59_24_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/edea64b712b58fc1867c6b2997adc224.jpg","text":"TemporaryFile(/tmp/multipartBody1168684203185660247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_13_59_36_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7252e253dd0097623b9b27f67e19fcf.jpg","text":"TemporaryFile(/tmp/multipartBody613088605326349586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_14_00_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/7/15/a0695490c769ff3fdd4f66d267abb24e.jpg","text":"TemporaryFile(/tmp/multipartBody5888239660475256193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_14_00_11_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e97f0932f293acdfdb3f5b1461fc6f94.jpg","text":"TemporaryFile(/tmp/multipartBody9133963765838858976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752580924366,"filename":"image_15072025_14_00_40_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372178642","file1":"1372178593","file0":"1372178546","file4":"1372178739","file5":"1372178786","file3":"1372178690"},"map_files_photo_id_array":[{"photo_id":"1372178786","filename":"file5"},{"photo_id":"1372178642","filename":"file2"},{"photo_id":"1372178739","filename":"file4"},{"photo_id":"1372178593","filename":"file1"},{"photo_id":"1372178546","filename":"file0"},{"photo_id":"1372178690","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178642":["hashtag1","hashtag2"]},{"1372178546":["hashtag1","hashtag2"]},{"1372178593":["hashtag1","hashtag2"]},{"1372178739":["hashtag1","hashtag2"]},{"1372178690":["hashtag1","hashtag2"]},{"1372178786":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178642, 1372178546, 1372178593, 1372178739, 1372178690, 1372178786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88621401786804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:02:02.779562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:02:22.087516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_53_3615.jpg', '/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_02_3676.jpg', '/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_07_2793.jpg', '/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_19_2735.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/00/image_15072025_14_00_53_3615.jpg
/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_02_3676.jpg
/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_07_2793.jpg
/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_19_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372178959","1372178911","1372179006","1372178864"],"photo_ids_order":["1372178864","1372178911","1372178959","1372179006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9301a9ca4254a0498378483c15c82e15.jpg","text":"TemporaryFile(/tmp/multipartBody8233329554153770503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581003153,"filename":"image_15072025_14_02_07_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/93528896d89f272b8f6411194704497d.jpg","text":"TemporaryFile(/tmp/multipartBody7403865612507694019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581003153,"filename":"image_15072025_14_02_02_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/059e8c2563f1aa7e4300c0669ff3ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody559288350925372910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581003153,"filename":"image_15072025_14_02_19_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32bd5254a9fd6da4703ecca2f2960ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3808340069534101677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581003153,"filename":"image_15072025_14_00_53_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372178959","file1":"1372178911","file0":"1372178864","file3":"1372179006"},"map_files_photo_id_array":[{"photo_id":"1372178959","filename":"file2"},{"photo_id":"1372178911","filename":"file1"},{"photo_id":"1372178864","filename":"file0"},{"photo_id":"1372179006","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372178959":["hashtag1","hashtag2"]},{"1372178911":["hashtag1","hashtag2"]},{"1372179006":["hashtag1","hashtag2"]},{"1372178864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372178959, 1372178911, 1372179006, 1372178864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09469962120056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:03:03.584922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:03:22.891970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_29_3597.jpg', '/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_04_2578.jpg', '/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_20_3914.jpg', '/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_37_2659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/02/image_15072025_14_02_29_3597.jpg
/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_04_2578.jpg
/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_20_3914.jpg
/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_37_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179352","1372179399","1372179403","1372179360"],"photo_ids_order":["1372179352","1372179360","1372179399","1372179403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d03aed5c72e11566a50eb353504774e.jpg","text":"TemporaryFile(/tmp/multipartBody584307582386496450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581063965,"filename":"image_15072025_14_02_29_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/127a36e8c18de3610fdac8867ac20a27.jpg","text":"TemporaryFile(/tmp/multipartBody4988346403989467349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581063965,"filename":"image_15072025_14_03_20_3914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/90af1ad6c3939e447df1da217a9e68f4.jpg","text":"TemporaryFile(/tmp/multipartBody1518404076351638984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581063965,"filename":"image_15072025_14_03_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/7/15/f803f2e9a675044c46a49099060d2fda.jpg","text":"TemporaryFile(/tmp/multipartBody52261513624765417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581063965,"filename":"image_15072025_14_03_04_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179399","file1":"1372179360","file0":"1372179352","file3":"1372179403"},"map_files_photo_id_array":[{"photo_id":"1372179399","filename":"file2"},{"photo_id":"1372179360","filename":"file1"},{"photo_id":"1372179352","filename":"file0"},{"photo_id":"1372179403","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179352":["hashtag1","hashtag2"]},{"1372179399":["hashtag1","hashtag2"]},{"1372179403":["hashtag1","hashtag2"]},{"1372179360":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179352, 1372179399, 1372179403, 1372179360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.923924922943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:04:02.732512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:04:21.835301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_52_2570.jpg', '/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_14_3581.jpg', '/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_19_2583.jpg', '/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_40_2802.jpg', '/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_46_2580.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/03/image_15072025_14_03_52_2570.jpg
/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_14_3581.jpg
/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_19_2583.jpg
/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_40_2802.jpg
/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_46_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179481","1372179529","1372179576","1372179470","1372179467"],"photo_ids_order":["1372179467","1372179470","1372179481","1372179529","1372179576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6214d466a8190cfb15cadd93ba93c7fa.jpg","text":"TemporaryFile(/tmp/multipartBody9179216487873287635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581122935,"filename":"image_15072025_14_04_19_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c9d0c011782ae086ca8938330b90af4.jpg","text":"TemporaryFile(/tmp/multipartBody1762978266720394730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581122935,"filename":"image_15072025_14_04_40_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/259823c4788068d9ac2e0717554f130b.jpg","text":"TemporaryFile(/tmp/multipartBody5668302414384312041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581122935,"filename":"image_15072025_14_04_46_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7441a44f038963140a2aa8fe77a884b.jpg","text":"TemporaryFile(/tmp/multipartBody1693414229456614502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581122935,"filename":"image_15072025_14_04_14_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8106a7a8896f513074e9ca2d8ffd971f.jpg","text":"TemporaryFile(/tmp/multipartBody7289442730021639950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581122935,"filename":"image_15072025_14_03_52_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179481","file1":"1372179470","file0":"1372179467","file4":"1372179576","file3":"1372179529"},"map_files_photo_id_array":[{"photo_id":"1372179481","filename":"file2"},{"photo_id":"1372179576","filename":"file4"},{"photo_id":"1372179470","filename":"file1"},{"photo_id":"1372179467","filename":"file0"},{"photo_id":"1372179529","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179481":["hashtag1","hashtag2"]},{"1372179529":["hashtag1","hashtag2"]},{"1372179576":["hashtag1","hashtag2"]},{"1372179470":["hashtag1","hashtag2"]},{"1372179467":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179481, 1372179529, 1372179576, 1372179470, 1372179467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.31688857078552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:05:21.921823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_53_3685.jpg', '/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_17_3714.jpg', '/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_28_2663.jpg', '/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_37_2616.jpg', '/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_46_2736.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/04/image_15072025_14_04_53_3685.jpg
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_17_3714.jpg
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_28_2663.jpg
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_37_2616.jpg
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_46_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179688","1372179679","1372179658","1372179626","1372179685"],"photo_ids_order":["1372179626","1372179658","1372179679","1372179685","1372179688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f53e248b9cf90c1e15546ef40565ba15.jpg","text":"TemporaryFile(/tmp/multipartBody2153595056395063680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581183012,"filename":"image_15072025_14_05_46_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da8065d5dfbea9a03d357efd1ad91a0e.jpg","text":"TemporaryFile(/tmp/multipartBody145351977733367483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581183012,"filename":"image_15072025_14_05_28_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/524e508eaa63b275b300df3f0f11e324.jpg","text":"TemporaryFile(/tmp/multipartBody1814966831497801440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581183012,"filename":"image_15072025_14_05_17_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f617c3e6756cc183211088885e546eb.jpg","text":"TemporaryFile(/tmp/multipartBody6611725903648163531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581183012,"filename":"image_15072025_14_04_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/7/15/b029ff59f8055bdbf37e8758140c2228.jpg","text":"TemporaryFile(/tmp/multipartBody436293935658317211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581183012,"filename":"image_15072025_14_05_37_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179679","file1":"1372179658","file0":"1372179626","file4":"1372179688","file3":"1372179685"},"map_files_photo_id_array":[{"photo_id":"1372179679","filename":"file2"},{"photo_id":"1372179688","filename":"file4"},{"photo_id":"1372179658","filename":"file1"},{"photo_id":"1372179626","filename":"file0"},{"photo_id":"1372179685","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179688":["hashtag1","hashtag2"]},{"1372179679":["hashtag1","hashtag2"]},{"1372179658":["hashtag1","hashtag2"]},{"1372179626":["hashtag1","hashtag2"]},{"1372179685":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179688, 1372179679, 1372179658, 1372179626, 1372179685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.35824227333069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:06:22.566097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_53_3589.jpg', '/home/pi/Desktop/images/15072025/14/05/image_15072025_14_06_01_3533.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_04_2605.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_07_2642.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_13_2802.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_19_2680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_05_53_3589.jpg
/home/pi/Desktop/images/15072025/14/05/image_15072025_14_06_01_3533.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_04_2605.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_07_2642.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_13_2802.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_19_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179772","1372179766","1372179769","1372179762","1372179765","1372179774"],"photo_ids_order":["1372179762","1372179765","1372179766","1372179769","1372179772","1372179774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b1893db8f617f0ce02c5c83435aadc5.jpg","text":"TemporaryFile(/tmp/multipartBody3234880920400377490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_06_13_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a53e9e9d1073f4064aaa925982d9195.jpg","text":"TemporaryFile(/tmp/multipartBody3757840953763767380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_06_04_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/779e05804653ff32f9f65c02e14f09b1.jpg","text":"TemporaryFile(/tmp/multipartBody7943467831068715970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_06_07_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b682d3bb758a2703fcddc6229ddeb5be.jpg","text":"TemporaryFile(/tmp/multipartBody1354741847635334185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_05_53_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c5b87df77a074a1c594e1ae7744d795.jpg","text":"TemporaryFile(/tmp/multipartBody8824133601991717834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_06_01_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e71f805f69d5da66d93a54ca361d3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7031145589048227767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581243699,"filename":"image_15072025_14_06_19_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179766","file1":"1372179765","file0":"1372179762","file4":"1372179772","file5":"1372179774","file3":"1372179769"},"map_files_photo_id_array":[{"photo_id":"1372179774","filename":"file5"},{"photo_id":"1372179766","filename":"file2"},{"photo_id":"1372179772","filename":"file4"},{"photo_id":"1372179765","filename":"file1"},{"photo_id":"1372179762","filename":"file0"},{"photo_id":"1372179769","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179772":["hashtag1","hashtag2"]},{"1372179766":["hashtag1","hashtag2"]},{"1372179769":["hashtag1","hashtag2"]},{"1372179762":["hashtag1","hashtag2"]},{"1372179765":["hashtag1","hashtag2"]},{"1372179774":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179772, 1372179766, 1372179769, 1372179762, 1372179765, 1372179774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.422242164611816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:07:21.993471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_22_3517.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_25_2626.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_28_3728.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_43_2597.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_52_2647.jpg', '/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_55_3664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_22_3517.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_25_2626.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_28_3728.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_43_2597.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_52_2647.jpg
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_55_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179789","1372179792","1372179801","1372179794","1372179797","1372179784"],"photo_ids_order":["1372179784","1372179789","1372179792","1372179794","1372179797","1372179801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9535b44bb55794acbde0d00b83f358c7.jpg","text":"TemporaryFile(/tmp/multipartBody4099950882673806759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_25_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f442ffaba9a2c75bdb909f24eeafb3da.jpg","text":"TemporaryFile(/tmp/multipartBody7244303076795675065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_28_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95430e3fdceae2ffda8c5168f580f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8437043658332497372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_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/7/15/72420b17e9b0d85afa0ee65ec8effae8.jpg","text":"TemporaryFile(/tmp/multipartBody5429403903189609604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_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/7/15/4c0e52d9ddf0fd7eaeb7abfa520306f6.jpg","text":"TemporaryFile(/tmp/multipartBody2980182156841875179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_52_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd002511f16086e3d5869d25ea7574fc.jpg","text":"TemporaryFile(/tmp/multipartBody6498765796653010572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581303138,"filename":"image_15072025_14_06_22_3517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179792","file1":"1372179789","file0":"1372179784","file4":"1372179797","file5":"1372179801","file3":"1372179794"},"map_files_photo_id_array":[{"photo_id":"1372179801","filename":"file5"},{"photo_id":"1372179792","filename":"file2"},{"photo_id":"1372179797","filename":"file4"},{"photo_id":"1372179789","filename":"file1"},{"photo_id":"1372179784","filename":"file0"},{"photo_id":"1372179794","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179789":["hashtag1","hashtag2"]},{"1372179792":["hashtag1","hashtag2"]},{"1372179801":["hashtag1","hashtag2"]},{"1372179794":["hashtag1","hashtag2"]},{"1372179797":["hashtag1","hashtag2"]},{"1372179784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179789, 1372179792, 1372179801, 1372179794, 1372179797, 1372179784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.75368905067444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:08:22.424257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_58_2795.jpg', '/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_01_2640.jpg', '/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_10_2712.jpg', '/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_13_2828.jpg', '/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_19_3605.jpg', '/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_25_3572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/06/image_15072025_14_06_58_2795.jpg
/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_01_2640.jpg
/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_10_2712.jpg
/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_13_2828.jpg
/home/pi/Desktop/images/15072025/14/07/image_15072025_14_07_19_3605.jpg
/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_25_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179832","1372179843","1372179846","1372179837","1372179824","1372179827"],"photo_ids_order":["1372179824","1372179827","1372179832","1372179837","1372179843","1372179846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab3799a7e1cc38f11b8cfa1fce8722ce.jpg","text":"TemporaryFile(/tmp/multipartBody4382893924498285427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_07_10_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/843b3ca1597cb71e45d47eb0a5ea2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8279506039126504900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_07_19_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/49bac6da298eb1db005a746c926600c4.jpg","text":"TemporaryFile(/tmp/multipartBody4519246694773388660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_08_25_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80f07040d67f69771345b064fee6f655.jpg","text":"TemporaryFile(/tmp/multipartBody4850246387490191737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_07_13_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8dd6d46a64d995c08609ea5c955cfc05.jpg","text":"TemporaryFile(/tmp/multipartBody9171460573656998620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_06_58_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12537ef8252263c91914f3dc2a598b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3564244993958070469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581363612,"filename":"image_15072025_14_07_01_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179832","file1":"1372179827","file0":"1372179824","file4":"1372179843","file5":"1372179846","file3":"1372179837"},"map_files_photo_id_array":[{"photo_id":"1372179846","filename":"file5"},{"photo_id":"1372179832","filename":"file2"},{"photo_id":"1372179843","filename":"file4"},{"photo_id":"1372179827","filename":"file1"},{"photo_id":"1372179824","filename":"file0"},{"photo_id":"1372179837","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179832":["hashtag1","hashtag2"]},{"1372179843":["hashtag1","hashtag2"]},{"1372179846":["hashtag1","hashtag2"]},{"1372179837":["hashtag1","hashtag2"]},{"1372179824":["hashtag1","hashtag2"]},{"1372179827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179832, 1372179843, 1372179846, 1372179837, 1372179824, 1372179827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.140350580215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:09:22.619067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_28_2651.jpg', '/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_37_2613.jpg', '/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_22_3709.jpg', '/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_31_3717.jpg', '/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_42_2604.jpg', '/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_55_3681.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_28_2651.jpg
/home/pi/Desktop/images/15072025/14/08/image_15072025_14_08_37_2613.jpg
/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_22_3709.jpg
/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_31_3717.jpg
/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_42_2604.jpg
/home/pi/Desktop/images/15072025/14/09/image_15072025_14_09_55_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179859","1372179856","1372179870","1372179867","1372179872","1372179863"],"photo_ids_order":["1372179856","1372179859","1372179863","1372179867","1372179870","1372179872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/83ff8e306f811169b921f4aa795063a9.jpg","text":"TemporaryFile(/tmp/multipartBody2425863497851434908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_08_37_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/337d739ec52e9b93a522af75cd40b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5045909627277186090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_08_28_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f545f6bfbe0691d19b4947a9d4bc1760.jpg","text":"TemporaryFile(/tmp/multipartBody5425974845202063108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_09_42_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5097160ad440a9f21cf6e9553d2dd9db.jpg","text":"TemporaryFile(/tmp/multipartBody2315507433151826388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_09_31_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/203e4bc83bbc95795b9a9974961125d4.jpg","text":"TemporaryFile(/tmp/multipartBody8248419229965971522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_09_55_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b873b3f742c594a9e62842b537433b0.jpg","text":"TemporaryFile(/tmp/multipartBody6218900173275857519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581423773,"filename":"image_15072025_14_09_22_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179863","file1":"1372179859","file0":"1372179856","file4":"1372179870","file5":"1372179872","file3":"1372179867"},"map_files_photo_id_array":[{"photo_id":"1372179872","filename":"file5"},{"photo_id":"1372179863","filename":"file2"},{"photo_id":"1372179870","filename":"file4"},{"photo_id":"1372179859","filename":"file1"},{"photo_id":"1372179856","filename":"file0"},{"photo_id":"1372179867","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179859":["hashtag1","hashtag2"]},{"1372179856":["hashtag1","hashtag2"]},{"1372179870":["hashtag1","hashtag2"]},{"1372179867":["hashtag1","hashtag2"]},{"1372179872":["hashtag1","hashtag2"]},{"1372179863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179859, 1372179856, 1372179870, 1372179867, 1372179872, 1372179863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.65363812446594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:10:21.990389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/09/image_15072025_14_10_01_2716.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_04_3700.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_09_2555.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_13_3621.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_16_2685.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_22_3736.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/09/image_15072025_14_10_01_2716.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_04_3700.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_09_2555.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_13_3621.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_16_2685.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_22_3736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179902","1372179892","1372179888","1372179882","1372179914","1372179898"],"photo_ids_order":["1372179882","1372179888","1372179892","1372179898","1372179902","1372179914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e14e523aa74e9d6acff232f0dcaf86c.jpg","text":"TemporaryFile(/tmp/multipartBody7101444588311387415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_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/7/15/93723f05a107dca0c27d7029c5218c80.jpg","text":"TemporaryFile(/tmp/multipartBody6901973134751501579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_10_09_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2ad1140ba4ee15cf36f4e89f1270e72.jpg","text":"TemporaryFile(/tmp/multipartBody2542504078928278503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_10_04_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ed3bc6dd61ab5303f0728807750af93.jpg","text":"TemporaryFile(/tmp/multipartBody4187109830426567129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_10_01_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7fca254e0fec0f9d54993b1bbe6bce32.jpg","text":"TemporaryFile(/tmp/multipartBody4451165978407169510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_10_22_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3dce429ef3d7b194a7ec4b0f5e2f81c8.jpg","text":"TemporaryFile(/tmp/multipartBody7817083292813816825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581483135,"filename":"image_15072025_14_10_13_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179892","file1":"1372179888","file0":"1372179882","file4":"1372179902","file5":"1372179914","file3":"1372179898"},"map_files_photo_id_array":[{"photo_id":"1372179914","filename":"file5"},{"photo_id":"1372179892","filename":"file2"},{"photo_id":"1372179902","filename":"file4"},{"photo_id":"1372179888","filename":"file1"},{"photo_id":"1372179882","filename":"file0"},{"photo_id":"1372179898","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179902":["hashtag1","hashtag2"]},{"1372179892":["hashtag1","hashtag2"]},{"1372179888":["hashtag1","hashtag2"]},{"1372179882":["hashtag1","hashtag2"]},{"1372179914":["hashtag1","hashtag2"]},{"1372179898":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179902, 1372179892, 1372179888, 1372179882, 1372179914, 1372179898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.98576021194458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:11:22.232900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_25_2691.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_28_2664.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_37_2572.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_39_2736.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_42_2850.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_49_3741.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_25_2691.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_28_2664.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_37_2572.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_39_2736.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_42_2850.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_49_3741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179946","1372179940","1372179934","1372179928","1372179943","1372179923"],"photo_ids_order":["1372179923","1372179928","1372179934","1372179940","1372179943","1372179946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38db605bbbb05cd481cfc83fee8e7e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7917766746492795877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_49_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/577b67a52bcfb0f3b51f2de29672a676.jpg","text":"TemporaryFile(/tmp/multipartBody6020810548908692094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_39_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d9effe5145e1baf23e1df67265a70e7.jpg","text":"TemporaryFile(/tmp/multipartBody2523636301773844966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_37_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f37bae03696fac537a26557c4b3b2d07.jpg","text":"TemporaryFile(/tmp/multipartBody2313510701304656800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_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/7/15/b2aff09dcc716fcc497f3a30a08b9fca.jpg","text":"TemporaryFile(/tmp/multipartBody6847044482783587269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_42_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8004c84e3ac2532859f44a51b98387a.jpg","text":"TemporaryFile(/tmp/multipartBody7786179215539044351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581543376,"filename":"image_15072025_14_10_25_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179934","file1":"1372179928","file0":"1372179923","file4":"1372179943","file5":"1372179946","file3":"1372179940"},"map_files_photo_id_array":[{"photo_id":"1372179946","filename":"file5"},{"photo_id":"1372179934","filename":"file2"},{"photo_id":"1372179943","filename":"file4"},{"photo_id":"1372179928","filename":"file1"},{"photo_id":"1372179923","filename":"file0"},{"photo_id":"1372179940","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179946":["hashtag1","hashtag2"]},{"1372179940":["hashtag1","hashtag2"]},{"1372179934":["hashtag1","hashtag2"]},{"1372179928":["hashtag1","hashtag2"]},{"1372179943":["hashtag1","hashtag2"]},{"1372179923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179946, 1372179940, 1372179934, 1372179928, 1372179943, 1372179923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.98824620246887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:12:21.965743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_52_2654.jpg', '/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_58_3710.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_01_2804.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_06_2728.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_19_2681.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_21_2730.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_52_2654.jpg
/home/pi/Desktop/images/15072025/14/10/image_15072025_14_10_58_3710.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_01_2804.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_06_2728.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_19_2681.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_21_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372179979","1372179967","1372179957","1372179972","1372179974","1372179962"],"photo_ids_order":["1372179957","1372179962","1372179967","1372179972","1372179974","1372179979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/afe09bf7d7691579ff0618b1accdb750.jpg","text":"TemporaryFile(/tmp/multipartBody595929000464513838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_11_21_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e63800520c4d184e63935aefea061253.jpg","text":"TemporaryFile(/tmp/multipartBody6228766313621241932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_11_01_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf444a8728ad39c46b5085ab99e9f29c.jpg","text":"TemporaryFile(/tmp/multipartBody7215570179840258564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_10_52_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/44d2ea7a281e6bf2634dcc42ccaff0b0.jpg","text":"TemporaryFile(/tmp/multipartBody9002799374644269151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_11_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/7/15/bdd6b80ead471523c2d1adf3539212ce.jpg","text":"TemporaryFile(/tmp/multipartBody4401700261319086579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_11_19_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9d0b24b8513a40ef9a4580aa53fec28.jpg","text":"TemporaryFile(/tmp/multipartBody3239112845770688189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581603145,"filename":"image_15072025_14_10_58_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372179967","file1":"1372179962","file0":"1372179957","file4":"1372179974","file5":"1372179979","file3":"1372179972"},"map_files_photo_id_array":[{"photo_id":"1372179979","filename":"file5"},{"photo_id":"1372179967","filename":"file2"},{"photo_id":"1372179974","filename":"file4"},{"photo_id":"1372179962","filename":"file1"},{"photo_id":"1372179957","filename":"file0"},{"photo_id":"1372179972","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372179979":["hashtag1","hashtag2"]},{"1372179967":["hashtag1","hashtag2"]},{"1372179957":["hashtag1","hashtag2"]},{"1372179972":["hashtag1","hashtag2"]},{"1372179974":["hashtag1","hashtag2"]},{"1372179962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372179979, 1372179967, 1372179957, 1372179972, 1372179974, 1372179962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70366597175598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:13:22.164218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_24_2764.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_37_3522.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_43_3623.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_48_2763.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_51_2730.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_54_2900.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_24_2764.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_37_3522.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_43_3623.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_48_2763.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_51_2730.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_54_2900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180010","1372180007","1372179992","1372180014","1372180002","1372179997"],"photo_ids_order":["1372179992","1372179997","1372180002","1372180007","1372180010","1372180014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1ea26203bba679a7f5a99c5801faaef5.jpg","text":"TemporaryFile(/tmp/multipartBody1271257271814026163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_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/7/15/8812eb8448d03833d658378338704e65.jpg","text":"TemporaryFile(/tmp/multipartBody3683739189971961961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_48_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdada4e6d90c47d5c0dedeab756f5b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7810024935027579373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_24_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c502662a3c3ef79d5fd3bd0587d60447.jpg","text":"TemporaryFile(/tmp/multipartBody100954494152609144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_54_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7502787118bb10f2127d7adbfb619257.jpg","text":"TemporaryFile(/tmp/multipartBody8704949869907713969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_43_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42f42248674cd41adfe29266b5030e66.jpg","text":"TemporaryFile(/tmp/multipartBody5478542499931885646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581663299,"filename":"image_15072025_14_11_37_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180002","file1":"1372179997","file0":"1372179992","file4":"1372180010","file5":"1372180014","file3":"1372180007"},"map_files_photo_id_array":[{"photo_id":"1372180014","filename":"file5"},{"photo_id":"1372180002","filename":"file2"},{"photo_id":"1372180010","filename":"file4"},{"photo_id":"1372179997","filename":"file1"},{"photo_id":"1372179992","filename":"file0"},{"photo_id":"1372180007","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180010":["hashtag1","hashtag2"]},{"1372180007":["hashtag1","hashtag2"]},{"1372179992":["hashtag1","hashtag2"]},{"1372180014":["hashtag1","hashtag2"]},{"1372180002":["hashtag1","hashtag2"]},{"1372179997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180010, 1372180007, 1372179992, 1372180014, 1372180002, 1372179997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.826624155044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:14:21.976119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_58_3596.jpg', '/home/pi/Desktop/images/15072025/14/11/image_15072025_14_12_00_2748.jpg', '/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_07_3724.jpg', '/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_10_2808.jpg', '/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_19_2854.jpg', '/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_24_2556.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_11_58_3596.jpg
/home/pi/Desktop/images/15072025/14/11/image_15072025_14_12_00_2748.jpg
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_07_3724.jpg
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_10_2808.jpg
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_19_2854.jpg
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_24_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180043","1372180051","1372180032","1372180029","1372180023","1372180040"],"photo_ids_order":["1372180023","1372180029","1372180032","1372180040","1372180043","1372180051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2f2f4d3b9ffbdb73a240c400e8f51e4.jpg","text":"TemporaryFile(/tmp/multipartBody3462406973784623679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_12_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/7/15/1d76bd1441752c16f57055e119e3579b.jpg","text":"TemporaryFile(/tmp/multipartBody1656510232773697789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_12_24_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5453a3a1b528a795322686b93eced818.jpg","text":"TemporaryFile(/tmp/multipartBody7815233574350005211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_12_07_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd98eafa0a53ef987c49ddc1dd1d5524.jpg","text":"TemporaryFile(/tmp/multipartBody6452744738649684581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_12_00_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ecaa0ad1d849211e24152dad79af9433.jpg","text":"TemporaryFile(/tmp/multipartBody9139042763476945021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_11_58_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/44ef6cfeed982587c1809965405aaa47.jpg","text":"TemporaryFile(/tmp/multipartBody8884184668812660431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581723086,"filename":"image_15072025_14_12_10_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180032","file1":"1372180029","file0":"1372180023","file4":"1372180043","file5":"1372180051","file3":"1372180040"},"map_files_photo_id_array":[{"photo_id":"1372180051","filename":"file5"},{"photo_id":"1372180032","filename":"file2"},{"photo_id":"1372180043","filename":"file4"},{"photo_id":"1372180029","filename":"file1"},{"photo_id":"1372180023","filename":"file0"},{"photo_id":"1372180040","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180043":["hashtag1","hashtag2"]},{"1372180051":["hashtag1","hashtag2"]},{"1372180032":["hashtag1","hashtag2"]},{"1372180029":["hashtag1","hashtag2"]},{"1372180023":["hashtag1","hashtag2"]},{"1372180040":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180043, 1372180051, 1372180032, 1372180029, 1372180023, 1372180040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.045740842819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:15:22.384415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_46_3732.jpg', '/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_49_2776.jpg', '/home/pi/Desktop/images/15072025/14/13/image_15072025_14_13_37_2846.jpg', '/home/pi/Desktop/images/15072025/14/13/image_15072025_14_13_54_2601.jpg', '/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_21_2716.jpg', '/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_27_3586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_46_3732.jpg
/home/pi/Desktop/images/15072025/14/12/image_15072025_14_12_49_2776.jpg
/home/pi/Desktop/images/15072025/14/13/image_15072025_14_13_37_2846.jpg
/home/pi/Desktop/images/15072025/14/13/image_15072025_14_13_54_2601.jpg
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_21_2716.jpg
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_27_3586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180070","1372180078","1372180080","1372180065","1372180059","1372180076"],"photo_ids_order":["1372180059","1372180065","1372180070","1372180076","1372180078","1372180080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/24852eb66c38268ac875558b5321e704.jpg","text":"TemporaryFile(/tmp/multipartBody1879998415427437266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_13_37_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b145a83fb94c1ac03e2773697b9dfd9e.jpg","text":"TemporaryFile(/tmp/multipartBody2867747435422264515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_14_21_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d8aa2c296e2272e07ee6e22efdfebb7.jpg","text":"TemporaryFile(/tmp/multipartBody6727200600275943228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_14_27_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dcf86438401f1fc3063e29d4afeb4b23.jpg","text":"TemporaryFile(/tmp/multipartBody2548142441295545873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_12_49_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/975a3869ebaf35bbf8a30630c02ff645.jpg","text":"TemporaryFile(/tmp/multipartBody8323920891362763828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_12_46_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1551b6b30a9f2baec3fd72d8450329da.jpg","text":"TemporaryFile(/tmp/multipartBody7467345982225775574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581783503,"filename":"image_15072025_14_13_54_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180070","file1":"1372180065","file0":"1372180059","file4":"1372180078","file5":"1372180080","file3":"1372180076"},"map_files_photo_id_array":[{"photo_id":"1372180080","filename":"file5"},{"photo_id":"1372180070","filename":"file2"},{"photo_id":"1372180078","filename":"file4"},{"photo_id":"1372180065","filename":"file1"},{"photo_id":"1372180059","filename":"file0"},{"photo_id":"1372180076","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180070":["hashtag1","hashtag2"]},{"1372180078":["hashtag1","hashtag2"]},{"1372180080":["hashtag1","hashtag2"]},{"1372180065":["hashtag1","hashtag2"]},{"1372180059":["hashtag1","hashtag2"]},{"1372180076":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180070, 1372180078, 1372180080, 1372180065, 1372180059, 1372180076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.948606967926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:16:22.138060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_30_2818.jpg', '/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_33_2684.jpg', '/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_39_2745.jpg', '/home/pi/Desktop/images/15072025/14/14/image_15072025_14_15_00_2656.jpg', '/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_06_2802.jpg', '/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_15_2565.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_30_2818.jpg
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_33_2684.jpg
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_14_39_2745.jpg
/home/pi/Desktop/images/15072025/14/14/image_15072025_14_15_00_2656.jpg
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_06_2802.jpg
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_15_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180103","1372180106","1372180096","1372180117","1372180092","1372180088"],"photo_ids_order":["1372180088","1372180092","1372180096","1372180103","1372180106","1372180117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f678af2d9c3a372d05e14c369638456d.jpg","text":"TemporaryFile(/tmp/multipartBody4532828806437333890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_15_00_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b2b82ae9e84edf12bca43d9e2600a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody6190650054622987854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_15_06_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a396f6b9a522da0b90aa16adc1dd887.jpg","text":"TemporaryFile(/tmp/multipartBody4036332313893113308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_14_39_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f538cf4a606dfdfd0ec6f9771f73b80.jpg","text":"TemporaryFile(/tmp/multipartBody5475216250533841245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_15_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/7/15/0dd633601978568229f979ac03866d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3811586807255313361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_14_33_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/737022dbe4737d18cf2046da1fd20248.jpg","text":"TemporaryFile(/tmp/multipartBody5073614348708150958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581843301,"filename":"image_15072025_14_14_30_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180096","file1":"1372180092","file0":"1372180088","file4":"1372180106","file5":"1372180117","file3":"1372180103"},"map_files_photo_id_array":[{"photo_id":"1372180117","filename":"file5"},{"photo_id":"1372180096","filename":"file2"},{"photo_id":"1372180106","filename":"file4"},{"photo_id":"1372180092","filename":"file1"},{"photo_id":"1372180088","filename":"file0"},{"photo_id":"1372180103","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180103":["hashtag1","hashtag2"]},{"1372180106":["hashtag1","hashtag2"]},{"1372180096":["hashtag1","hashtag2"]},{"1372180117":["hashtag1","hashtag2"]},{"1372180092":["hashtag1","hashtag2"]},{"1372180088":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180103, 1372180106, 1372180096, 1372180117, 1372180092, 1372180088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.824191093444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:17:22.162514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_27_2826.jpg', '/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_33_2505.jpg', '/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_36_2741.jpg', '/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_51_2591.jpg', '/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_36_2536.jpg', '/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_54_2652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_27_2826.jpg
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_33_2505.jpg
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_36_2741.jpg
/home/pi/Desktop/images/15072025/14/15/image_15072025_14_15_51_2591.jpg
/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_36_2536.jpg
/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_54_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180136","1372180145","1372180141","1372180134","1372180128","1372180148"],"photo_ids_order":["1372180128","1372180134","1372180136","1372180141","1372180145","1372180148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61ffac914d40d33a555d15a18b1e0267.jpg","text":"TemporaryFile(/tmp/multipartBody4364568383691271679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_15_36_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f6be3cb2da6617df26b48f2e707f2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1645907385763069702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_16_36_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac64c8236a142dea1834a13da51585fd.jpg","text":"TemporaryFile(/tmp/multipartBody3099799211986422177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_15_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/7/15/3262e6b9c393dcdffebae4ec0df7f300.jpg","text":"TemporaryFile(/tmp/multipartBody1875789944492535345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_15_33_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5706b820fa608a399c1f7bcc0cbd6f77.jpg","text":"TemporaryFile(/tmp/multipartBody3287893219323871832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_15_27_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1f709696a9af55c94e0572a622285fd.jpg","text":"TemporaryFile(/tmp/multipartBody4679383146495034547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581903287,"filename":"image_15072025_14_16_54_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180136","file1":"1372180134","file0":"1372180128","file4":"1372180145","file5":"1372180148","file3":"1372180141"},"map_files_photo_id_array":[{"photo_id":"1372180148","filename":"file5"},{"photo_id":"1372180136","filename":"file2"},{"photo_id":"1372180145","filename":"file4"},{"photo_id":"1372180134","filename":"file1"},{"photo_id":"1372180128","filename":"file0"},{"photo_id":"1372180141","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180136":["hashtag1","hashtag2"]},{"1372180145":["hashtag1","hashtag2"]},{"1372180141":["hashtag1","hashtag2"]},{"1372180134":["hashtag1","hashtag2"]},{"1372180128":["hashtag1","hashtag2"]},{"1372180148":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180136, 1372180145, 1372180141, 1372180134, 1372180128, 1372180148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.23883080482483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:18:21.910704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_57_2870.jpg', '/home/pi/Desktop/images/15072025/14/16/image_15072025_14_17_00_3579.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_03_2704.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_06_3569.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_12_2551.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_15_3663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/16/image_15072025_14_16_57_2870.jpg
/home/pi/Desktop/images/15072025/14/16/image_15072025_14_17_00_3579.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_03_2704.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_06_3569.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_12_2551.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_15_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180186","1372180165","1372180168","1372180172","1372180175","1372180160"],"photo_ids_order":["1372180160","1372180165","1372180168","1372180172","1372180175","1372180186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b14b2293d6cadd57616612af92e599e.jpg","text":"TemporaryFile(/tmp/multipartBody7663813669371135996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_17_15_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10b3a5ac3662cd92f7ecb4a93c188034.jpg","text":"TemporaryFile(/tmp/multipartBody8551040249955976540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_17_00_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/56c8d72d812527adf0553a3484546978.jpg","text":"TemporaryFile(/tmp/multipartBody5471363839962889719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_17_03_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2bdf391ccede0db75aec4ac00c0689a2.jpg","text":"TemporaryFile(/tmp/multipartBody8357312349946982887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_17_06_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b14c348bbac8d7734254cfac457b004.jpg","text":"TemporaryFile(/tmp/multipartBody4837920387566229215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_17_12_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84e94dc1cc0589e52a6304d6f76c658f.jpg","text":"TemporaryFile(/tmp/multipartBody4979425221019940578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752581963055,"filename":"image_15072025_14_16_57_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180168","file1":"1372180165","file0":"1372180160","file4":"1372180175","file5":"1372180186","file3":"1372180172"},"map_files_photo_id_array":[{"photo_id":"1372180186","filename":"file5"},{"photo_id":"1372180168","filename":"file2"},{"photo_id":"1372180175","filename":"file4"},{"photo_id":"1372180165","filename":"file1"},{"photo_id":"1372180160","filename":"file0"},{"photo_id":"1372180172","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180186":["hashtag1","hashtag2"]},{"1372180165":["hashtag1","hashtag2"]},{"1372180168":["hashtag1","hashtag2"]},{"1372180172":["hashtag1","hashtag2"]},{"1372180175":["hashtag1","hashtag2"]},{"1372180160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180186, 1372180165, 1372180168, 1372180172, 1372180175, 1372180160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.502983808517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:19:22.312624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_18_2684.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_21_2656.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_24_3596.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_30_3555.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_33_2678.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_39_2712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_18_2684.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_21_2656.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_24_3596.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_30_3555.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_33_2678.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_39_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180219","1372180230","1372180212","1372180215","1372180209","1372180203"],"photo_ids_order":["1372180203","1372180209","1372180212","1372180215","1372180219","1372180230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/473c822e72af64f55a5008b3103576f7.jpg","text":"TemporaryFile(/tmp/multipartBody4561451692996835722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_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/7/15/c1b666285d05577d503fda7e426f1470.jpg","text":"TemporaryFile(/tmp/multipartBody1761952038883598384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_39_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fc3febef1a0fc1a4076626fddbc07ac.jpg","text":"TemporaryFile(/tmp/multipartBody3369227306666806589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_24_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1296014ae35274477b036900978023ff.jpg","text":"TemporaryFile(/tmp/multipartBody1499873145227517737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_30_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc88c132dd0b50a4a64099593a626534.jpg","text":"TemporaryFile(/tmp/multipartBody3967621012494990692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_21_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8aa5b0fd55d9bc0729925ee6f8b861ee.jpg","text":"TemporaryFile(/tmp/multipartBody8446837942728973992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582023484,"filename":"image_15072025_14_17_18_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180212","file1":"1372180209","file0":"1372180203","file4":"1372180219","file5":"1372180230","file3":"1372180215"},"map_files_photo_id_array":[{"photo_id":"1372180230","filename":"file5"},{"photo_id":"1372180212","filename":"file2"},{"photo_id":"1372180219","filename":"file4"},{"photo_id":"1372180209","filename":"file1"},{"photo_id":"1372180203","filename":"file0"},{"photo_id":"1372180215","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180219":["hashtag1","hashtag2"]},{"1372180230":["hashtag1","hashtag2"]},{"1372180212":["hashtag1","hashtag2"]},{"1372180215":["hashtag1","hashtag2"]},{"1372180209":["hashtag1","hashtag2"]},{"1372180203":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180219, 1372180230, 1372180212, 1372180215, 1372180209, 1372180203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.75816106796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:20:22.385464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_42_3629.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_48_2563.jpg', '/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_54_2803.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_03_3653.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_12_3779.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_15_2646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_42_3629.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_48_2563.jpg
/home/pi/Desktop/images/15072025/14/17/image_15072025_14_17_54_2803.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_03_3653.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_12_3779.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_15_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180285","1372180279","1372180267","1372180293","1372180272","1372180274"],"photo_ids_order":["1372180267","1372180272","1372180274","1372180279","1372180285","1372180293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdc56eccb7eaa781d24dec0239af4e4b.jpg","text":"TemporaryFile(/tmp/multipartBody1127974256845836414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_18_12_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d3ed9a28d5978a3e698ba55500ef043.jpg","text":"TemporaryFile(/tmp/multipartBody8280633552838873141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_18_03_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e4ef9330542b1c76778562630935208.jpg","text":"TemporaryFile(/tmp/multipartBody6195983710895092497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_17_42_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72cfdb62c7ab7f9f2dda24129cec9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8649624006426190719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_18_15_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c78139a0f0b3bcabe1ad1d25c8a19912.jpg","text":"TemporaryFile(/tmp/multipartBody1084046575684086610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_17_48_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/551a90bcf2f654c4708412dc7e6e14a7.jpg","text":"TemporaryFile(/tmp/multipartBody1959803163390895248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582083559,"filename":"image_15072025_14_17_54_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180274","file1":"1372180272","file0":"1372180267","file4":"1372180285","file5":"1372180293","file3":"1372180279"},"map_files_photo_id_array":[{"photo_id":"1372180293","filename":"file5"},{"photo_id":"1372180274","filename":"file2"},{"photo_id":"1372180285","filename":"file4"},{"photo_id":"1372180272","filename":"file1"},{"photo_id":"1372180267","filename":"file0"},{"photo_id":"1372180279","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180285":["hashtag1","hashtag2"]},{"1372180279":["hashtag1","hashtag2"]},{"1372180267":["hashtag1","hashtag2"]},{"1372180293":["hashtag1","hashtag2"]},{"1372180272":["hashtag1","hashtag2"]},{"1372180274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180285, 1372180279, 1372180267, 1372180293, 1372180272, 1372180274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.17256236076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:21:22.598491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_21_3801.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_27_2756.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_30_3570.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_33_2562.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_36_2798.jpg', '/home/pi/Desktop/images/15072025/14/18/image_15072025_14_19_00_3612.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_21_3801.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_27_2756.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_30_3570.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_33_2562.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_18_36_2798.jpg
/home/pi/Desktop/images/15072025/14/18/image_15072025_14_19_00_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180313","1372180310","1372180324","1372180321","1372180318","1372180305"],"photo_ids_order":["1372180305","1372180310","1372180313","1372180318","1372180321","1372180324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f5075d4fde829ad5b7eb8c746c8da9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8186720945375068187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_18_30_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be938100080684fe7ca04d28daa70fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7326283487355262780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_18_27_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e71bd881ebf2b3e5824f79cb1a36b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4477511156449627234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_19_00_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d6222b5756948cb113160a0c2a1815c.jpg","text":"TemporaryFile(/tmp/multipartBody3292642295386759654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_18_36_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/512458a280b2105e19265a5b51538e33.jpg","text":"TemporaryFile(/tmp/multipartBody1320581542869907289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_18_33_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8b8b1993583791931015f625d9f004f.jpg","text":"TemporaryFile(/tmp/multipartBody6912576151985492145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582143747,"filename":"image_15072025_14_18_21_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180313","file1":"1372180310","file0":"1372180305","file4":"1372180321","file5":"1372180324","file3":"1372180318"},"map_files_photo_id_array":[{"photo_id":"1372180324","filename":"file5"},{"photo_id":"1372180313","filename":"file2"},{"photo_id":"1372180321","filename":"file4"},{"photo_id":"1372180310","filename":"file1"},{"photo_id":"1372180305","filename":"file0"},{"photo_id":"1372180318","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180313":["hashtag1","hashtag2"]},{"1372180310":["hashtag1","hashtag2"]},{"1372180324":["hashtag1","hashtag2"]},{"1372180321":["hashtag1","hashtag2"]},{"1372180318":["hashtag1","hashtag2"]},{"1372180305":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180313, 1372180310, 1372180324, 1372180321, 1372180318, 1372180305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.70259189605713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:22:22.359991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_15_2664.jpg', '/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_18_2934.jpg', '/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_45_2759.jpg', '/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_48_3652.jpg', '/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_51_2654.jpg', '/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_54_2691.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_15_2664.jpg
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_18_2934.jpg
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_45_2759.jpg
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_48_3652.jpg
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_51_2654.jpg
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_19_54_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180360","1372180342","1372180345","1372180348","1372180353","1372180338"],"photo_ids_order":["1372180338","1372180342","1372180345","1372180348","1372180353","1372180360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ebdccd1db283aa4c48e28394e845e439.jpg","text":"TemporaryFile(/tmp/multipartBody1904788779381148413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_54_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/364b5fcb6e94e7ff6c5f4a6d2217af8a.jpg","text":"TemporaryFile(/tmp/multipartBody6586156777794581146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_18_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f58dffd5e5732af88026e54c816ce0f9.jpg","text":"TemporaryFile(/tmp/multipartBody5851116511038100200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_45_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/537f390903d327fe12d17d038d56df50.jpg","text":"TemporaryFile(/tmp/multipartBody7572879930339986763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_48_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23f540ed6f9ef2f30d6e26f4663a15e5.jpg","text":"TemporaryFile(/tmp/multipartBody11234235279646970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_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/7/15/3fe7890ee5f5d231106648f1b13f3a80.jpg","text":"TemporaryFile(/tmp/multipartBody3792654416480932896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582203504,"filename":"image_15072025_14_19_15_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180345","file1":"1372180342","file0":"1372180338","file4":"1372180353","file5":"1372180360","file3":"1372180348"},"map_files_photo_id_array":[{"photo_id":"1372180360","filename":"file5"},{"photo_id":"1372180345","filename":"file2"},{"photo_id":"1372180353","filename":"file4"},{"photo_id":"1372180342","filename":"file1"},{"photo_id":"1372180338","filename":"file0"},{"photo_id":"1372180348","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180360":["hashtag1","hashtag2"]},{"1372180342":["hashtag1","hashtag2"]},{"1372180345":["hashtag1","hashtag2"]},{"1372180348":["hashtag1","hashtag2"]},{"1372180353":["hashtag1","hashtag2"]},{"1372180338":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180360, 1372180342, 1372180345, 1372180348, 1372180353, 1372180338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.774592876434326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:23:22.729752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/19/image_15072025_14_20_00_3593.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_12_3624.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_15_2709.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_17_2580.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_21_3610.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_26_2678.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/19/image_15072025_14_20_00_3593.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_12_3624.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_15_2709.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_17_2580.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_21_3610.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_26_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180378","1372180372","1372180383","1372180392","1372180395","1372180388"],"photo_ids_order":["1372180372","1372180378","1372180383","1372180388","1372180392","1372180395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6a996b1b4ea357ffb651f724d136a02.jpg","text":"TemporaryFile(/tmp/multipartBody423434268780847894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_12_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab2c3171205bc0133fd20a65738f64ca.jpg","text":"TemporaryFile(/tmp/multipartBody8191374595407230575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_00_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0673b826bad84d36c878cf7c82bb9b11.jpg","text":"TemporaryFile(/tmp/multipartBody7957044334956777720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_15_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2de260e028b12b52615fcb52fc5b9c32.jpg","text":"TemporaryFile(/tmp/multipartBody6647045206242762909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_21_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6566e33e8e9522d9947f1e7fec9c5dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5708654087843168303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_26_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/893a7b995e99fdf3836bc9b7a5338266.jpg","text":"TemporaryFile(/tmp/multipartBody7546697778608218218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582263867,"filename":"image_15072025_14_20_17_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180383","file1":"1372180378","file0":"1372180372","file4":"1372180392","file5":"1372180395","file3":"1372180388"},"map_files_photo_id_array":[{"photo_id":"1372180395","filename":"file5"},{"photo_id":"1372180383","filename":"file2"},{"photo_id":"1372180392","filename":"file4"},{"photo_id":"1372180378","filename":"file1"},{"photo_id":"1372180372","filename":"file0"},{"photo_id":"1372180388","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180378":["hashtag1","hashtag2"]},{"1372180372":["hashtag1","hashtag2"]},{"1372180383":["hashtag1","hashtag2"]},{"1372180392":["hashtag1","hashtag2"]},{"1372180395":["hashtag1","hashtag2"]},{"1372180388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180378, 1372180372, 1372180383, 1372180392, 1372180395, 1372180388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.85160517692566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:24:22.694807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_30_3551.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_32_2640.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_39_2698.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_51_2796.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_53_2602.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_57_3661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_30_3551.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_32_2640.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_39_2698.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_51_2796.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_53_2602.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_57_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7305445671081543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:24:42.817716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_30_3551.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_32_2640.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_39_2698.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_51_2796.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_53_2602.jpg', '/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_57_3661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_30_3551.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_32_2640.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_39_2698.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_51_2796.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_53_2602.jpg
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_20_57_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180435","1372180417","1372180443","1372180422","1372180431","1372180439"],"photo_ids_order":["1372180417","1372180422","1372180431","1372180435","1372180439","1372180443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9ff2424b557eebd5601fd1508fe80cea.jpg","text":"TemporaryFile(/tmp/multipartBody6623668824698390332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_51_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3713f7bd26e6e4e38ce7aa6e98854361.jpg","text":"TemporaryFile(/tmp/multipartBody926195453093448503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_30_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba69019a9cd59f5279d2e6d1a4ce4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6517888555207476942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_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/7/15/01c109c5de67567c9bc9712c3a8b2941.jpg","text":"TemporaryFile(/tmp/multipartBody230792708230920341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_32_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b4f53fe70bb7a60720c211fa6583613.jpg","text":"TemporaryFile(/tmp/multipartBody4331032424341788651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_39_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c9b17e390583de6265521b5491528af.jpg","text":"TemporaryFile(/tmp/multipartBody83146522721254456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582343953,"filename":"image_15072025_14_20_53_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180431","file1":"1372180422","file0":"1372180417","file4":"1372180439","file5":"1372180443","file3":"1372180435"},"map_files_photo_id_array":[{"photo_id":"1372180443","filename":"file5"},{"photo_id":"1372180431","filename":"file2"},{"photo_id":"1372180439","filename":"file4"},{"photo_id":"1372180422","filename":"file1"},{"photo_id":"1372180417","filename":"file0"},{"photo_id":"1372180435","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180435":["hashtag1","hashtag2"]},{"1372180417":["hashtag1","hashtag2"]},{"1372180443":["hashtag1","hashtag2"]},{"1372180422":["hashtag1","hashtag2"]},{"1372180431":["hashtag1","hashtag2"]},{"1372180439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180435, 1372180417, 1372180443, 1372180422, 1372180431, 1372180439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.796478509902954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:25:42.393072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/20/image_15072025_14_21_00_2733.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_02_2623.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_06_3763.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_18_2758.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_23_2538.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_27_3700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/20/image_15072025_14_21_00_2733.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_02_2623.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_06_3763.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_18_2758.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_23_2538.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_27_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180469","1372180460","1372180454","1372180456","1372180465","1372180452"],"photo_ids_order":["1372180452","1372180454","1372180456","1372180460","1372180465","1372180469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8c83ffbf8991d08f5800a94ebfa68e3a.jpg","text":"TemporaryFile(/tmp/multipartBody5557800904569200799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_27_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8f4477447619367dd614436968d3644.jpg","text":"TemporaryFile(/tmp/multipartBody4483557309616253834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_18_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f5f08f77a83d2f60c8a8d259694f49d.jpg","text":"TemporaryFile(/tmp/multipartBody4009066172152400215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_02_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/470ab97523bdb21f33f5cefaf3d3da26.jpg","text":"TemporaryFile(/tmp/multipartBody5475861723578257696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_06_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d36c6b7e181fcb44886413f2dc92c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6515146951139736873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_23_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcd725d16448d17308653e018f572778.jpg","text":"TemporaryFile(/tmp/multipartBody1189315374854900593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582403565,"filename":"image_15072025_14_21_00_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180456","file1":"1372180454","file0":"1372180452","file4":"1372180465","file5":"1372180469","file3":"1372180460"},"map_files_photo_id_array":[{"photo_id":"1372180469","filename":"file5"},{"photo_id":"1372180456","filename":"file2"},{"photo_id":"1372180465","filename":"file4"},{"photo_id":"1372180454","filename":"file1"},{"photo_id":"1372180452","filename":"file0"},{"photo_id":"1372180460","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180469":["hashtag1","hashtag2"]},{"1372180460":["hashtag1","hashtag2"]},{"1372180454":["hashtag1","hashtag2"]},{"1372180456":["hashtag1","hashtag2"]},{"1372180465":["hashtag1","hashtag2"]},{"1372180452":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180469, 1372180460, 1372180454, 1372180456, 1372180465, 1372180452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.69923210144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:26:41.962437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_30_2758.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_32_2527.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_36_3574.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_39_2808.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_06_3701.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_33_3618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_30_2758.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_32_2527.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_36_3574.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_39_2808.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_06_3701.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_33_3618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7397475242614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:27:03.199422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_30_2758.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_32_2527.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_36_3574.jpg', '/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_39_2808.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_06_3701.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_33_3618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_30_2758.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_32_2527.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_36_3574.jpg
/home/pi/Desktop/images/15072025/14/21/image_15072025_14_21_39_2808.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_06_3701.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_33_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180511","1372180498","1372180504","1372180507","1372180515","1372180493"],"photo_ids_order":["1372180493","1372180498","1372180504","1372180507","1372180511","1372180515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9034fcb205adf8af9c7946da32b9ced8.jpg","text":"TemporaryFile(/tmp/multipartBody5039882293501268395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_22_06_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1319827cbc08d183760d2691288eef3f.jpg","text":"TemporaryFile(/tmp/multipartBody3221688562527679969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_21_32_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4c8479a08dbbf3c410b01af75a54054.jpg","text":"TemporaryFile(/tmp/multipartBody5219517717117204132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_21_36_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9bc653fc8d5d46fc167833ee2d3d58a8.jpg","text":"TemporaryFile(/tmp/multipartBody2192310267889025942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_21_39_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57aaba14640b1d641baa31d0afab0516.jpg","text":"TemporaryFile(/tmp/multipartBody3893476988311498133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_22_33_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a117357ffa5527907965f7bf3e97fab6.jpg","text":"TemporaryFile(/tmp/multipartBody1198651941648781334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582484468,"filename":"image_15072025_14_21_30_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180504","file1":"1372180498","file0":"1372180493","file4":"1372180511","file5":"1372180515","file3":"1372180507"},"map_files_photo_id_array":[{"photo_id":"1372180515","filename":"file5"},{"photo_id":"1372180504","filename":"file2"},{"photo_id":"1372180511","filename":"file4"},{"photo_id":"1372180498","filename":"file1"},{"photo_id":"1372180493","filename":"file0"},{"photo_id":"1372180507","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180511":["hashtag1","hashtag2"]},{"1372180498":["hashtag1","hashtag2"]},{"1372180504":["hashtag1","hashtag2"]},{"1372180507":["hashtag1","hashtag2"]},{"1372180515":["hashtag1","hashtag2"]},{"1372180493":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180511, 1372180498, 1372180504, 1372180507, 1372180515, 1372180493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.13323163986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:28:02.894627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_38_2878.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_42_3740.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_45_2757.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_56_2621.jpg', '/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_59_2685.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_03_3776.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_38_2878.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_42_3740.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_45_2757.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_56_2621.jpg
/home/pi/Desktop/images/15072025/14/22/image_15072025_14_22_59_2685.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_03_3776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180526","1372180535","1372180545","1372180542","1372180530","1372180538"],"photo_ids_order":["1372180526","1372180530","1372180535","1372180538","1372180542","1372180545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12ba98030e6ba1cdfb2fcaa6cebc950d.jpg","text":"TemporaryFile(/tmp/multipartBody6486073942862365801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_22_38_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3753f6a6c5411067735fe817c280170d.jpg","text":"TemporaryFile(/tmp/multipartBody5974651609852360092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_22_45_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e2320e16d4d11d272b34d0230baeffb4.jpg","text":"TemporaryFile(/tmp/multipartBody7684946092444163583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_23_03_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ff7fe329515c9348a4d034eaf8e80c4.jpg","text":"TemporaryFile(/tmp/multipartBody1264244526286449923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_22_59_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3003e34135ccfeb59f54de00230f3a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8081268830740163813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_22_42_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b59757606f8df4328ee3b58412baa827.jpg","text":"TemporaryFile(/tmp/multipartBody6538638785449792388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582544102,"filename":"image_15072025_14_22_56_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180535","file1":"1372180530","file0":"1372180526","file4":"1372180542","file5":"1372180545","file3":"1372180538"},"map_files_photo_id_array":[{"photo_id":"1372180545","filename":"file5"},{"photo_id":"1372180535","filename":"file2"},{"photo_id":"1372180542","filename":"file4"},{"photo_id":"1372180530","filename":"file1"},{"photo_id":"1372180526","filename":"file0"},{"photo_id":"1372180538","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180526":["hashtag1","hashtag2"]},{"1372180535":["hashtag1","hashtag2"]},{"1372180545":["hashtag1","hashtag2"]},{"1372180542":["hashtag1","hashtag2"]},{"1372180530":["hashtag1","hashtag2"]},{"1372180538":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180526, 1372180535, 1372180545, 1372180542, 1372180530, 1372180538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.5837824344635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:29:03.794746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_08_2697.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_12_3656.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_14_2568.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_17_2673.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_29_2777.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_33_3582.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_08_2697.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_12_3656.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_14_2568.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_17_2673.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_29_2777.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_33_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":["1372180573","1372180561","1372180578","1372180566","1372180557","1372180583"],"photo_ids_order":["1372180557","1372180561","1372180566","1372180573","1372180578","1372180583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe2b51166a48b468aa35ced1359c1f20.jpg","text":"TemporaryFile(/tmp/multipartBody5400562749551649417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_17_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ae5ef3f44b9c44b525812403cb073ea.jpg","text":"TemporaryFile(/tmp/multipartBody8955430977215666279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_12_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de72fdd1a6ae8c848874e29e258c8d20.jpg","text":"TemporaryFile(/tmp/multipartBody5289734952133220837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_29_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccf57b787e9f3be6612cf81f46ed11b3.jpg","text":"TemporaryFile(/tmp/multipartBody5324075177695423453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_14_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bde263d7db4af9220c71f5f6cf63753f.jpg","text":"TemporaryFile(/tmp/multipartBody4609192593462524492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_08_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1cd081ab23b2ddddd997d059851e8413.jpg","text":"TemporaryFile(/tmp/multipartBody1325047591809886384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582605182,"filename":"image_15072025_14_23_33_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180566","file1":"1372180561","file0":"1372180557","file4":"1372180578","file5":"1372180583","file3":"1372180573"},"map_files_photo_id_array":[{"photo_id":"1372180583","filename":"file5"},{"photo_id":"1372180566","filename":"file2"},{"photo_id":"1372180578","filename":"file4"},{"photo_id":"1372180561","filename":"file1"},{"photo_id":"1372180557","filename":"file0"},{"photo_id":"1372180573","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180573":["hashtag1","hashtag2"]},{"1372180561":["hashtag1","hashtag2"]},{"1372180578":["hashtag1","hashtag2"]},{"1372180566":["hashtag1","hashtag2"]},{"1372180557":["hashtag1","hashtag2"]},{"1372180583":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180573, 1372180561, 1372180578, 1372180566, 1372180557, 1372180583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.266520261764526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:30:02.519425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_41_2655.jpg', '/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_48_3630.jpg', '/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_02_2644.jpg', '/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_06_3617.jpg', '/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_27_2902.jpg', '/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_38_2903.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_41_2655.jpg
/home/pi/Desktop/images/15072025/14/23/image_15072025_14_23_48_3630.jpg
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_02_2644.jpg
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_06_3617.jpg
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_27_2902.jpg
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_38_2903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180634","1372180628","1372180624","1372180626","1372180638","1372180643"],"photo_ids_order":["1372180624","1372180626","1372180628","1372180634","1372180638","1372180643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/181f5bd5c8778b90b829ba1c74659ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2663562212409749914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_24_06_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9867ab09fae3e29811d2309626e6dab2.jpg","text":"TemporaryFile(/tmp/multipartBody5514726790899843876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_24_02_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6c232fcfa2a5916a0f0d57066ec348e.jpg","text":"TemporaryFile(/tmp/multipartBody1230001592787118139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_23_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e1cd7066e3b073cf7ed17c17605faa6.jpg","text":"TemporaryFile(/tmp/multipartBody7371023563629187217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_23_48_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c270742f2cf928ff7f1c35825c9e3db.jpg","text":"TemporaryFile(/tmp/multipartBody7623065190493362163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_24_27_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a4322ec9c6bec1dded47f828f61ecf9.jpg","text":"TemporaryFile(/tmp/multipartBody1064909040663301527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582663712,"filename":"image_15072025_14_24_38_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180628","file1":"1372180626","file0":"1372180624","file4":"1372180638","file5":"1372180643","file3":"1372180634"},"map_files_photo_id_array":[{"photo_id":"1372180643","filename":"file5"},{"photo_id":"1372180628","filename":"file2"},{"photo_id":"1372180638","filename":"file4"},{"photo_id":"1372180626","filename":"file1"},{"photo_id":"1372180624","filename":"file0"},{"photo_id":"1372180634","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180634":["hashtag1","hashtag2"]},{"1372180628":["hashtag1","hashtag2"]},{"1372180624":["hashtag1","hashtag2"]},{"1372180626":["hashtag1","hashtag2"]},{"1372180638":["hashtag1","hashtag2"]},{"1372180643":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180634, 1372180628, 1372180624, 1372180626, 1372180638, 1372180643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.72468161582947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:31:02.817207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_41_2641.jpg', '/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_47_2705.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_02_2782.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_05_2868.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_11_2643.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_17_3651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_41_2641.jpg
/home/pi/Desktop/images/15072025/14/24/image_15072025_14_24_47_2705.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_02_2782.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_05_2868.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_11_2643.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_17_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":["1372180690","1372180687","1372180677","1372180682","1372180670","1372180664"],"photo_ids_order":["1372180664","1372180670","1372180677","1372180682","1372180687","1372180690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7457b0bc4bdb0c66613a6ce1bb56391.jpg","text":"TemporaryFile(/tmp/multipartBody6499619290003096805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_25_17_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec63a2878b1ae068565c3307c127287e.jpg","text":"TemporaryFile(/tmp/multipartBody5446001990359559979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_25_11_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eac16f372b4f778503033e9cdefbc8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4201618933861449681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_25_02_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed408983d9c36ac7039d3c67dad3fa4c.jpg","text":"TemporaryFile(/tmp/multipartBody3883579343255829603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_25_05_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40d40f9cec65b461f02a65f7592b3b18.jpg","text":"TemporaryFile(/tmp/multipartBody847224682297364233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_24_47_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78d9e1d2d2c76ded099cdb6cc2a6c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody8666414777920165360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582724079,"filename":"image_15072025_14_24_41_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180677","file1":"1372180670","file0":"1372180664","file4":"1372180687","file5":"1372180690","file3":"1372180682"},"map_files_photo_id_array":[{"photo_id":"1372180690","filename":"file5"},{"photo_id":"1372180677","filename":"file2"},{"photo_id":"1372180687","filename":"file4"},{"photo_id":"1372180670","filename":"file1"},{"photo_id":"1372180664","filename":"file0"},{"photo_id":"1372180682","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180690":["hashtag1","hashtag2"]},{"1372180687":["hashtag1","hashtag2"]},{"1372180677":["hashtag1","hashtag2"]},{"1372180682":["hashtag1","hashtag2"]},{"1372180670":["hashtag1","hashtag2"]},{"1372180664":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180690, 1372180687, 1372180677, 1372180682, 1372180670, 1372180664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.81221532821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:32:02.819798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_20_2605.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_29_2629.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_33_3609.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_35_2591.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_41_3709.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_50_3610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_20_2605.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_29_2629.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_33_3609.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_35_2591.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_41_3709.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_50_3610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7981357574462891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:32:22.196668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_20_2605.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_29_2629.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_33_3609.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_35_2591.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_41_3709.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_50_3610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_20_2605.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_29_2629.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_33_3609.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_35_2591.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_41_3709.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_50_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":["1372180724","1372180718","1372180727","1372180715","1372180709","1372180731"],"photo_ids_order":["1372180709","1372180715","1372180718","1372180724","1372180727","1372180731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d56389e53729f1133e0ef2e38e2ee95.jpg","text":"TemporaryFile(/tmp/multipartBody6588916856244777605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_35_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a25da1539c0bab42cd434b120abe7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4219863574326437076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_33_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/940bcc06a939b84f7b3a525847bb8454.jpg","text":"TemporaryFile(/tmp/multipartBody9006994974353697608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_41_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea9d5e00bea940de5f38f9920f1c97bd.jpg","text":"TemporaryFile(/tmp/multipartBody1979925291753320773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_29_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22b91b341df3e35af5eff87f2845e39c.jpg","text":"TemporaryFile(/tmp/multipartBody4554073583287402315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_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/7/15/65eba56b3e377ea58ed5092ecf7b6165.jpg","text":"TemporaryFile(/tmp/multipartBody8012909421513375645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582803317,"filename":"image_15072025_14_25_50_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180718","file1":"1372180715","file0":"1372180709","file4":"1372180727","file5":"1372180731","file3":"1372180724"},"map_files_photo_id_array":[{"photo_id":"1372180731","filename":"file5"},{"photo_id":"1372180718","filename":"file2"},{"photo_id":"1372180727","filename":"file4"},{"photo_id":"1372180715","filename":"file1"},{"photo_id":"1372180709","filename":"file0"},{"photo_id":"1372180724","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180724":["hashtag1","hashtag2"]},{"1372180718":["hashtag1","hashtag2"]},{"1372180727":["hashtag1","hashtag2"]},{"1372180715":["hashtag1","hashtag2"]},{"1372180709":["hashtag1","hashtag2"]},{"1372180731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180724, 1372180718, 1372180727, 1372180715, 1372180709, 1372180731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.342727184295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:33:22.084159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_53_2574.jpg', '/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_56_2788.jpg', '/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_08_3532.jpg', '/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_26_2659.jpg', '/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_35_2883.jpg', '/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_42_3562.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_53_2574.jpg
/home/pi/Desktop/images/15072025/14/25/image_15072025_14_25_56_2788.jpg
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_08_3532.jpg
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_26_2659.jpg
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_35_2883.jpg
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_42_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180776","1372180770","1372180758","1372180773","1372180754","1372180763"],"photo_ids_order":["1372180754","1372180758","1372180763","1372180770","1372180773","1372180776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1feb7ee86654979f8be514b5ac38671e.jpg","text":"TemporaryFile(/tmp/multipartBody6696455682833711475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_26_42_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5dd7dde29d6e284d1b7420d5be021aee.jpg","text":"TemporaryFile(/tmp/multipartBody6287873765847721882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_26_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/7/15/089d16c67031134352c3e90807ff9917.jpg","text":"TemporaryFile(/tmp/multipartBody2497211113613312021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_25_56_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a10ad4651845a58df733eb8555e6f443.jpg","text":"TemporaryFile(/tmp/multipartBody4333304658320358790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_26_35_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/abc9643038f8df49c959a4c1bd0a8bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8333044120793422903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_25_53_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6fff1ce4adec3fb7d0b6611c651bcbec.jpg","text":"TemporaryFile(/tmp/multipartBody3976001876681144116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582863214,"filename":"image_15072025_14_26_08_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180763","file1":"1372180758","file0":"1372180754","file4":"1372180773","file5":"1372180776","file3":"1372180770"},"map_files_photo_id_array":[{"photo_id":"1372180776","filename":"file5"},{"photo_id":"1372180763","filename":"file2"},{"photo_id":"1372180773","filename":"file4"},{"photo_id":"1372180758","filename":"file1"},{"photo_id":"1372180754","filename":"file0"},{"photo_id":"1372180770","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180776":["hashtag1","hashtag2"]},{"1372180770":["hashtag1","hashtag2"]},{"1372180758":["hashtag1","hashtag2"]},{"1372180773":["hashtag1","hashtag2"]},{"1372180754":["hashtag1","hashtag2"]},{"1372180763":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180776, 1372180770, 1372180758, 1372180773, 1372180754, 1372180763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.036792278289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:34:22.818882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_44_2672.jpg', '/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_47_2762.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_03_3762.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_11_3633.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_17_2671.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_23_2700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_44_2672.jpg
/home/pi/Desktop/images/15072025/14/26/image_15072025_14_26_47_2762.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_03_3762.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_11_3633.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_17_2671.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_23_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180802","1372180805","1372180798","1372180783","1372180792","1372180789"],"photo_ids_order":["1372180783","1372180789","1372180792","1372180798","1372180802","1372180805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e52321ab051fa5a84230ffe56e547980.jpg","text":"TemporaryFile(/tmp/multipartBody992674213547054269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_27_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/7/15/d0d4bc22014b5590fa24c718c821606c.jpg","text":"TemporaryFile(/tmp/multipartBody1558656055086960446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_27_23_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26ab5d7d95044f0e853a962f4b6ebacf.jpg","text":"TemporaryFile(/tmp/multipartBody2808073154110199607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_27_11_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61918cfa1285d9b1543ddcdef028180b.jpg","text":"TemporaryFile(/tmp/multipartBody5190067601763225337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_26_44_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/983e4b3f43aaf11f64e5ef45f5d3ae97.jpg","text":"TemporaryFile(/tmp/multipartBody8334827196327080716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_27_03_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd5cdfa4fceb61f50c566bfcc073bdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2295570268597919080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752582923937,"filename":"image_15072025_14_26_47_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180792","file1":"1372180789","file0":"1372180783","file4":"1372180802","file5":"1372180805","file3":"1372180798"},"map_files_photo_id_array":[{"photo_id":"1372180805","filename":"file5"},{"photo_id":"1372180792","filename":"file2"},{"photo_id":"1372180802","filename":"file4"},{"photo_id":"1372180789","filename":"file1"},{"photo_id":"1372180783","filename":"file0"},{"photo_id":"1372180798","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180802":["hashtag1","hashtag2"]},{"1372180805":["hashtag1","hashtag2"]},{"1372180798":["hashtag1","hashtag2"]},{"1372180783":["hashtag1","hashtag2"]},{"1372180792":["hashtag1","hashtag2"]},{"1372180789":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180802, 1372180805, 1372180798, 1372180783, 1372180792, 1372180789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.77604293823242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:35:22.534628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_26_2628.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_35_3633.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_38_2683.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_44_2650.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_53_3572.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_59_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_26_2628.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_35_3633.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_38_2683.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_44_2650.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_53_3572.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_59_2603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7296967506408691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:35:42.516693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_26_2628.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_35_3633.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_38_2683.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_44_2650.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_53_3572.jpg', '/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_59_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_26_2628.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_35_3633.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_38_2683.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_44_2650.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_53_3572.jpg
/home/pi/Desktop/images/15072025/14/27/image_15072025_14_27_59_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180859","1372180855","1372180839","1372180848","1372180833","1372180829"],"photo_ids_order":["1372180829","1372180833","1372180839","1372180848","1372180855","1372180859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5720ef383202e8c48ed666fbe6123f58.jpg","text":"TemporaryFile(/tmp/multipartBody7510551380735929921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_59_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/939fa03bcfb9137199722a5bc156c5c9.jpg","text":"TemporaryFile(/tmp/multipartBody1267536795122374457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_53_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b2f7df82df4c4489e4be16610d410c30.jpg","text":"TemporaryFile(/tmp/multipartBody1591235080024724084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_38_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/385a8a3615480fd458257cba88dfdd63.jpg","text":"TemporaryFile(/tmp/multipartBody5870724551693926556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_44_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4cb3e346554e8377365ee9355086cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody5358284984899492984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_35_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3183c991db29f776b7260f1f13683cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6199763578253980734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583003657,"filename":"image_15072025_14_27_26_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180839","file1":"1372180833","file0":"1372180829","file4":"1372180855","file5":"1372180859","file3":"1372180848"},"map_files_photo_id_array":[{"photo_id":"1372180859","filename":"file5"},{"photo_id":"1372180839","filename":"file2"},{"photo_id":"1372180855","filename":"file4"},{"photo_id":"1372180833","filename":"file1"},{"photo_id":"1372180829","filename":"file0"},{"photo_id":"1372180848","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180859":["hashtag1","hashtag2"]},{"1372180855":["hashtag1","hashtag2"]},{"1372180839":["hashtag1","hashtag2"]},{"1372180848":["hashtag1","hashtag2"]},{"1372180833":["hashtag1","hashtag2"]},{"1372180829":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180859, 1372180855, 1372180839, 1372180848, 1372180833, 1372180829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.996410608291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:36:42.160620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_05_2587.jpg', '/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_07_2650.jpg', '/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_11_3719.jpg', '/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_32_2817.jpg', '/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_47_2720.jpg', '/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_53_3719.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_05_2587.jpg
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_07_2650.jpg
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_11_3719.jpg
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_32_2817.jpg
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_47_2720.jpg
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_53_3719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180885","1372180888","1372180900","1372180893","1372180871","1372180877"],"photo_ids_order":["1372180871","1372180877","1372180885","1372180888","1372180893","1372180900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a7c68da9063278aacf27bcac9dcfc25.jpg","text":"TemporaryFile(/tmp/multipartBody3553611797532735847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_11_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a1c77abf9d71b0a67585fd358a49e830.jpg","text":"TemporaryFile(/tmp/multipartBody7149233941878052580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_32_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/301f7bb9416b814ead941e6b2e92b154.jpg","text":"TemporaryFile(/tmp/multipartBody1812128715333211622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_53_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdf01892e2df74dbff050dedbd240cb4.jpg","text":"TemporaryFile(/tmp/multipartBody511669664932734801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_47_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2a03041c1c8de0d1625c21604548bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2768160087931482295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_05_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d7fe8c63db8e384bcca494c12fdb272.jpg","text":"TemporaryFile(/tmp/multipartBody7924689682674216358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583063294,"filename":"image_15072025_14_28_07_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180885","file1":"1372180877","file0":"1372180871","file4":"1372180893","file5":"1372180900","file3":"1372180888"},"map_files_photo_id_array":[{"photo_id":"1372180900","filename":"file5"},{"photo_id":"1372180885","filename":"file2"},{"photo_id":"1372180893","filename":"file4"},{"photo_id":"1372180877","filename":"file1"},{"photo_id":"1372180871","filename":"file0"},{"photo_id":"1372180888","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180885":["hashtag1","hashtag2"]},{"1372180888":["hashtag1","hashtag2"]},{"1372180900":["hashtag1","hashtag2"]},{"1372180893":["hashtag1","hashtag2"]},{"1372180871":["hashtag1","hashtag2"]},{"1372180877":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180885, 1372180888, 1372180900, 1372180893, 1372180871, 1372180877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76114273071289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:37:42.355297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_59_2668.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_02_3766.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_05_2717.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_10_2711.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_14_3695.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_17_2782.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/28/image_15072025_14_28_59_2668.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_02_3766.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_05_2717.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_10_2711.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_14_3695.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_17_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180930","1372180933","1372180915","1372180923","1372180926","1372180920"],"photo_ids_order":["1372180915","1372180920","1372180923","1372180926","1372180930","1372180933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23f981e4f3ec3ad655fc56f3792ca4fb.jpg","text":"TemporaryFile(/tmp/multipartBody6868427993557343895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_29_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/7/15/609bfc81cb1b3296f4226c9e8d2dddc0.jpg","text":"TemporaryFile(/tmp/multipartBody9142944447615897258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_29_17_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ed6da78cba410bf3bd264027a1f61f7.jpg","text":"TemporaryFile(/tmp/multipartBody6912874576063295354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_28_59_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cb216bc754046754981e089cb6a49c54.jpg","text":"TemporaryFile(/tmp/multipartBody7752374323577819525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_29_05_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4ceeb71fa923d74de62d0ad5c5da762.jpg","text":"TemporaryFile(/tmp/multipartBody1507474126888188429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_29_10_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b2f40a97568645a2d7eaad462dba378f.jpg","text":"TemporaryFile(/tmp/multipartBody1516084231283749497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583123497,"filename":"image_15072025_14_29_02_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180923","file1":"1372180920","file0":"1372180915","file4":"1372180930","file5":"1372180933","file3":"1372180926"},"map_files_photo_id_array":[{"photo_id":"1372180933","filename":"file5"},{"photo_id":"1372180923","filename":"file2"},{"photo_id":"1372180930","filename":"file4"},{"photo_id":"1372180920","filename":"file1"},{"photo_id":"1372180915","filename":"file0"},{"photo_id":"1372180926","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180930":["hashtag1","hashtag2"]},{"1372180933":["hashtag1","hashtag2"]},{"1372180915":["hashtag1","hashtag2"]},{"1372180923":["hashtag1","hashtag2"]},{"1372180926":["hashtag1","hashtag2"]},{"1372180920":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180930, 1372180933, 1372180915, 1372180923, 1372180926, 1372180920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.51231384277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:38:42.359261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_20_2702.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_22_2827.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_26_3716.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_29_2601.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_31_2631.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_35_3661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_20_2702.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_22_2827.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_26_3716.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_29_2601.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_31_2631.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_35_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372180963","1372180957","1372180966","1372180960","1372180950","1372180955"],"photo_ids_order":["1372180950","1372180955","1372180957","1372180960","1372180963","1372180966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c50d2d69ba2c5fb8078b8264602bac3.jpg","text":"TemporaryFile(/tmp/multipartBody1485572372604545061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_29_31_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db1655b615be76e8fdeaa0480899f72f.jpg","text":"TemporaryFile(/tmp/multipartBody5771013199816976476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_29_26_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1c0cc221277f5a56fdbf4015dd12bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4748823892391901011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_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/7/15/8ace2649abe306a7f778f6e2991c8687.jpg","text":"TemporaryFile(/tmp/multipartBody356998254914626626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_29_29_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9016ffa8cd8830ae25df61d65f164b86.jpg","text":"TemporaryFile(/tmp/multipartBody2296290661917924724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_29_20_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61075da12a9b38c3d1ea03148e789a77.jpg","text":"TemporaryFile(/tmp/multipartBody3550557879631397026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583183506,"filename":"image_15072025_14_29_22_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372180957","file1":"1372180955","file0":"1372180950","file4":"1372180963","file5":"1372180966","file3":"1372180960"},"map_files_photo_id_array":[{"photo_id":"1372180966","filename":"file5"},{"photo_id":"1372180957","filename":"file2"},{"photo_id":"1372180963","filename":"file4"},{"photo_id":"1372180955","filename":"file1"},{"photo_id":"1372180950","filename":"file0"},{"photo_id":"1372180960","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372180963":["hashtag1","hashtag2"]},{"1372180957":["hashtag1","hashtag2"]},{"1372180966":["hashtag1","hashtag2"]},{"1372180960":["hashtag1","hashtag2"]},{"1372180950":["hashtag1","hashtag2"]},{"1372180955":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372180963, 1372180957, 1372180966, 1372180960, 1372180950, 1372180955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.09393072128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:39:42.765812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_38_2708.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_40_2612.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_44_3635.jpg', '/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_47_2740.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_08_3011.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_12_3597.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_38_2708.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_40_2612.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_44_3635.jpg
/home/pi/Desktop/images/15072025/14/29/image_15072025_14_29_47_2740.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_08_3011.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_12_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181006","1372180981","1372181014","1372181010","1372181001","1372181003"],"photo_ids_order":["1372180981","1372181001","1372181003","1372181006","1372181010","1372181014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4fd6557fe6497b0e63f4519de30b60b6.jpg","text":"TemporaryFile(/tmp/multipartBody5928945742505695473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_29_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/7/15/fc5f01cbfb997023ff182190241a99de.jpg","text":"TemporaryFile(/tmp/multipartBody1319882465454403823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_29_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6620f2976d6f969c8977e93d3bede00c.jpg","text":"TemporaryFile(/tmp/multipartBody2581416440728312202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_30_12_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/656c89436e4fe0eab107055beb4a088a.jpg","text":"TemporaryFile(/tmp/multipartBody6471904530219463531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_30_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/7/15/45cb84013bae17fefff3150afcc5d86e.jpg","text":"TemporaryFile(/tmp/multipartBody8865782940550273350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_29_40_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f771e777eaa523f49bf106d9dce0789.jpg","text":"TemporaryFile(/tmp/multipartBody149984681162558181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583243963,"filename":"image_15072025_14_29_44_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181003","file1":"1372181001","file0":"1372180981","file4":"1372181010","file5":"1372181014","file3":"1372181006"},"map_files_photo_id_array":[{"photo_id":"1372181014","filename":"file5"},{"photo_id":"1372181003","filename":"file2"},{"photo_id":"1372181010","filename":"file4"},{"photo_id":"1372181001","filename":"file1"},{"photo_id":"1372180981","filename":"file0"},{"photo_id":"1372181006","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181006":["hashtag1","hashtag2"]},{"1372180981":["hashtag1","hashtag2"]},{"1372181014":["hashtag1","hashtag2"]},{"1372181010":["hashtag1","hashtag2"]},{"1372181001":["hashtag1","hashtag2"]},{"1372181003":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181006, 1372180981, 1372181014, 1372181010, 1372181001, 1372181003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.40060043334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:40:42.818743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_14_2610.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_18_3644.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_29_2554.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_32_2600.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_41_2665.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_45_3817.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_14_2610.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_18_3644.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_29_2554.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_32_2600.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_41_2665.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_45_3817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181059","1372181050","1372181053","1372181041","1372181029","1372181033"],"photo_ids_order":["1372181029","1372181033","1372181041","1372181050","1372181053","1372181059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/07317eae1c118847d6f343a6a026fcda.jpg","text":"TemporaryFile(/tmp/multipartBody5992854582108453417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_45_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/344563c68b1b9fd6e3e6f4789b13c59a.jpg","text":"TemporaryFile(/tmp/multipartBody2499884789248993506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_32_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/48b83b0734d8852b92f5e73779b8d911.jpg","text":"TemporaryFile(/tmp/multipartBody8589764675464395094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_41_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8705f794e8c728304e902cad0a6f39fb.jpg","text":"TemporaryFile(/tmp/multipartBody6621601708304713481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_29_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a21b96fc0c37396649b539d3ee3901b.jpg","text":"TemporaryFile(/tmp/multipartBody4628760730724775296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_14_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e45148bd610defda10861bee0dbba095.jpg","text":"TemporaryFile(/tmp/multipartBody5158104902363070062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583303970,"filename":"image_15072025_14_30_18_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181041","file1":"1372181033","file0":"1372181029","file4":"1372181053","file5":"1372181059","file3":"1372181050"},"map_files_photo_id_array":[{"photo_id":"1372181059","filename":"file5"},{"photo_id":"1372181041","filename":"file2"},{"photo_id":"1372181053","filename":"file4"},{"photo_id":"1372181033","filename":"file1"},{"photo_id":"1372181029","filename":"file0"},{"photo_id":"1372181050","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181059":["hashtag1","hashtag2"]},{"1372181050":["hashtag1","hashtag2"]},{"1372181053":["hashtag1","hashtag2"]},{"1372181041":["hashtag1","hashtag2"]},{"1372181029":["hashtag1","hashtag2"]},{"1372181033":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181059, 1372181050, 1372181053, 1372181041, 1372181029, 1372181033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.082136154174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:41:42.333742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_53_2648.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_57_3711.jpg', '/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_59_2661.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_02_2767.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_06_3662.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_08_2759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_53_2648.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_57_3711.jpg
/home/pi/Desktop/images/15072025/14/30/image_15072025_14_30_59_2661.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_02_2767.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_06_3662.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_08_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181077","1372181071","1372181081","1372181084","1372181087","1372181075"],"photo_ids_order":["1372181071","1372181075","1372181077","1372181081","1372181084","1372181087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74a54146cb12b263f95ff97fd3b67a83.jpg","text":"TemporaryFile(/tmp/multipartBody798015855866963603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_30_59_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/376242f215116250335e204c0794927a.jpg","text":"TemporaryFile(/tmp/multipartBody480370847547715056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_30_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/7/15/6768d1ca5abd30dcf79eb30d8b8ce271.jpg","text":"TemporaryFile(/tmp/multipartBody7755920010832086702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_31_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/7/15/3597cacfcdc394f0974bf2fd530d0300.jpg","text":"TemporaryFile(/tmp/multipartBody6883638259537230532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_31_06_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36be79cf7642478dbec013019b2769f8.jpg","text":"TemporaryFile(/tmp/multipartBody5692863727636715180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_31_08_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a109e7da0e44a2fd2d9438b04c4a7aee.jpg","text":"TemporaryFile(/tmp/multipartBody3935043490831538852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583363494,"filename":"image_15072025_14_30_57_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181077","file1":"1372181075","file0":"1372181071","file4":"1372181084","file5":"1372181087","file3":"1372181081"},"map_files_photo_id_array":[{"photo_id":"1372181087","filename":"file5"},{"photo_id":"1372181077","filename":"file2"},{"photo_id":"1372181084","filename":"file4"},{"photo_id":"1372181075","filename":"file1"},{"photo_id":"1372181071","filename":"file0"},{"photo_id":"1372181081","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181077":["hashtag1","hashtag2"]},{"1372181071":["hashtag1","hashtag2"]},{"1372181081":["hashtag1","hashtag2"]},{"1372181084":["hashtag1","hashtag2"]},{"1372181087":["hashtag1","hashtag2"]},{"1372181075":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181077, 1372181071, 1372181081, 1372181084, 1372181087, 1372181075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44253325462341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:42:42.033054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_15_3662.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_20_2609.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_24_3682.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_26_2597.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_32_2766.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_36_3585.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_15_3662.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_20_2609.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_24_3682.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_26_2597.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_32_2766.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_36_3585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7935545444488525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:43:03.206179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_15_3662.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_20_2609.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_24_3682.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_26_2597.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_32_2766.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_36_3585.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_15_3662.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_20_2609.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_24_3682.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_26_2597.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_32_2766.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_36_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181110","1372181134","1372181128","1372181122","1372181139","1372181144"],"photo_ids_order":["1372181110","1372181122","1372181128","1372181134","1372181139","1372181144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b92305b3ae76794e9cbe93ad4f099db0.jpg","text":"TemporaryFile(/tmp/multipartBody4038698380432068036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_15_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b3bd2e62bcf6b5d2fc4b47b08e935c4.jpg","text":"TemporaryFile(/tmp/multipartBody5474229652516565978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_26_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f7769433d47ead9d2480c70202771a6a.jpg","text":"TemporaryFile(/tmp/multipartBody627054547481632604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_24_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3b0f44c68fdb28bf685a6c6afef0c600.jpg","text":"TemporaryFile(/tmp/multipartBody2613226859320902839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_20_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a1c54867fab2f71a4fdba67ae764dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6377385491437940148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_32_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/789c7f9802ae56407d0f9dc73dc0c2f9.jpg","text":"TemporaryFile(/tmp/multipartBody1478402958736981598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583444467,"filename":"image_15072025_14_31_36_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181128","file1":"1372181122","file0":"1372181110","file4":"1372181139","file5":"1372181144","file3":"1372181134"},"map_files_photo_id_array":[{"photo_id":"1372181144","filename":"file5"},{"photo_id":"1372181128","filename":"file2"},{"photo_id":"1372181139","filename":"file4"},{"photo_id":"1372181122","filename":"file1"},{"photo_id":"1372181110","filename":"file0"},{"photo_id":"1372181134","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181110":["hashtag1","hashtag2"]},{"1372181134":["hashtag1","hashtag2"]},{"1372181128":["hashtag1","hashtag2"]},{"1372181122":["hashtag1","hashtag2"]},{"1372181139":["hashtag1","hashtag2"]},{"1372181144":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181110, 1372181134, 1372181128, 1372181122, 1372181139, 1372181144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.093854904174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:44:03.265454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_38_2783.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_45_3629.jpg', '/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_47_2717.jpg', '/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_44_2567.jpg', '/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_48_3706.jpg', '/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_50_2634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_38_2783.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_45_3629.jpg
/home/pi/Desktop/images/15072025/14/31/image_15072025_14_31_47_2717.jpg
/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_44_2567.jpg
/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_48_3706.jpg
/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_50_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181188","1372181182","1372181176","1372181170","1372181164","1372181157"],"photo_ids_order":["1372181157","1372181164","1372181170","1372181176","1372181182","1372181188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f4feea866e2d90262afecaed4037510.jpg","text":"TemporaryFile(/tmp/multipartBody3311323609624535040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_32_50_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fae81ed5ac5934c8a0ab5ddf9ff76ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7169374669016000887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_32_48_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6633a242c66093de102c5d8d760f802b.jpg","text":"TemporaryFile(/tmp/multipartBody7284244071180667443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_32_44_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/694dbb188dec0a701c37a1bbaaacba9b.jpg","text":"TemporaryFile(/tmp/multipartBody1325303445463373661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_31_47_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4920548b9c7e5a861d6f321c4dd031e4.jpg","text":"TemporaryFile(/tmp/multipartBody6788093222690260025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_31_45_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/042c50f25e7b9d8d35b4e77e866f5324.jpg","text":"TemporaryFile(/tmp/multipartBody7597020383482866810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583504512,"filename":"image_15072025_14_31_38_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181170","file1":"1372181164","file0":"1372181157","file4":"1372181182","file5":"1372181188","file3":"1372181176"},"map_files_photo_id_array":[{"photo_id":"1372181188","filename":"file5"},{"photo_id":"1372181170","filename":"file2"},{"photo_id":"1372181182","filename":"file4"},{"photo_id":"1372181164","filename":"file1"},{"photo_id":"1372181157","filename":"file0"},{"photo_id":"1372181176","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181188":["hashtag1","hashtag2"]},{"1372181182":["hashtag1","hashtag2"]},{"1372181176":["hashtag1","hashtag2"]},{"1372181170":["hashtag1","hashtag2"]},{"1372181164":["hashtag1","hashtag2"]},{"1372181157":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181188, 1372181182, 1372181176, 1372181170, 1372181164, 1372181157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6894907951355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:45:03.011240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_53_2692.jpg', '/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_59_2552.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_02_2722.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_06_3720.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_08_2658.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_11_2617.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_53_2692.jpg
/home/pi/Desktop/images/15072025/14/32/image_15072025_14_32_59_2552.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_02_2722.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_06_3720.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_08_2658.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_11_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181206","1372181203","1372181211","1372181228","1372181222","1372181216"],"photo_ids_order":["1372181203","1372181206","1372181211","1372181216","1372181222","1372181228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9cbb4947461697e6461648877147733b.jpg","text":"TemporaryFile(/tmp/multipartBody9039289598689929775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_32_59_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b9e405672b36c9736df9ad677843e55.jpg","text":"TemporaryFile(/tmp/multipartBody7710326604799250972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_32_53_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33142ecb34a9d63dddcc73e6ac409085.jpg","text":"TemporaryFile(/tmp/multipartBody392623658302054197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_33_02_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfe09050b9e1f9b012cf11fde0ad2c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3356982799154950722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_33_11_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9e541474f025a40a0fcc91e7303f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody474375062954677913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_33_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/7/15/e99d8a2c5333e68a7472507a7d585605.jpg","text":"TemporaryFile(/tmp/multipartBody161793521529323814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583564547,"filename":"image_15072025_14_33_06_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181211","file1":"1372181206","file0":"1372181203","file4":"1372181222","file5":"1372181228","file3":"1372181216"},"map_files_photo_id_array":[{"photo_id":"1372181228","filename":"file5"},{"photo_id":"1372181211","filename":"file2"},{"photo_id":"1372181222","filename":"file4"},{"photo_id":"1372181206","filename":"file1"},{"photo_id":"1372181203","filename":"file0"},{"photo_id":"1372181216","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181206":["hashtag1","hashtag2"]},{"1372181203":["hashtag1","hashtag2"]},{"1372181211":["hashtag1","hashtag2"]},{"1372181228":["hashtag1","hashtag2"]},{"1372181222":["hashtag1","hashtag2"]},{"1372181216":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181206, 1372181203, 1372181211, 1372181228, 1372181222, 1372181216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.894107818603516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:46:03.122272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:46:22.385187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:46:42.407708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:47:03.211093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:47:31.324188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:48:07.517451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:48:27.506790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /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-07-15 14:49:02.423743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:49:31.807099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_15_3648.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_23_2788.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_26_3573.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_29_2727.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_33_3605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_15_3648.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_20_2691.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_23_2788.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_26_3573.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_29_2727.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_33_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181404","1372181364","1372181349","1372181409","1372181396","1372181354"],"photo_ids_order":["1372181349","1372181354","1372181364","1372181396","1372181404","1372181409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c5713a910ea90da0d0be3a3ab9812deb.jpg","text":"TemporaryFile(/tmp/multipartBody404309793447815916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_29_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e95006b1ff277dba1cc554d672b317b7.jpg","text":"TemporaryFile(/tmp/multipartBody2381508177507402994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_23_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70cd9939e1d380c2db1170616b762948.jpg","text":"TemporaryFile(/tmp/multipartBody7792852868638935270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_15_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4864ac8e1625f4e3b5ad5f5b9d01e44e.jpg","text":"TemporaryFile(/tmp/multipartBody1381852775601917238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_33_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45f4666e354faa57ef5f72b746e85252.jpg","text":"TemporaryFile(/tmp/multipartBody6166426687505621563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_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/7/15/f8ca426db830a6557a6593e2dc3da403.jpg","text":"TemporaryFile(/tmp/multipartBody916524487303735452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583832985,"filename":"image_15072025_14_33_20_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181364","file1":"1372181354","file0":"1372181349","file4":"1372181404","file5":"1372181409","file3":"1372181396"},"map_files_photo_id_array":[{"photo_id":"1372181409","filename":"file5"},{"photo_id":"1372181364","filename":"file2"},{"photo_id":"1372181404","filename":"file4"},{"photo_id":"1372181354","filename":"file1"},{"photo_id":"1372181349","filename":"file0"},{"photo_id":"1372181396","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181404":["hashtag1","hashtag2"]},{"1372181364":["hashtag1","hashtag2"]},{"1372181349":["hashtag1","hashtag2"]},{"1372181409":["hashtag1","hashtag2"]},{"1372181396":["hashtag1","hashtag2"]},{"1372181354":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181404, 1372181364, 1372181349, 1372181409, 1372181396, 1372181354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.34001278877258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:51:03.481938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_35_2736.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_38_2867.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_41_2725.jpg', '/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_47_3675.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_05_2644.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_12_3670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_35_2736.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_38_2867.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_41_2725.jpg
/home/pi/Desktop/images/15072025/14/33/image_15072025_14_33_47_3675.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_05_2644.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_12_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181470","1372181455","1372181449","1372181463","1372181445","1372181430"],"photo_ids_order":["1372181430","1372181445","1372181449","1372181455","1372181463","1372181470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe59cf9fce044d081815e44599fcc2ae.jpg","text":"TemporaryFile(/tmp/multipartBody5795714415099607018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_34_12_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b76b94be5c5aba10a6ccaf57ab1259ea.jpg","text":"TemporaryFile(/tmp/multipartBody6545626292943031024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_33_47_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/042de853ffd81559538641ba900a2f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3173073786733793925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_33_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/7/15/caa41d8f742799b173c0d7ab8d7a8063.jpg","text":"TemporaryFile(/tmp/multipartBody2509246673367506962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_34_05_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35491c9919b8cfec6148256abc4354d4.jpg","text":"TemporaryFile(/tmp/multipartBody414516119559911106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_33_38_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85e90bfe48a0aca3af2e339ee60feb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8696620523370996343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752583924745,"filename":"image_15072025_14_33_35_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181449","file1":"1372181445","file0":"1372181430","file4":"1372181463","file5":"1372181470","file3":"1372181455"},"map_files_photo_id_array":[{"photo_id":"1372181470","filename":"file5"},{"photo_id":"1372181449","filename":"file2"},{"photo_id":"1372181463","filename":"file4"},{"photo_id":"1372181445","filename":"file1"},{"photo_id":"1372181430","filename":"file0"},{"photo_id":"1372181455","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181470":["hashtag1","hashtag2"]},{"1372181455":["hashtag1","hashtag2"]},{"1372181449":["hashtag1","hashtag2"]},{"1372181463":["hashtag1","hashtag2"]},{"1372181445":["hashtag1","hashtag2"]},{"1372181430":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181470, 1372181455, 1372181449, 1372181463, 1372181445, 1372181430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.0647542476654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:52:42.227321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_17_2749.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_23_3627.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_26_2770.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_29_2811.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_32_2682.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_35_3630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_17_2749.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_23_3627.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_26_2770.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_29_2811.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_32_2682.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_35_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181506","1372181499","1372181492","1372181486","1372181483","1372181513"],"photo_ids_order":["1372181483","1372181486","1372181492","1372181499","1372181506","1372181513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b059ce7b6dccab3244388ad760949c2.jpg","text":"TemporaryFile(/tmp/multipartBody6719381634675025391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a54de74e0d14e8a2f53c830e2be4cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6476035800320417873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_29_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2adf5fe8a0b2eb8af871efc665b9abad.jpg","text":"TemporaryFile(/tmp/multipartBody4226276373120433119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_26_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bc8036776d97af4fb272b5096a9dda7.jpg","text":"TemporaryFile(/tmp/multipartBody6976061663275355709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_23_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7464cc5e735555b77ceae15ba4a3cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody3326254242855800409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_17_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a4d8222cd2e40a99b755fbf1f1725fd.jpg","text":"TemporaryFile(/tmp/multipartBody7159627638797840819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584023443,"filename":"image_15072025_14_34_35_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181492","file1":"1372181486","file0":"1372181483","file4":"1372181506","file5":"1372181513","file3":"1372181499"},"map_files_photo_id_array":[{"photo_id":"1372181513","filename":"file5"},{"photo_id":"1372181492","filename":"file2"},{"photo_id":"1372181506","filename":"file4"},{"photo_id":"1372181486","filename":"file1"},{"photo_id":"1372181483","filename":"file0"},{"photo_id":"1372181499","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181506":["hashtag1","hashtag2"]},{"1372181499":["hashtag1","hashtag2"]},{"1372181492":["hashtag1","hashtag2"]},{"1372181486":["hashtag1","hashtag2"]},{"1372181483":["hashtag1","hashtag2"]},{"1372181513":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181506, 1372181499, 1372181492, 1372181486, 1372181483, 1372181513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.88474321365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 14:54:22.334327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_38_2690.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_41_2712.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_47_3671.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_53_2658.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_59_3701.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_05_2694.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_38_2690.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_41_2712.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_47_3671.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_53_2658.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_59_3701.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_05_2694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7268290519714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:54:42.337598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_38_2690.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_41_2712.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_47_3671.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_53_2658.jpg', '/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_59_3701.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_05_2694.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_38_2690.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_41_2712.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_47_3671.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_53_2658.jpg
/home/pi/Desktop/images/15072025/14/34/image_15072025_14_34_59_3701.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_05_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372181551","1372181548","1372181570","1372181564","1372181558","1372181543"],"photo_ids_order":["1372181543","1372181548","1372181551","1372181558","1372181564","1372181570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cac2fddc9f3fc71c74884664773015b3.jpg","text":"TemporaryFile(/tmp/multipartBody5888346808798234291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_34_47_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f0e57e7e7e3b3f6002e5477923f8f37.jpg","text":"TemporaryFile(/tmp/multipartBody7795110349257071098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_34_41_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f37eefed952cafff5543e994be1782be.jpg","text":"TemporaryFile(/tmp/multipartBody6248640835284911465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_35_05_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fde9433a2620033bd5d38f5491758846.jpg","text":"TemporaryFile(/tmp/multipartBody5428530415420770691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_34_59_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f2dec4eff81646138fefa93bb17ddb1d.jpg","text":"TemporaryFile(/tmp/multipartBody2904426571622026969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_34_53_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e744a3deed32e3995f3c5bc3007beeb1.jpg","text":"TemporaryFile(/tmp/multipartBody1020686378127345763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752584143494,"filename":"image_15072025_14_34_38_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372181551","file1":"1372181548","file0":"1372181543","file4":"1372181564","file5":"1372181570","file3":"1372181558"},"map_files_photo_id_array":[{"photo_id":"1372181570","filename":"file5"},{"photo_id":"1372181551","filename":"file2"},{"photo_id":"1372181564","filename":"file4"},{"photo_id":"1372181548","filename":"file1"},{"photo_id":"1372181543","filename":"file0"},{"photo_id":"1372181558","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372181551":["hashtag1","hashtag2"]},{"1372181548":["hashtag1","hashtag2"]},{"1372181570":["hashtag1","hashtag2"]},{"1372181564":["hashtag1","hashtag2"]},{"1372181558":["hashtag1","hashtag2"]},{"1372181543":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372181551, 1372181548, 1372181570, 1372181564, 1372181558, 1372181543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.871649742126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 14:55:42.528816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 14:59:03.700067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.9964053630829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 15:04:22.689647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7262260913848877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 15:04:42.633736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.862163066864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 15:10:02.647370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8890359401703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 15:15:22.371124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.81928157806396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 15:20:42.171613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.721580982208252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 15:21:03.069659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.9463698863983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 15:26:22.385408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8285336494446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 15:31:42.088384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.820613861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 15:37:02.575028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.9539089202881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 15:42:22.191657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.82754826545715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 15:47:42.673897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8297848701477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 15:53:02.447971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.9587469100952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 15:59:03.646440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 15:59:22.740016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7149062156677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 15:59:42.713569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 301.8827528953552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:05:02.983317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8980827331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:10:22.314940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.79678773880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 16:15:41.899766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8248589038849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:21:03.561741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_08_3682.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_11_2901.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_14_2688.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_20_2691.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_29_2851.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_35_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372184937","1372185527","1372184899","1372185243","1372184800","1372184970"],"photo_ids_order":["1372184800","1372184899","1372184937","1372184970","1372185243","1372185527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d25bdc39e86717378bbcb9c7e97379d.jpg","text":"TemporaryFile(/tmp/multipartBody3060301111812168398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_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/7/15/ffefe268ade7c957865fa93dbdb90228.jpg","text":"TemporaryFile(/tmp/multipartBody788999974044571977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_35_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec9cda0324059881a7b0ae98b1848202.jpg","text":"TemporaryFile(/tmp/multipartBody901602100273935231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_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/7/15/b5cf59f2a54d06d283b893e4a9eed7f6.jpg","text":"TemporaryFile(/tmp/multipartBody304179367338082042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_29_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4efe4387a6ce9628945f9d3e0734cc9c.jpg","text":"TemporaryFile(/tmp/multipartBody8920916133774743455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_08_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66df81cf26b4da5afc45d260674d5bec.jpg","text":"TemporaryFile(/tmp/multipartBody6942783237076000750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589325059,"filename":"image_15072025_14_35_20_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372184937","file1":"1372184899","file0":"1372184800","file4":"1372185243","file5":"1372185527","file3":"1372184970"},"map_files_photo_id_array":[{"photo_id":"1372185527","filename":"file5"},{"photo_id":"1372184937","filename":"file2"},{"photo_id":"1372185243","filename":"file4"},{"photo_id":"1372184899","filename":"file1"},{"photo_id":"1372184800","filename":"file0"},{"photo_id":"1372184970","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372184937":["hashtag1","hashtag2"]},{"1372185527":["hashtag1","hashtag2"]},{"1372184899":["hashtag1","hashtag2"]},{"1372185243":["hashtag1","hashtag2"]},{"1372184800":["hashtag1","hashtag2"]},{"1372184970":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372184937, 1372185527, 1372184899, 1372185243, 1372184800, 1372184970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 281.4589583873749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:26:02.748772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_44_3857.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_47_2706.jpg', '/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_50_2648.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_05_3613.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_17_2624.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_28_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_44_3857.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_47_2706.jpg
/home/pi/Desktop/images/15072025/14/35/image_15072025_14_35_50_2648.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_05_3613.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_17_2624.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_28_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":["1372186322","1372186255","1372186240","1372186368","1372186425","1372186274"],"photo_ids_order":["1372186240","1372186255","1372186274","1372186322","1372186368","1372186425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42029d5026396fa709d62d385327cafd.jpg","text":"TemporaryFile(/tmp/multipartBody3575819128402314716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_36_05_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0dcd8e0397e07a4eababa83a2bef275f.jpg","text":"TemporaryFile(/tmp/multipartBody3641460764024091416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_35_47_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8dcc498d863331ad99ac64d25bd5104.jpg","text":"TemporaryFile(/tmp/multipartBody1269441998938783203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_35_44_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b12179f363c37b6a03104683d5acecca.jpg","text":"TemporaryFile(/tmp/multipartBody5611981613507251174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_36_17_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81ddf04f77cf67619c3be0e8f789f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody599393194485921397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_36_28_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/872b3617870ed6d96e44fb12235f431e.jpg","text":"TemporaryFile(/tmp/multipartBody2327715411716257597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752589623929,"filename":"image_15072025_14_35_50_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372186274","file1":"1372186255","file0":"1372186240","file4":"1372186368","file5":"1372186425","file3":"1372186322"},"map_files_photo_id_array":[{"photo_id":"1372186425","filename":"file5"},{"photo_id":"1372186274","filename":"file2"},{"photo_id":"1372186368","filename":"file4"},{"photo_id":"1372186255","filename":"file1"},{"photo_id":"1372186240","filename":"file0"},{"photo_id":"1372186322","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372186322":["hashtag1","hashtag2"]},{"1372186255":["hashtag1","hashtag2"]},{"1372186240":["hashtag1","hashtag2"]},{"1372186368":["hashtag1","hashtag2"]},{"1372186425":["hashtag1","hashtag2"]},{"1372186274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372186322, 1372186255, 1372186240, 1372186368, 1372186425, 1372186274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.99333882331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:27:03.495528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_35_2628.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_38_3600.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_53_2700.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_11_2516.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_22_2610.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_26_3648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_35_2628.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_38_3600.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_53_2700.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_11_2516.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_22_2610.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_26_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8653070926666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:32:22.060590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_35_2628.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_38_3600.jpg', '/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_53_2700.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_11_2516.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_22_2610.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_26_3648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_35_2628.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_38_3600.jpg
/home/pi/Desktop/images/15072025/14/36/image_15072025_14_36_53_2700.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_11_2516.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_22_2610.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_26_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372187095","1372187353","1372187254","1372187338","1372187302","1372187357"],"photo_ids_order":["1372187095","1372187254","1372187302","1372187338","1372187353","1372187357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/356fb03fe49fc2eb3b5f038d43d9c600.jpg","text":"TemporaryFile(/tmp/multipartBody7746228495635620091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_36_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/7/15/687c5e70f39c8c60ff0b639e36c40031.jpg","text":"TemporaryFile(/tmp/multipartBody2896052122810660066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_37_22_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1dbe5bd5d2863bbdb69d36ed269b58e.jpg","text":"TemporaryFile(/tmp/multipartBody5518196451831605916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_36_38_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/509caa3cc6fbf1c0d1d8cc90ddbf01a2.jpg","text":"TemporaryFile(/tmp/multipartBody7249723516042701898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_37_11_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/475763eef735a3a8e2eaedad5e4f9487.jpg","text":"TemporaryFile(/tmp/multipartBody5473470095919776587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_36_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/7/15/a61041691d95b477edc95431789a3243.jpg","text":"TemporaryFile(/tmp/multipartBody8746463266086851503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752590003176,"filename":"image_15072025_14_37_26_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372187302","file1":"1372187254","file0":"1372187095","file4":"1372187353","file5":"1372187357","file3":"1372187338"},"map_files_photo_id_array":[{"photo_id":"1372187357","filename":"file5"},{"photo_id":"1372187302","filename":"file2"},{"photo_id":"1372187353","filename":"file4"},{"photo_id":"1372187254","filename":"file1"},{"photo_id":"1372187095","filename":"file0"},{"photo_id":"1372187338","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372187095":["hashtag1","hashtag2"]},{"1372187353":["hashtag1","hashtag2"]},{"1372187254":["hashtag1","hashtag2"]},{"1372187338":["hashtag1","hashtag2"]},{"1372187302":["hashtag1","hashtag2"]},{"1372187357":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372187095, 1372187353, 1372187254, 1372187338, 1372187302, 1372187357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 212.34363842010498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:36:02.863442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:36:22.139988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 16:36:42.581231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-07-15 16:37:30.094174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 16:37:55.225584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:38:14.275160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:38:33.644114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /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-07-15 16:39:03.981035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:39:26.763065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.801709651947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 16:44:42.496610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.76870036125183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:50:03.140664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8367416858673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 16:55:22.186319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7167840003967285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 16:55:42.129475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 16:59:03.163582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.9131212234497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:04:22.679595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8051347732544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:09:42.680285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.82345247268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:15:02.778116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.94655895233154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:20:21.947589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.829354763031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:25:41.821799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.8081908226013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:31:02.668583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.94214844703674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:36:21.990060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg', '/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_31_2625.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_35_3582.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_38_2658.jpg
/home/pi/Desktop/images/15072025/14/37/image_15072025_14_37_41_3026.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_02_2840.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_04_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372192827","1372193144","1372193095","1372192954","1372193032","1372193214"],"photo_ids_order":["1372192827","1372192954","1372193032","1372193095","1372193144","1372193214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f88d0b12d0acb24b37a5cffa0129650c.jpg","text":"TemporaryFile(/tmp/multipartBody784170022934725745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_37_31_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6387afaa18973b158848815a55652537.jpg","text":"TemporaryFile(/tmp/multipartBody325118285886857125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_38_02_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7705ba60acdef39216879dfae22a16f6.jpg","text":"TemporaryFile(/tmp/multipartBody6362535791390497861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_37_41_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a58f84f96128271dee1c05cdda720821.jpg","text":"TemporaryFile(/tmp/multipartBody3260806026457267050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_37_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/7/15/d9eed8d0b4e3dda59243d2a249c82669.jpg","text":"TemporaryFile(/tmp/multipartBody4047767228408639835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_37_38_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/240a70b3c5f8d0b92b59163079b1f26a.jpg","text":"TemporaryFile(/tmp/multipartBody6219051384548026010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752593843094,"filename":"image_15072025_14_38_04_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193032","file1":"1372192954","file0":"1372192827","file4":"1372193144","file5":"1372193214","file3":"1372193095"},"map_files_photo_id_array":[{"photo_id":"1372193214","filename":"file5"},{"photo_id":"1372193032","filename":"file2"},{"photo_id":"1372193144","filename":"file4"},{"photo_id":"1372192954","filename":"file1"},{"photo_id":"1372192827","filename":"file0"},{"photo_id":"1372193095","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372192827":["hashtag1","hashtag2"]},{"1372193144":["hashtag1","hashtag2"]},{"1372193095":["hashtag1","hashtag2"]},{"1372192954":["hashtag1","hashtag2"]},{"1372193032":["hashtag1","hashtag2"]},{"1372193214":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372192827, 1372193144, 1372193095, 1372192954, 1372193032, 1372193214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 299.484486579895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:41:22.616382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_08_3598.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_26_3663.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_29_2813.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_34_2730.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_38_3850.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_46_2782.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_08_3598.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_26_3663.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_29_2813.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_34_2730.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_38_3850.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_46_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372193276","1372193540","1372193414","1372193353","1372193556","1372193498"],"photo_ids_order":["1372193276","1372193353","1372193414","1372193498","1372193540","1372193556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cccea89bbff8912f8de5968cfb726aa2.jpg","text":"TemporaryFile(/tmp/multipartBody855026471860186180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_08_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6531ff07bfe53f6299ddb92f8db81693.jpg","text":"TemporaryFile(/tmp/multipartBody5856084004762117104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_38_3850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f0e18e8f138bea8c9d95ded2f78b3de2.jpg","text":"TemporaryFile(/tmp/multipartBody8346778135906634647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_29_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9c6cc4dc53a55dd31556058641d52c1.jpg","text":"TemporaryFile(/tmp/multipartBody6540704225656133091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_26_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c751bada33577340733d074b0e767a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5687127646791937887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_46_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf2277a73a392f98e5eb5e897654e38f.jpg","text":"TemporaryFile(/tmp/multipartBody6647791557231494810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594143722,"filename":"image_15072025_14_38_34_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193414","file1":"1372193353","file0":"1372193276","file4":"1372193540","file5":"1372193556","file3":"1372193498"},"map_files_photo_id_array":[{"photo_id":"1372193556","filename":"file5"},{"photo_id":"1372193414","filename":"file2"},{"photo_id":"1372193540","filename":"file4"},{"photo_id":"1372193353","filename":"file1"},{"photo_id":"1372193276","filename":"file0"},{"photo_id":"1372193498","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372193276":["hashtag1","hashtag2"]},{"1372193540":["hashtag1","hashtag2"]},{"1372193414":["hashtag1","hashtag2"]},{"1372193353":["hashtag1","hashtag2"]},{"1372193556":["hashtag1","hashtag2"]},{"1372193498":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372193276, 1372193540, 1372193414, 1372193353, 1372193556, 1372193498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 296.6257834434509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:46:22.629925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_49_2853.jpg', '/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_55_2583.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_02_3609.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_16_2628.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_32_3659.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_35_2724.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_49_2853.jpg
/home/pi/Desktop/images/15072025/14/38/image_15072025_14_38_55_2583.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_02_3609.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_16_2628.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_32_3659.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_35_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372193612","1372193615","1372193609","1372193603","1372193582","1372193591"],"photo_ids_order":["1372193582","1372193591","1372193603","1372193609","1372193612","1372193615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d096bd01a1cd184626bf40d332c00ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4294277187064216919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_39_32_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdf508608b85cc95f72d6fdf89f30ca3.jpg","text":"TemporaryFile(/tmp/multipartBody71103213725454477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_39_35_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55fc9cfb072e305f0389d10cf2e91501.jpg","text":"TemporaryFile(/tmp/multipartBody9076781303209640432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_39_16_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/edd701197edb67440a51c7cac4171325.jpg","text":"TemporaryFile(/tmp/multipartBody3383669436071246820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_39_02_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09c0abf86e83db124b5c755fbb4d73b0.jpg","text":"TemporaryFile(/tmp/multipartBody203257650725618395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_38_49_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3f0c1b05ef5a353c22d471c4af0cecf.jpg","text":"TemporaryFile(/tmp/multipartBody3072136959238166938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594443710,"filename":"image_15072025_14_38_55_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193603","file1":"1372193591","file0":"1372193582","file4":"1372193612","file5":"1372193615","file3":"1372193609"},"map_files_photo_id_array":[{"photo_id":"1372193615","filename":"file5"},{"photo_id":"1372193603","filename":"file2"},{"photo_id":"1372193612","filename":"file4"},{"photo_id":"1372193591","filename":"file1"},{"photo_id":"1372193582","filename":"file0"},{"photo_id":"1372193609","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372193612":["hashtag1","hashtag2"]},{"1372193615":["hashtag1","hashtag2"]},{"1372193609":["hashtag1","hashtag2"]},{"1372193603":["hashtag1","hashtag2"]},{"1372193582":["hashtag1","hashtag2"]},{"1372193591":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372193612, 1372193615, 1372193609, 1372193603, 1372193582, 1372193591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.94102382659912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:47:21.732959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_44_3720.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_49_2682.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_56_3701.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_58_2699.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_07_2675.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_14_2690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_44_3720.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_49_2682.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_56_3701.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_58_2699.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_07_2675.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_14_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6806151866912842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:47:41.880131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_44_3720.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_49_2682.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_56_3701.jpg', '/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_58_2699.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_07_2675.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_14_2690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_44_3720.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_49_2682.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_56_3701.jpg
/home/pi/Desktop/images/15072025/14/39/image_15072025_14_39_58_2699.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_07_2675.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_14_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":["1372193641","1372193671","1372193650","1372193693","1372193681","1372193657"],"photo_ids_order":["1372193641","1372193650","1372193657","1372193671","1372193681","1372193693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23f1eade71d9c90fe9652fb9b54a705f.jpg","text":"TemporaryFile(/tmp/multipartBody9126615237399367633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_39_44_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8ea62356f0057493265fd7b0506a57b.jpg","text":"TemporaryFile(/tmp/multipartBody2331340480440357862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_39_58_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f800e1ad03f763fd30e02a806e9e659.jpg","text":"TemporaryFile(/tmp/multipartBody8492595092621607211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_39_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7082b189808cb087696b91184944408e.jpg","text":"TemporaryFile(/tmp/multipartBody7553855786126347794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_40_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/7/15/9b94f9e3789508ea0a7e99d34095aca6.jpg","text":"TemporaryFile(/tmp/multipartBody6747605540916191379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_40_07_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a48836e35b1cb5373893d79a5e57d40.jpg","text":"TemporaryFile(/tmp/multipartBody6045156455283919682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594523007,"filename":"image_15072025_14_39_56_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193657","file1":"1372193650","file0":"1372193641","file4":"1372193681","file5":"1372193693","file3":"1372193671"},"map_files_photo_id_array":[{"photo_id":"1372193693","filename":"file5"},{"photo_id":"1372193657","filename":"file2"},{"photo_id":"1372193681","filename":"file4"},{"photo_id":"1372193650","filename":"file1"},{"photo_id":"1372193641","filename":"file0"},{"photo_id":"1372193671","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372193641":["hashtag1","hashtag2"]},{"1372193671":["hashtag1","hashtag2"]},{"1372193650":["hashtag1","hashtag2"]},{"1372193693":["hashtag1","hashtag2"]},{"1372193681":["hashtag1","hashtag2"]},{"1372193657":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372193641, 1372193671, 1372193650, 1372193693, 1372193681, 1372193657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.764583110809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:48:42.200097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_20_3709.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_23_2795.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_25_2685.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_28_2603.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_34_2549.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_01_2586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_20_3709.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_23_2795.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_25_2685.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_28_2603.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_34_2549.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_01_2586.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7610361576080322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:49:03.506658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_20_3709.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_23_2795.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_25_2685.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_28_2603.jpg', '/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_34_2549.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_01_2586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_20_3709.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_23_2795.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_25_2685.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_28_2603.jpg
/home/pi/Desktop/images/15072025/14/40/image_15072025_14_40_34_2549.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_01_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372193738","1372193708","1372193794","1372193713","1372193799","1372193787"],"photo_ids_order":["1372193708","1372193713","1372193738","1372193787","1372193794","1372193799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/63370f1daee356411d84fa8abdcfeea3.jpg","text":"TemporaryFile(/tmp/multipartBody8157517989068578802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_40_25_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d45aa2cbf4a43093751499c243addfa.jpg","text":"TemporaryFile(/tmp/multipartBody2613269658772959964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_40_20_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f8f52f14c78bf452f0cc873f2604472d.jpg","text":"TemporaryFile(/tmp/multipartBody8237232010888231784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_40_34_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79f90994c6431620d0f7dcf2b2e6b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8243913696912096947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_40_23_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be4f3747e89a72e7a717fbe410bf36d0.jpg","text":"TemporaryFile(/tmp/multipartBody7372255159599756342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_41_01_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d86cbc5d085aad31f3b7021aeb41cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5102199730189943457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594604841,"filename":"image_15072025_14_40_28_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193738","file1":"1372193713","file0":"1372193708","file4":"1372193794","file5":"1372193799","file3":"1372193787"},"map_files_photo_id_array":[{"photo_id":"1372193799","filename":"file5"},{"photo_id":"1372193738","filename":"file2"},{"photo_id":"1372193794","filename":"file4"},{"photo_id":"1372193713","filename":"file1"},{"photo_id":"1372193708","filename":"file0"},{"photo_id":"1372193787","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372193738":["hashtag1","hashtag2"]},{"1372193708":["hashtag1","hashtag2"]},{"1372193794":["hashtag1","hashtag2"]},{"1372193713":["hashtag1","hashtag2"]},{"1372193799":["hashtag1","hashtag2"]},{"1372193787":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372193738, 1372193708, 1372193794, 1372193713, 1372193799, 1372193787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69790172576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:50:03.185114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_07_3564.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_23_3641.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_25_2746.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_28_2587.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_34_2577.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_37_2578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_07_3564.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_23_3641.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_25_2746.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_28_2587.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_34_2577.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_37_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":["1372193932","1372193875","1372193880","1372193859","1372193907","1372193885"],"photo_ids_order":["1372193859","1372193875","1372193880","1372193885","1372193907","1372193932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d924e48671952edebdd859ba77e93e39.jpg","text":"TemporaryFile(/tmp/multipartBody2211452559181046819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_37_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1aff361116295a586a205e4ad6d4e93.jpg","text":"TemporaryFile(/tmp/multipartBody3297798607232634584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_23_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7ef68382dc47e8805d11c8a9c67905c.jpg","text":"TemporaryFile(/tmp/multipartBody7292118781592764779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_25_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06b97cd07c698f5f30ea38961b4a8345.jpg","text":"TemporaryFile(/tmp/multipartBody1094204876932870003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_07_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b6c3d543004846603fa90e055232efa.jpg","text":"TemporaryFile(/tmp/multipartBody3584671423641579691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_34_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/630607a4f6165e32d6801e17560f28e0.jpg","text":"TemporaryFile(/tmp/multipartBody6606091649813777803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594664395,"filename":"image_15072025_14_41_28_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372193880","file1":"1372193875","file0":"1372193859","file4":"1372193907","file5":"1372193932","file3":"1372193885"},"map_files_photo_id_array":[{"photo_id":"1372193932","filename":"file5"},{"photo_id":"1372193880","filename":"file2"},{"photo_id":"1372193907","filename":"file4"},{"photo_id":"1372193875","filename":"file1"},{"photo_id":"1372193859","filename":"file0"},{"photo_id":"1372193885","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372193932":["hashtag1","hashtag2"]},{"1372193875":["hashtag1","hashtag2"]},{"1372193880":["hashtag1","hashtag2"]},{"1372193859":["hashtag1","hashtag2"]},{"1372193907":["hashtag1","hashtag2"]},{"1372193885":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372193932, 1372193875, 1372193880, 1372193859, 1372193907, 1372193885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.825820207595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:51:02.607036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_40_3553.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_43_2734.jpg', '/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_49_3614.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_02_3631.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_19_2583.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_25_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_40_3553.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_43_2734.jpg
/home/pi/Desktop/images/15072025/14/41/image_15072025_14_41_49_3614.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_02_3631.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_19_2583.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_25_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372194305","1372194262","1372194297","1372194294","1372194189","1372194300"],"photo_ids_order":["1372194189","1372194262","1372194294","1372194297","1372194300","1372194305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b642526f7b40f3a0af51e9c852108f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6314181824767968813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_42_25_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b41cf7c14cb02a5ee52cc183f3d96d43.jpg","text":"TemporaryFile(/tmp/multipartBody1801289621965427691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_41_43_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f49856e8059c9190249def05fae1e80a.jpg","text":"TemporaryFile(/tmp/multipartBody7309424194666909114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_42_02_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e16f3381b2a50eb44a03f3613f7a5d49.jpg","text":"TemporaryFile(/tmp/multipartBody1768999036487634784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_41_49_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17d567799579d3b97d895091afd2e38c.jpg","text":"TemporaryFile(/tmp/multipartBody7051699510835745402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_41_40_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d77c1c98ef8ad1b98eb6a1d7a1e2e956.jpg","text":"TemporaryFile(/tmp/multipartBody5748324216870159235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594723941,"filename":"image_15072025_14_42_19_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372194294","file1":"1372194262","file0":"1372194189","file4":"1372194300","file5":"1372194305","file3":"1372194297"},"map_files_photo_id_array":[{"photo_id":"1372194305","filename":"file5"},{"photo_id":"1372194294","filename":"file2"},{"photo_id":"1372194300","filename":"file4"},{"photo_id":"1372194262","filename":"file1"},{"photo_id":"1372194189","filename":"file0"},{"photo_id":"1372194297","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372194305":["hashtag1","hashtag2"]},{"1372194262":["hashtag1","hashtag2"]},{"1372194297":["hashtag1","hashtag2"]},{"1372194294":["hashtag1","hashtag2"]},{"1372194189":["hashtag1","hashtag2"]},{"1372194300":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372194305, 1372194262, 1372194297, 1372194294, 1372194189, 1372194300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.452064037323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:52:02.646168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_41_3712.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_43_2637.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_46_2787.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_53_2859.jpg', '/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_55_2755.jpg', '/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_01_2783.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_41_3712.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_43_2637.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_46_2787.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_53_2859.jpg
/home/pi/Desktop/images/15072025/14/42/image_15072025_14_42_55_2755.jpg
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_01_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":["1372194466","1372194478","1372194492","1372194531","1372194489","1372194447"],"photo_ids_order":["1372194447","1372194466","1372194478","1372194489","1372194492","1372194531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d609cce4d5e321397fb03c6877b05fd6.jpg","text":"TemporaryFile(/tmp/multipartBody531825415072513497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_42_43_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29bb30a8cdc851cb5946638808e1cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody6158720214731727139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_42_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/7/15/5d83e8aaeb736b423a82e3d0691e035e.jpg","text":"TemporaryFile(/tmp/multipartBody9101415307273296751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_42_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/7/15/519bea92951df9a1aed19e205ea7e974.jpg","text":"TemporaryFile(/tmp/multipartBody5872661939753775522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_43_01_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5358552beed4cbe38361a04538b7456e.jpg","text":"TemporaryFile(/tmp/multipartBody8869110536636034964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_42_53_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/336979c23fd026c77b42690524a9aec5.jpg","text":"TemporaryFile(/tmp/multipartBody5602848881858012301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594783842,"filename":"image_15072025_14_42_41_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372194478","file1":"1372194466","file0":"1372194447","file4":"1372194492","file5":"1372194531","file3":"1372194489"},"map_files_photo_id_array":[{"photo_id":"1372194531","filename":"file5"},{"photo_id":"1372194478","filename":"file2"},{"photo_id":"1372194492","filename":"file4"},{"photo_id":"1372194466","filename":"file1"},{"photo_id":"1372194447","filename":"file0"},{"photo_id":"1372194489","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372194466":["hashtag1","hashtag2"]},{"1372194478":["hashtag1","hashtag2"]},{"1372194492":["hashtag1","hashtag2"]},{"1372194531":["hashtag1","hashtag2"]},{"1372194489":["hashtag1","hashtag2"]},{"1372194447":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372194466, 1372194478, 1372194492, 1372194531, 1372194489, 1372194447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.53731417655945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:53:03.032059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_05_3787.jpg', '/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_40_2771.jpg', '/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_46_3681.jpg', '/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_49_2582.jpg', '/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_55_3733.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_01_2577.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_05_3787.jpg
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_40_2771.jpg
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_46_3681.jpg
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_49_2582.jpg
/home/pi/Desktop/images/15072025/14/43/image_15072025_14_43_55_3733.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_01_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372194780","1372194897","1372194831","1372194851","1372194833","1372194719"],"photo_ids_order":["1372194719","1372194780","1372194831","1372194833","1372194851","1372194897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dccde5e19b9ff2b3c1ce9327dc8d22b0.jpg","text":"TemporaryFile(/tmp/multipartBody7325889577963341342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_43_40_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61dd3832ea38a4406a53bf25e358a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody539224447864320477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_44_01_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de82861707a890a1320805b1f504f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4793344405136478776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_43_46_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee863eeeb63c276936aa045a050e14e9.jpg","text":"TemporaryFile(/tmp/multipartBody5400195893098176633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_43_55_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9781ebf6bb24403a79efa40f6096de99.jpg","text":"TemporaryFile(/tmp/multipartBody5767563041603408729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_43_49_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46176f12ae91ab6df942919b80985f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8083815834936274152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594844287,"filename":"image_15072025_14_43_05_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372194831","file1":"1372194780","file0":"1372194719","file4":"1372194851","file5":"1372194897","file3":"1372194833"},"map_files_photo_id_array":[{"photo_id":"1372194897","filename":"file5"},{"photo_id":"1372194831","filename":"file2"},{"photo_id":"1372194851","filename":"file4"},{"photo_id":"1372194780","filename":"file1"},{"photo_id":"1372194719","filename":"file0"},{"photo_id":"1372194833","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372194780":["hashtag1","hashtag2"]},{"1372194897":["hashtag1","hashtag2"]},{"1372194831":["hashtag1","hashtag2"]},{"1372194851":["hashtag1","hashtag2"]},{"1372194833":["hashtag1","hashtag2"]},{"1372194719":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372194780, 1372194897, 1372194831, 1372194851, 1372194833, 1372194719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38843631744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:54:03.227306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_10_2620.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_19_2795.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_22_2645.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_34_3610.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_40_2718.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_46_2725.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_10_2620.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_19_2795.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_22_2645.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_34_3610.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_40_2718.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_46_2725.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8517537117004395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:54:22.676762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_10_2620.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_19_2795.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_22_2645.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_34_3610.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_40_2718.jpg', '/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_46_2725.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_10_2620.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_19_2795.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_22_2645.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_34_3610.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_40_2718.jpg
/home/pi/Desktop/images/15072025/14/44/image_15072025_14_44_46_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372195348","1372195315","1372195345","1372195303","1372195299","1372195294"],"photo_ids_order":["1372195294","1372195299","1372195303","1372195315","1372195345","1372195348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e33a1d53e7291d38af195235e056fb1d.jpg","text":"TemporaryFile(/tmp/multipartBody1665672691065661736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea2edd84af3efb869986e220c56a997f.jpg","text":"TemporaryFile(/tmp/multipartBody1737755643484486583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_34_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f9db6a842a90689b9dd0867791faef8.jpg","text":"TemporaryFile(/tmp/multipartBody9163821002208640402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_40_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d2d9286c733e69ad0e6dbdd6c844344.jpg","text":"TemporaryFile(/tmp/multipartBody1695444420156937036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_22_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d76bd348626dcc6363acf4439b889736.jpg","text":"TemporaryFile(/tmp/multipartBody7087525946279075286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_19_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8406d12f954b92a558e2c5b1e58def5.jpg","text":"TemporaryFile(/tmp/multipartBody9149059346334199463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594923832,"filename":"image_15072025_14_44_10_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372195303","file1":"1372195299","file0":"1372195294","file4":"1372195345","file5":"1372195348","file3":"1372195315"},"map_files_photo_id_array":[{"photo_id":"1372195348","filename":"file5"},{"photo_id":"1372195303","filename":"file2"},{"photo_id":"1372195345","filename":"file4"},{"photo_id":"1372195299","filename":"file1"},{"photo_id":"1372195294","filename":"file0"},{"photo_id":"1372195315","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372195348":["hashtag1","hashtag2"]},{"1372195315":["hashtag1","hashtag2"]},{"1372195345":["hashtag1","hashtag2"]},{"1372195303":["hashtag1","hashtag2"]},{"1372195299":["hashtag1","hashtag2"]},{"1372195294":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372195348, 1372195315, 1372195345, 1372195303, 1372195299, 1372195294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91610670089722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:55:21.936881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_04_2652.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_22_2631.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_28_3680.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_31_2661.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_40_3702.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_43_2717.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_04_2652.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_22_2631.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_28_3680.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_31_2661.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_40_3702.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_43_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372195381","1372195353","1372195608","1372195670","1372195553","1372195478"],"photo_ids_order":["1372195353","1372195381","1372195478","1372195553","1372195608","1372195670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f1cacba55c86acc7f9d2265d38b7808.jpg","text":"TemporaryFile(/tmp/multipartBody2481157541291908557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_22_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8920aeb34f05a1542d21bd518a50ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody3449251900500330763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_04_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6302c8ed0c318fdfe7fe81f1c43d9436.jpg","text":"TemporaryFile(/tmp/multipartBody441509052815855454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_40_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/135fc507404ef9f4461e30fd5273a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5138239336480919518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_43_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a6cd7fc2d5a2e04d2ec6b83c6f533b9a.jpg","text":"TemporaryFile(/tmp/multipartBody584210850021031494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/728cfdc5b445f6ecf37d37756b023b89.jpg","text":"TemporaryFile(/tmp/multipartBody7065460484649809921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752594983074,"filename":"image_15072025_14_45_28_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372195478","file1":"1372195381","file0":"1372195353","file4":"1372195608","file5":"1372195670","file3":"1372195553"},"map_files_photo_id_array":[{"photo_id":"1372195670","filename":"file5"},{"photo_id":"1372195478","filename":"file2"},{"photo_id":"1372195608","filename":"file4"},{"photo_id":"1372195381","filename":"file1"},{"photo_id":"1372195353","filename":"file0"},{"photo_id":"1372195553","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372195381":["hashtag1","hashtag2"]},{"1372195353":["hashtag1","hashtag2"]},{"1372195608":["hashtag1","hashtag2"]},{"1372195670":["hashtag1","hashtag2"]},{"1372195553":["hashtag1","hashtag2"]},{"1372195478":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372195381, 1372195353, 1372195608, 1372195670, 1372195553, 1372195478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3369357585907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 17:56:22.227074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_46_2641.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_49_3627.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_52_2594.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_55_2586.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_58_3657.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_01_2779.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_46_2641.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_49_3627.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_52_2594.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_55_2586.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_58_3657.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_01_2779.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7256371974945068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:56:42.250670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_46_2641.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_49_3627.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_52_2594.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_55_2586.jpg', '/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_58_3657.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_01_2779.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_46_2641.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_49_3627.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_52_2594.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_55_2586.jpg
/home/pi/Desktop/images/15072025/14/45/image_15072025_14_45_58_3657.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_01_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372195977","1372195848","1372195833","1372195923","1372195898","1372195946"],"photo_ids_order":["1372195833","1372195848","1372195898","1372195923","1372195946","1372195977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f01a0f9183d6952308508c9f1821b48a.jpg","text":"TemporaryFile(/tmp/multipartBody1305487132534712932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_46_01_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38c05843493ce8fff101927893a05fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3221121164792736396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_45_49_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/671a55ad38aa394a1c876b3c8e110f87.jpg","text":"TemporaryFile(/tmp/multipartBody3755135530327860205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_45_46_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3fb9065ab4de28291f2098d39c335091.jpg","text":"TemporaryFile(/tmp/multipartBody7823256557581990665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_45_55_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7de93839fefda53098c18417f91abf5c.jpg","text":"TemporaryFile(/tmp/multipartBody3619484045649679507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_45_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/7/15/07365ac8fbfff95975f4e8be3ef99df3.jpg","text":"TemporaryFile(/tmp/multipartBody1020633610991260923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595063384,"filename":"image_15072025_14_45_58_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372195898","file1":"1372195848","file0":"1372195833","file4":"1372195946","file5":"1372195977","file3":"1372195923"},"map_files_photo_id_array":[{"photo_id":"1372195977","filename":"file5"},{"photo_id":"1372195898","filename":"file2"},{"photo_id":"1372195946","filename":"file4"},{"photo_id":"1372195848","filename":"file1"},{"photo_id":"1372195833","filename":"file0"},{"photo_id":"1372195923","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372195977":["hashtag1","hashtag2"]},{"1372195848":["hashtag1","hashtag2"]},{"1372195833":["hashtag1","hashtag2"]},{"1372195923":["hashtag1","hashtag2"]},{"1372195898":["hashtag1","hashtag2"]},{"1372195946":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372195977, 1372195848, 1372195833, 1372195923, 1372195898, 1372195946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66826558113098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 17:57:42.514816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_10_2812.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_13_2742.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_16_2783.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_19_3698.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_22_2695.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_25_2814.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_10_2812.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_13_2742.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_16_2783.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_19_3698.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_22_2695.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_25_2814.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.794043779373169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 17:59:02.990598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_10_2812.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_13_2742.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_16_2783.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_19_3698.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_22_2695.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_25_2814.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_10_2812.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_13_2742.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_16_2783.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_19_3698.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_22_2695.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_25_2814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372196104","1372196169","1372196171","1372196183","1372196117","1372196155"],"photo_ids_order":["1372196104","1372196117","1372196155","1372196169","1372196171","1372196183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45fd6921e888c2392d22605685fcf140.jpg","text":"TemporaryFile(/tmp/multipartBody2867986366413174361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_10_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a70620b907b47e9e3493ab40b748bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1200991082327328025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_19_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9f1064e987d6a24f1a0c48f0d81c6bdd.jpg","text":"TemporaryFile(/tmp/multipartBody880468189841477322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_22_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a220ef08cc230cdd992ce67f1ce4f234.jpg","text":"TemporaryFile(/tmp/multipartBody5706072882093579090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_25_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fc1ba83b8b05e4486a45cbbc876c5cac.jpg","text":"TemporaryFile(/tmp/multipartBody7325198515786285084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_13_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a3f3579695d9d229335ce5c00ca5971.jpg","text":"TemporaryFile(/tmp/multipartBody8713962762416961794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595204301,"filename":"image_15072025_14_46_16_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372196155","file1":"1372196117","file0":"1372196104","file4":"1372196171","file5":"1372196183","file3":"1372196169"},"map_files_photo_id_array":[{"photo_id":"1372196183","filename":"file5"},{"photo_id":"1372196155","filename":"file2"},{"photo_id":"1372196171","filename":"file4"},{"photo_id":"1372196117","filename":"file1"},{"photo_id":"1372196104","filename":"file0"},{"photo_id":"1372196169","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372196104":["hashtag1","hashtag2"]},{"1372196169":["hashtag1","hashtag2"]},{"1372196171":["hashtag1","hashtag2"]},{"1372196183":["hashtag1","hashtag2"]},{"1372196117":["hashtag1","hashtag2"]},{"1372196155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372196104, 1372196169, 1372196171, 1372196183, 1372196117, 1372196155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53225803375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:00:02.903691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_31_3763.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_43_3653.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_46_2558.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_49_3629.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_52_2706.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_58_3524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_31_3763.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_43_3653.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_46_2558.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_49_3629.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_52_2706.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_58_3524.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.783954381942749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:00:22.286533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_31_3763.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_43_3653.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_46_2558.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_49_3629.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_52_2706.jpg', '/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_58_3524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_31_3763.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_43_3653.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_46_2558.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_49_3629.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_52_2706.jpg
/home/pi/Desktop/images/15072025/14/46/image_15072025_14_46_58_3524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372196478","1372196459","1372196447","1372196470","1372196464","1372196467"],"photo_ids_order":["1372196447","1372196459","1372196464","1372196467","1372196470","1372196478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/106b24a17ee1a6517380e66a757f1692.jpg","text":"TemporaryFile(/tmp/multipartBody7952405205465461870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_58_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36c036c97f32ec82b5dc3e1210483057.jpg","text":"TemporaryFile(/tmp/multipartBody3388523136769140996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_43_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9dbe698f6d53bf7d79e0720650c9d240.jpg","text":"TemporaryFile(/tmp/multipartBody4516440686052807262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_31_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9c48837589078b04f51eddc2935f9e6.jpg","text":"TemporaryFile(/tmp/multipartBody6325740291577516727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_52_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc19d8b66cafa466d2dbdf6488278889.jpg","text":"TemporaryFile(/tmp/multipartBody2112039615211674425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_46_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fc927f5b97bd41b097b7eee8be0b424b.jpg","text":"TemporaryFile(/tmp/multipartBody1914940780334919409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595283419,"filename":"image_15072025_14_46_49_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372196464","file1":"1372196459","file0":"1372196447","file4":"1372196470","file5":"1372196478","file3":"1372196467"},"map_files_photo_id_array":[{"photo_id":"1372196478","filename":"file5"},{"photo_id":"1372196464","filename":"file2"},{"photo_id":"1372196470","filename":"file4"},{"photo_id":"1372196459","filename":"file1"},{"photo_id":"1372196447","filename":"file0"},{"photo_id":"1372196467","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372196478":["hashtag1","hashtag2"]},{"1372196459":["hashtag1","hashtag2"]},{"1372196447":["hashtag1","hashtag2"]},{"1372196470":["hashtag1","hashtag2"]},{"1372196464":["hashtag1","hashtag2"]},{"1372196467":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372196478, 1372196459, 1372196447, 1372196470, 1372196464, 1372196467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.06667518615723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:01:22.570420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_04_2728.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_13_2691.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_15_2618.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_19_3856.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_22_2574.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_24_2553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_04_2728.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_13_2691.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_15_2618.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_19_3856.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_22_2574.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_24_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372196757","1372196978","1372196904","1372196684","1372196612","1372196851"],"photo_ids_order":["1372196612","1372196684","1372196757","1372196851","1372196904","1372196978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e1bcfb71b1e4a86eefbca60d4701c77.jpg","text":"TemporaryFile(/tmp/multipartBody1105233306356893681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_15_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30c27d98972588c3de8199876fc77280.jpg","text":"TemporaryFile(/tmp/multipartBody7892982741729970268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_24_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8557f60eecd8e87db17c2068df38d597.jpg","text":"TemporaryFile(/tmp/multipartBody6966009295961861864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_22_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45d71a837335081a397642dfefcd8597.jpg","text":"TemporaryFile(/tmp/multipartBody2388989726124147752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_13_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3375adaa2cb4cf504f1e45b47978f350.jpg","text":"TemporaryFile(/tmp/multipartBody8722519326840672742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_04_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/73647fa2e706c63c1bf3506400a091d4.jpg","text":"TemporaryFile(/tmp/multipartBody2081353957772820742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595343681,"filename":"image_15072025_14_47_19_3856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372196757","file1":"1372196684","file0":"1372196612","file4":"1372196904","file5":"1372196978","file3":"1372196851"},"map_files_photo_id_array":[{"photo_id":"1372196978","filename":"file5"},{"photo_id":"1372196757","filename":"file2"},{"photo_id":"1372196904","filename":"file4"},{"photo_id":"1372196684","filename":"file1"},{"photo_id":"1372196612","filename":"file0"},{"photo_id":"1372196851","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372196757":["hashtag1","hashtag2"]},{"1372196978":["hashtag1","hashtag2"]},{"1372196904":["hashtag1","hashtag2"]},{"1372196684":["hashtag1","hashtag2"]},{"1372196612":["hashtag1","hashtag2"]},{"1372196851":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372196757, 1372196978, 1372196904, 1372196684, 1372196612, 1372196851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93937611579895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:02:22.017943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_43_1562.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_59_16245.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_22_14776.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_31_9076.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_58_1518.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_49_00_1644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_43_1562.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_59_16245.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_22_14776.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_31_9076.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_58_1518.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_49_00_1644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7134931087493896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:02:42.021986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_43_1562.jpg', '/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_59_16245.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_22_14776.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_31_9076.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_58_1518.jpg', '/home/pi/Desktop/images/15072025/14/48/image_15072025_14_49_00_1644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_43_1562.jpg
/home/pi/Desktop/images/15072025/14/47/image_15072025_14_47_59_16245.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_22_14776.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_31_9076.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_48_58_1518.jpg
/home/pi/Desktop/images/15072025/14/48/image_15072025_14_49_00_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372197309","1372197287","1372197269","1372197314","1372197274","1372197301"],"photo_ids_order":["1372197269","1372197274","1372197287","1372197301","1372197309","1372197314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3db078645669e2cba0d4999188443874.jpg","text":"TemporaryFile(/tmp/multipartBody3591238087100495296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_48_58_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05401ba519acbf3dea65cdc2487a66a0.jpg","text":"TemporaryFile(/tmp/multipartBody5626798343109174467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_48_22_14776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f8af3e1d78a15fc4131d2e627c2a66c.jpg","text":"TemporaryFile(/tmp/multipartBody2290453527914022736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_47_43_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a9cb39f79aed21c1ae22efd4a1c0300.jpg","text":"TemporaryFile(/tmp/multipartBody9182199157362563229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_49_00_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a788b444f3c32ef1348313c87219052c.jpg","text":"TemporaryFile(/tmp/multipartBody6255337058671818259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_47_59_16245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/753eed08ad4461e2905cd98b4aa5af9d.jpg","text":"TemporaryFile(/tmp/multipartBody4517924440385578154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595423146,"filename":"image_15072025_14_48_31_9076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372197287","file1":"1372197274","file0":"1372197269","file4":"1372197309","file5":"1372197314","file3":"1372197301"},"map_files_photo_id_array":[{"photo_id":"1372197314","filename":"file5"},{"photo_id":"1372197287","filename":"file2"},{"photo_id":"1372197309","filename":"file4"},{"photo_id":"1372197274","filename":"file1"},{"photo_id":"1372197269","filename":"file0"},{"photo_id":"1372197301","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372197309":["hashtag1","hashtag2"]},{"1372197287":["hashtag1","hashtag2"]},{"1372197269":["hashtag1","hashtag2"]},{"1372197314":["hashtag1","hashtag2"]},{"1372197274":["hashtag1","hashtag2"]},{"1372197301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372197309, 1372197287, 1372197269, 1372197314, 1372197274, 1372197301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.615302085876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:03:42.424656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_07_7097.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_10_1541.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_16_1638.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_31_1810.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_32_1782.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_34_1585.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_07_7097.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_10_1541.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_16_1638.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_31_1810.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_32_1782.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_34_1585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7606000900268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:04:02.654831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_07_7097.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_10_1541.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_16_1638.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_31_1810.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_32_1782.jpg', '/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_34_1585.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_07_7097.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_10_1541.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_16_1638.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_31_1810.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_32_1782.jpg
/home/pi/Desktop/images/15072025/14/49/image_15072025_14_49_34_1585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372197426","1372197435","1372197429","1372197440","1372197466","1372197444"],"photo_ids_order":["1372197426","1372197429","1372197435","1372197440","1372197444","1372197466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8cfb6ad4f91dd86df9f3d25d3e4e2ff2.jpg","text":"TemporaryFile(/tmp/multipartBody171961524897466810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_07_7097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f091920e518aa2702be9a50702473a0.jpg","text":"TemporaryFile(/tmp/multipartBody3406912831507064292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_16_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d271abf0e1b22b591e486f08a9efd00.jpg","text":"TemporaryFile(/tmp/multipartBody1547643807598887878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_10_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7ed53de76ef44ab980dd455236e6aca.jpg","text":"TemporaryFile(/tmp/multipartBody731579982577593227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_31_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14c5855de154269d07d6853d43aa3c05.jpg","text":"TemporaryFile(/tmp/multipartBody4834689979135033736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_34_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/017bc2ee3211b92292bf5ba53ab306ea.jpg","text":"TemporaryFile(/tmp/multipartBody7611094369218425008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595503893,"filename":"image_15072025_14_49_32_1782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372197435","file1":"1372197429","file0":"1372197426","file4":"1372197444","file5":"1372197466","file3":"1372197440"},"map_files_photo_id_array":[{"photo_id":"1372197466","filename":"file5"},{"photo_id":"1372197435","filename":"file2"},{"photo_id":"1372197444","filename":"file4"},{"photo_id":"1372197429","filename":"file1"},{"photo_id":"1372197426","filename":"file0"},{"photo_id":"1372197440","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372197426":["hashtag1","hashtag2"]},{"1372197435":["hashtag1","hashtag2"]},{"1372197429":["hashtag1","hashtag2"]},{"1372197440":["hashtag1","hashtag2"]},{"1372197466":["hashtag1","hashtag2"]},{"1372197444":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372197426, 1372197435, 1372197429, 1372197440, 1372197466, 1372197444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.581528186798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:05:03.269998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_08_33461.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_09_1881.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_34_1875.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_35_1632.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_37_1624.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_42_1576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_08_33461.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_09_1881.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_34_1875.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_35_1632.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_37_1624.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_42_1576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9153096675872803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:05:22.467565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_08_33461.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_09_1881.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_34_1875.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_35_1632.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_37_1624.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_42_1576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_08_33461.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_09_1881.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_34_1875.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_35_1632.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_37_1624.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_42_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372198780","1372198624","1372198429","1372198909","1372198239","1372199004"],"photo_ids_order":["1372198239","1372198429","1372198624","1372198780","1372198909","1372199004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e4a8fde1c0cd86e7ecdcb709af4c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody2239410239857097352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_35_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a24c67f5c4ae731e65dace82c8725b92.jpg","text":"TemporaryFile(/tmp/multipartBody7745394747911503248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_34_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dab66e737bbe3cd33039c48b9e27d967.jpg","text":"TemporaryFile(/tmp/multipartBody980169200559202346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_09_1881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc1dda5a29906a83783284db82cd7e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4984568209677541377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_37_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7cefc43d4e1e2538506d5dc786e74135.jpg","text":"TemporaryFile(/tmp/multipartBody3894361664111235750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_08_33461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/11f808d93c8563e0b998dbad6698f538.jpg","text":"TemporaryFile(/tmp/multipartBody3935356790378046060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595583545,"filename":"image_15072025_14_50_42_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372198624","file1":"1372198429","file0":"1372198239","file4":"1372198909","file5":"1372199004","file3":"1372198780"},"map_files_photo_id_array":[{"photo_id":"1372199004","filename":"file5"},{"photo_id":"1372198624","filename":"file2"},{"photo_id":"1372198909","filename":"file4"},{"photo_id":"1372198429","filename":"file1"},{"photo_id":"1372198239","filename":"file0"},{"photo_id":"1372198780","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372198780":["hashtag1","hashtag2"]},{"1372198624":["hashtag1","hashtag2"]},{"1372198429":["hashtag1","hashtag2"]},{"1372198909":["hashtag1","hashtag2"]},{"1372198239":["hashtag1","hashtag2"]},{"1372199004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372198780, 1372198624, 1372198429, 1372198909, 1372198239, 1372199004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.23025465011597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:06:22.466011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_43_1604.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_46_1526.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_50_1847.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_53_1614.jpg', '/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_55_1644.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_06_1641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_43_1604.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_46_1526.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_50_1847.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_53_1614.jpg
/home/pi/Desktop/images/15072025/14/50/image_15072025_14_50_55_1644.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_06_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372199327","1372199419","1372199391","1372199460","1372199520","1372199273"],"photo_ids_order":["1372199273","1372199327","1372199391","1372199419","1372199460","1372199520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f8b0e2cb31c292ce860140aaeb4fb87a.jpg","text":"TemporaryFile(/tmp/multipartBody7580867642762819720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_50_46_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/837e3dc1400b05e536eb8b57b737deb4.jpg","text":"TemporaryFile(/tmp/multipartBody890488996784390140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_50_53_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/107286eefa1a392ab79ae6a2800232e2.jpg","text":"TemporaryFile(/tmp/multipartBody4056855581374744568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_50_50_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70da373b14a3c947b7a919b964ee9410.jpg","text":"TemporaryFile(/tmp/multipartBody3428850892497680240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_50_55_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/60e054da2f7690fb84e795c38bf99427.jpg","text":"TemporaryFile(/tmp/multipartBody5586102705107923800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_51_06_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c3498895246905c686e63b54c7c92f6.jpg","text":"TemporaryFile(/tmp/multipartBody2772213646253798419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595643567,"filename":"image_15072025_14_50_43_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372199391","file1":"1372199327","file0":"1372199273","file4":"1372199460","file5":"1372199520","file3":"1372199419"},"map_files_photo_id_array":[{"photo_id":"1372199520","filename":"file5"},{"photo_id":"1372199391","filename":"file2"},{"photo_id":"1372199460","filename":"file4"},{"photo_id":"1372199327","filename":"file1"},{"photo_id":"1372199273","filename":"file0"},{"photo_id":"1372199419","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372199327":["hashtag1","hashtag2"]},{"1372199419":["hashtag1","hashtag2"]},{"1372199391":["hashtag1","hashtag2"]},{"1372199460":["hashtag1","hashtag2"]},{"1372199520":["hashtag1","hashtag2"]},{"1372199273":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372199327, 1372199419, 1372199391, 1372199460, 1372199520, 1372199273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.561464071273804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:07:22.625238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_10_1555.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_15_1548.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_23_1612.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_24_1558.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_29_1568.jpg', '/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_32_1704.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_10_1555.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_15_1548.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_23_1612.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_24_1558.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_29_1568.jpg
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_32_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372199825","1372199758","1372199976","1372199871","1372199811","1372200152"],"photo_ids_order":["1372199758","1372199811","1372199825","1372199871","1372199976","1372200152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e2be68f8fe191ca730d342a7b7f5c87.jpg","text":"TemporaryFile(/tmp/multipartBody8590606871048588741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_23_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9f5bcdf4213b87d10eb5e96765dcb89.jpg","text":"TemporaryFile(/tmp/multipartBody7145591887660192796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_10_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd0364b86ae8c75644d45d9099f229c8.jpg","text":"TemporaryFile(/tmp/multipartBody285730401472553944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_29_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f5d5f1f1c814138c37d16e159f90c293.jpg","text":"TemporaryFile(/tmp/multipartBody1795272192086738926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_24_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06ee6dabf430c138d510d3064bc1f032.jpg","text":"TemporaryFile(/tmp/multipartBody6739639237157555339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_15_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3c19ae109277ccc8c947267cfd8c724f.jpg","text":"TemporaryFile(/tmp/multipartBody3581826872972350199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595703717,"filename":"image_15072025_14_51_32_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372199825","file1":"1372199811","file0":"1372199758","file4":"1372199976","file5":"1372200152","file3":"1372199871"},"map_files_photo_id_array":[{"photo_id":"1372200152","filename":"file5"},{"photo_id":"1372199825","filename":"file2"},{"photo_id":"1372199976","filename":"file4"},{"photo_id":"1372199811","filename":"file1"},{"photo_id":"1372199758","filename":"file0"},{"photo_id":"1372199871","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372199825":["hashtag1","hashtag2"]},{"1372199758":["hashtag1","hashtag2"]},{"1372199976":["hashtag1","hashtag2"]},{"1372199871":["hashtag1","hashtag2"]},{"1372199811":["hashtag1","hashtag2"]},{"1372200152":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372199825, 1372199758, 1372199976, 1372199871, 1372199811, 1372200152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8958683013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:08:22.018814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_50_1878.jpg', '/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_12_1701.jpg', '/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_24_1516.jpg', '/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_30_2819.jpg', '/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_36_3600.jpg', '/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_45_3554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/51/image_15072025_14_51_50_1878.jpg
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_12_1701.jpg
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_24_1516.jpg
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_30_2819.jpg
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_36_3600.jpg
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_45_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372200634","1372200681","1372200612","1372200551","1372200722","1372200500"],"photo_ids_order":["1372200500","1372200551","1372200612","1372200634","1372200681","1372200722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f9cb28b2d19dc088068e7ef7b908642.jpg","text":"TemporaryFile(/tmp/multipartBody942135044924740639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_52_30_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88a398bb5a88ca4e450a4cb80c9f2b03.jpg","text":"TemporaryFile(/tmp/multipartBody6390660904939294105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_52_36_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f925814f6e9218203d5b33dce128124d.jpg","text":"TemporaryFile(/tmp/multipartBody8428020858573927288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_52_24_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7c16beeeefb9c1034978b039f2239f9.jpg","text":"TemporaryFile(/tmp/multipartBody8176076652620551848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_52_12_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/badc05a6f47b757095ff3ab916ace688.jpg","text":"TemporaryFile(/tmp/multipartBody2764107656869544598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_52_45_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2bf6105e8dff5d2e161f4bd1f01c2f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7253360032732297150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595763104,"filename":"image_15072025_14_51_50_1878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372200612","file1":"1372200551","file0":"1372200500","file4":"1372200681","file5":"1372200722","file3":"1372200634"},"map_files_photo_id_array":[{"photo_id":"1372200722","filename":"file5"},{"photo_id":"1372200612","filename":"file2"},{"photo_id":"1372200681","filename":"file4"},{"photo_id":"1372200551","filename":"file1"},{"photo_id":"1372200500","filename":"file0"},{"photo_id":"1372200634","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372200634":["hashtag1","hashtag2"]},{"1372200681":["hashtag1","hashtag2"]},{"1372200612":["hashtag1","hashtag2"]},{"1372200551":["hashtag1","hashtag2"]},{"1372200722":["hashtag1","hashtag2"]},{"1372200500":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372200634, 1372200681, 1372200612, 1372200551, 1372200722, 1372200500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27129673957825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:09:22.333839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_54_3539.jpg', '/home/pi/Desktop/images/15072025/14/53/image_15072025_14_54_00_3735.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_12_2737.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_18_2704.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_27_2670.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_30_2674.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/52/image_15072025_14_52_54_3539.jpg
/home/pi/Desktop/images/15072025/14/53/image_15072025_14_54_00_3735.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_12_2737.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_18_2704.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_27_2670.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_30_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":["1372201123","1372201038","1372200978","1372201415","1372201231","1372201312"],"photo_ids_order":["1372200978","1372201038","1372201123","1372201231","1372201312","1372201415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb42dd910be369da88e964197749d992.jpg","text":"TemporaryFile(/tmp/multipartBody4950856816045717698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_54_12_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aa19ea23975abe6b17aeef1e190fadf0.jpg","text":"TemporaryFile(/tmp/multipartBody4061914730907185775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_54_00_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f778ac935709ff025c8304275ea9684d.jpg","text":"TemporaryFile(/tmp/multipartBody1919046280930670099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_52_54_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/365c31f8f17558f0a1469ce0a66c8370.jpg","text":"TemporaryFile(/tmp/multipartBody1323413506863221147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_54_30_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d76c4e99f1897a7cccb685800d284ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7491610510787830214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_54_18_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7637ad5ac2eae9cccea311fd4f733fa9.jpg","text":"TemporaryFile(/tmp/multipartBody2436518015605646978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595823450,"filename":"image_15072025_14_54_27_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372201123","file1":"1372201038","file0":"1372200978","file4":"1372201312","file5":"1372201415","file3":"1372201231"},"map_files_photo_id_array":[{"photo_id":"1372201415","filename":"file5"},{"photo_id":"1372201123","filename":"file2"},{"photo_id":"1372201312","filename":"file4"},{"photo_id":"1372201038","filename":"file1"},{"photo_id":"1372200978","filename":"file0"},{"photo_id":"1372201231","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372201123":["hashtag1","hashtag2"]},{"1372201038":["hashtag1","hashtag2"]},{"1372200978":["hashtag1","hashtag2"]},{"1372201415":["hashtag1","hashtag2"]},{"1372201231":["hashtag1","hashtag2"]},{"1372201312":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372201123, 1372201038, 1372200978, 1372201415, 1372201231, 1372201312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.328633069992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:10:22.058751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_33_3665.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_45_2531.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_54_2747.jpg', '/home/pi/Desktop/images/15072025/14/54/image_15072025_14_55_00_2560.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_06_2964.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_12_2773.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_33_3665.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_45_2531.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_54_54_2747.jpg
/home/pi/Desktop/images/15072025/14/54/image_15072025_14_55_00_2560.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_06_2964.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_12_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372201825","1372201782","1372201878","1372201673","1372201679","1372201727"],"photo_ids_order":["1372201673","1372201679","1372201727","1372201782","1372201825","1372201878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ae3a16b012973b0d73d46b9abb4f8f2.jpg","text":"TemporaryFile(/tmp/multipartBody7842826390939450003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_55_06_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69cf9ef7aa83a695528786bf843d063f.jpg","text":"TemporaryFile(/tmp/multipartBody7817068832277807428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_55_00_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7bc7f8506b74e0cba212ef77c6e01696.jpg","text":"TemporaryFile(/tmp/multipartBody2453589719883169958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_55_12_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38dcb2829ea4d2d8629ab11085ae8da7.jpg","text":"TemporaryFile(/tmp/multipartBody705772179200900705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_54_33_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/373ff3758c6c3882115e9d32a8ffa9e2.jpg","text":"TemporaryFile(/tmp/multipartBody1496637870976617974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_54_45_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67d4b413f681e5fb30e872ebe6a417a8.jpg","text":"TemporaryFile(/tmp/multipartBody4623005530313638502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595883265,"filename":"image_15072025_14_54_54_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372201727","file1":"1372201679","file0":"1372201673","file4":"1372201825","file5":"1372201878","file3":"1372201782"},"map_files_photo_id_array":[{"photo_id":"1372201878","filename":"file5"},{"photo_id":"1372201727","filename":"file2"},{"photo_id":"1372201825","filename":"file4"},{"photo_id":"1372201679","filename":"file1"},{"photo_id":"1372201673","filename":"file0"},{"photo_id":"1372201782","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372201825":["hashtag1","hashtag2"]},{"1372201782":["hashtag1","hashtag2"]},{"1372201878":["hashtag1","hashtag2"]},{"1372201673":["hashtag1","hashtag2"]},{"1372201679":["hashtag1","hashtag2"]},{"1372201727":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372201825, 1372201782, 1372201878, 1372201673, 1372201679, 1372201727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.58172845840454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:11:22.289982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_21_2647.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_24_2655.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_32_2673.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_39_2675.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_45_2596.jpg', '/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_51_3684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_21_2647.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_24_2655.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_32_2673.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_39_2675.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_45_2596.jpg
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_51_3684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372202175","1372201929","1372202248","1372202077","1372202323","1372202196"],"photo_ids_order":["1372201929","1372202077","1372202175","1372202196","1372202248","1372202323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71d5b6416553e54dc72a1ba962ace289.jpg","text":"TemporaryFile(/tmp/multipartBody3657508674172583369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2789ce98182bf4c4cee9e5e3b420409f.jpg","text":"TemporaryFile(/tmp/multipartBody8959793672152731725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_21_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9326f5718ac1043fdd4510837741a9b2.jpg","text":"TemporaryFile(/tmp/multipartBody3057272340078121619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_45_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/328239ca7d4d8362011e2f2b731409ae.jpg","text":"TemporaryFile(/tmp/multipartBody8273087254223137498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_24_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/140d8bcf6c8aef8aa8c54d299b1e7e31.jpg","text":"TemporaryFile(/tmp/multipartBody5856207095095729028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_51_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9168a70456ff3274d3fa323fc68cda7.jpg","text":"TemporaryFile(/tmp/multipartBody6803052739795424214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752595943453,"filename":"image_15072025_14_55_39_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372202175","file1":"1372202077","file0":"1372201929","file4":"1372202248","file5":"1372202323","file3":"1372202196"},"map_files_photo_id_array":[{"photo_id":"1372202323","filename":"file5"},{"photo_id":"1372202175","filename":"file2"},{"photo_id":"1372202248","filename":"file4"},{"photo_id":"1372202077","filename":"file1"},{"photo_id":"1372201929","filename":"file0"},{"photo_id":"1372202196","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372202175":["hashtag1","hashtag2"]},{"1372201929":["hashtag1","hashtag2"]},{"1372202248":["hashtag1","hashtag2"]},{"1372202077":["hashtag1","hashtag2"]},{"1372202323":["hashtag1","hashtag2"]},{"1372202196":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372202175, 1372201929, 1372202248, 1372202077, 1372202323, 1372202196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78364372253418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:12:21.853440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_57_2822.jpg', '/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_09_2813.jpg', '/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_18_2717.jpg', '/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_32_2550.jpg', '/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_39_2675.jpg', '/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_42_2607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/55/image_15072025_14_55_57_2822.jpg
/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_09_2813.jpg
/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_18_2717.jpg
/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_32_2550.jpg
/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_39_2675.jpg
/home/pi/Desktop/images/15072025/14/56/image_15072025_14_56_42_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372202474","1372202423","1372202432","1372202426","1372202429","1372202434"],"photo_ids_order":["1372202423","1372202426","1372202429","1372202432","1372202434","1372202474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b3fdb2568428406cd51ee8631b389ec.jpg","text":"TemporaryFile(/tmp/multipartBody2350581811827231186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_56_42_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27ab837dffd1f21ae43bb5b86115252d.jpg","text":"TemporaryFile(/tmp/multipartBody7966205360115234197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_55_57_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e16d37e0d9baa16cf840b4585f76e52a.jpg","text":"TemporaryFile(/tmp/multipartBody6827283311886236218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_56_32_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8308f765633323658584a477286b4db2.jpg","text":"TemporaryFile(/tmp/multipartBody8324213776192341805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_56_09_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8bf2499283b3b05b081f7a98c4f8b294.jpg","text":"TemporaryFile(/tmp/multipartBody5625703078735197669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_56_18_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bfeb4d474ea1f70a0015365573f5ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody6466416548195478524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596002981,"filename":"image_15072025_14_56_39_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372202429","file1":"1372202426","file0":"1372202423","file4":"1372202434","file5":"1372202474","file3":"1372202432"},"map_files_photo_id_array":[{"photo_id":"1372202474","filename":"file5"},{"photo_id":"1372202429","filename":"file2"},{"photo_id":"1372202434","filename":"file4"},{"photo_id":"1372202426","filename":"file1"},{"photo_id":"1372202423","filename":"file0"},{"photo_id":"1372202432","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372202474":["hashtag1","hashtag2"]},{"1372202423":["hashtag1","hashtag2"]},{"1372202432":["hashtag1","hashtag2"]},{"1372202426":["hashtag1","hashtag2"]},{"1372202429":["hashtag1","hashtag2"]},{"1372202434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372202474, 1372202423, 1372202432, 1372202426, 1372202429, 1372202434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.148098945617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:13:22.157681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/57/image_15072025_14_57_09_3587.jpg', '/home/pi/Desktop/images/15072025/14/57/image_15072025_14_57_24_2673.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_26_2771.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_39_3857.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_42_2703.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_48_3633.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/57/image_15072025_14_57_09_3587.jpg
/home/pi/Desktop/images/15072025/14/57/image_15072025_14_57_24_2673.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_26_2771.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_39_3857.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_42_2703.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_48_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372202619","1372202616","1372202729","1372202738","1372202740","1372202673"],"photo_ids_order":["1372202616","1372202619","1372202673","1372202729","1372202738","1372202740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e18d64036caae7a7185feeb41c10c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6275452254228851859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_57_24_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb2d8fdd29244414e26fa911c81889c1.jpg","text":"TemporaryFile(/tmp/multipartBody4038371387122943586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_57_09_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27d4fc6cbb902dd5da82d4142f18309f.jpg","text":"TemporaryFile(/tmp/multipartBody475426182007243453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_58_39_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b360ba0fe63b52d1afe1add712fc2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5159972583011642168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_58_42_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/212256c745f75311ce7a3f2632ca2182.jpg","text":"TemporaryFile(/tmp/multipartBody1638436863614522398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_58_48_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/088858e2be78aa3bd8d78a56f36794ca.jpg","text":"TemporaryFile(/tmp/multipartBody886205148015741625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596063274,"filename":"image_15072025_14_58_26_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372202673","file1":"1372202619","file0":"1372202616","file4":"1372202738","file5":"1372202740","file3":"1372202729"},"map_files_photo_id_array":[{"photo_id":"1372202740","filename":"file5"},{"photo_id":"1372202673","filename":"file2"},{"photo_id":"1372202738","filename":"file4"},{"photo_id":"1372202619","filename":"file1"},{"photo_id":"1372202616","filename":"file0"},{"photo_id":"1372202729","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372202619":["hashtag1","hashtag2"]},{"1372202616":["hashtag1","hashtag2"]},{"1372202729":["hashtag1","hashtag2"]},{"1372202738":["hashtag1","hashtag2"]},{"1372202740":["hashtag1","hashtag2"]},{"1372202673":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372202619, 1372202616, 1372202729, 1372202738, 1372202740, 1372202673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.253987550735474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:14:21.988556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_51_2750.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_54_2714.jpg', '/home/pi/Desktop/images/15072025/14/58/image_15072025_14_59_00_2599.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_09_2613.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_11_2575.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_20_2691.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_51_2750.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_58_54_2714.jpg
/home/pi/Desktop/images/15072025/14/58/image_15072025_14_59_00_2599.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_09_2613.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_11_2575.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_20_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372202820","1372202850","1372202904","1372202871","1372202865","1372202874"],"photo_ids_order":["1372202820","1372202850","1372202865","1372202871","1372202874","1372202904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2b26a549e46cd7547551944d67dc7e8.jpg","text":"TemporaryFile(/tmp/multipartBody497938897559683304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_58_51_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22a95cb6be7f4098012330aab187cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody7315099174705668935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_58_54_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c838fbc2d3b2804cdb43d93d81610e11.jpg","text":"TemporaryFile(/tmp/multipartBody2669027619746501495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_59_20_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32c19e43c62ca118322a250de2593caf.jpg","text":"TemporaryFile(/tmp/multipartBody4997308996790397461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_59_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/7/15/8d9f84b78386436bbf87b6b7b3d18ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7516300974198129857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_59_00_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d93cf8344c4f00d32220358a217d586.jpg","text":"TemporaryFile(/tmp/multipartBody5387298668964735944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596123138,"filename":"image_15072025_14_59_11_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372202865","file1":"1372202850","file0":"1372202820","file4":"1372202874","file5":"1372202904","file3":"1372202871"},"map_files_photo_id_array":[{"photo_id":"1372202904","filename":"file5"},{"photo_id":"1372202865","filename":"file2"},{"photo_id":"1372202874","filename":"file4"},{"photo_id":"1372202850","filename":"file1"},{"photo_id":"1372202820","filename":"file0"},{"photo_id":"1372202871","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372202820":["hashtag1","hashtag2"]},{"1372202850":["hashtag1","hashtag2"]},{"1372202904":["hashtag1","hashtag2"]},{"1372202871":["hashtag1","hashtag2"]},{"1372202865":["hashtag1","hashtag2"]},{"1372202874":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372202820, 1372202850, 1372202904, 1372202871, 1372202865, 1372202874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45757079124451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:15:22.301283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_24_3744.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_27_2601.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_29_2681.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_33_3574.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_42_2685.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_15_00_00_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_24_3744.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_27_2601.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_29_2681.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_33_3574.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_42_2685.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_15_00_00_3592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7075700759887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:15:42.147627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_24_3744.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_27_2601.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_29_2681.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_33_3574.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_42_2685.jpg', '/home/pi/Desktop/images/15072025/14/59/image_15072025_15_00_00_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_24_3744.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_27_2601.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_29_2681.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_33_3574.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_14_59_42_2685.jpg
/home/pi/Desktop/images/15072025/14/59/image_15072025_15_00_00_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372202975","1372203023","1372202956","1372202950","1372202964","1372202946"],"photo_ids_order":["1372202946","1372202950","1372202956","1372202964","1372202975","1372203023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40fdf69466f8e8ff07ec87fd06aa2af3.jpg","text":"TemporaryFile(/tmp/multipartBody7333209822502422162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_14_59_42_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4039a7601d1dad07043e563e373d8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody715011741779598669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_15_00_00_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/01b42b228cb7381ea25e8c173dc66ccb.jpg","text":"TemporaryFile(/tmp/multipartBody413969347667339371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_14_59_29_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f6f6e269773ce0aa9db775026ecf44f8.jpg","text":"TemporaryFile(/tmp/multipartBody7096584779371796908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_14_59_27_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be4250cef2670cc7714d4f00056a80f1.jpg","text":"TemporaryFile(/tmp/multipartBody1996179126890735496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_14_59_33_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d368baacbcfe7de4f123558a5c0412fa.jpg","text":"TemporaryFile(/tmp/multipartBody4213064683393589909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596203285,"filename":"image_15072025_14_59_24_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372202956","file1":"1372202950","file0":"1372202946","file4":"1372202975","file5":"1372203023","file3":"1372202964"},"map_files_photo_id_array":[{"photo_id":"1372203023","filename":"file5"},{"photo_id":"1372202956","filename":"file2"},{"photo_id":"1372202975","filename":"file4"},{"photo_id":"1372202950","filename":"file1"},{"photo_id":"1372202946","filename":"file0"},{"photo_id":"1372202964","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372202975":["hashtag1","hashtag2"]},{"1372203023":["hashtag1","hashtag2"]},{"1372202956":["hashtag1","hashtag2"]},{"1372202950":["hashtag1","hashtag2"]},{"1372202964":["hashtag1","hashtag2"]},{"1372202946":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372202975, 1372203023, 1372202956, 1372202950, 1372202964, 1372202946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20953321456909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:16:41.928486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_08_3011.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_12_3666.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_14_2796.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_23_2691.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_26_2743.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_29_2665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_08_3011.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_12_3666.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_14_2796.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_23_2691.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_26_2743.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_29_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":["1372203371","1372203137","1372203317","1372203253","1372203202","1372203159"],"photo_ids_order":["1372203137","1372203159","1372203202","1372203253","1372203317","1372203371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85bc88f7f3b3fe2c7e50858b6a62f8e1.jpg","text":"TemporaryFile(/tmp/multipartBody1262368692404168790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_00_29_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2927df08d9257c5a425002d8650ec642.jpg","text":"TemporaryFile(/tmp/multipartBody1147805332034615736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_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/7/15/40305b40e2c7915b536cd2c40907cf7f.jpg","text":"TemporaryFile(/tmp/multipartBody1667545048823585786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_00_26_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b6fa83ca478ff0161000cb23800c33ab.jpg","text":"TemporaryFile(/tmp/multipartBody5543243904866463578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_00_23_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea7efd7eecad07b66ca13ba2f75335a4.jpg","text":"TemporaryFile(/tmp/multipartBody6538172131747286599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_00_14_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a52fd6763ff3daab12bc433f3e559f3.jpg","text":"TemporaryFile(/tmp/multipartBody2280599235670255711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596263045,"filename":"image_15072025_15_00_12_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372203202","file1":"1372203159","file0":"1372203137","file4":"1372203317","file5":"1372203371","file3":"1372203253"},"map_files_photo_id_array":[{"photo_id":"1372203371","filename":"file5"},{"photo_id":"1372203202","filename":"file2"},{"photo_id":"1372203317","filename":"file4"},{"photo_id":"1372203159","filename":"file1"},{"photo_id":"1372203137","filename":"file0"},{"photo_id":"1372203253","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372203371":["hashtag1","hashtag2"]},{"1372203137":["hashtag1","hashtag2"]},{"1372203317":["hashtag1","hashtag2"]},{"1372203253":["hashtag1","hashtag2"]},{"1372203202":["hashtag1","hashtag2"]},{"1372203159":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372203371, 1372203137, 1372203317, 1372203253, 1372203202, 1372203159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33794569969177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:17:42.228312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_35_2719.jpg', '/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_59_3671.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_08_2639.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_11_2647.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_15_3585.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_17_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_35_2719.jpg
/home/pi/Desktop/images/15072025/15/00/image_15072025_15_00_59_3671.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_08_2639.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_11_2647.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_15_3585.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_17_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372203875","1372203776","1372203824","1372203691","1372204032","1372203933"],"photo_ids_order":["1372203691","1372203776","1372203824","1372203875","1372203933","1372204032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdd6722058ba331e2397358c342d1dda.jpg","text":"TemporaryFile(/tmp/multipartBody526323432735702930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_01_11_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36885b30908ae24e03b9d164d6c1ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody4457646574204910659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_00_59_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85d2ec17453ad8a69d9176bb47b36193.jpg","text":"TemporaryFile(/tmp/multipartBody6227829894919691389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_01_08_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/19a2b70d7a6669a46fe181458fdec147.jpg","text":"TemporaryFile(/tmp/multipartBody6558780226729170362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_00_35_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e47ff3afb75f327a04e0f46eb2feef9.jpg","text":"TemporaryFile(/tmp/multipartBody2311406157725499201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_01_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/7/15/8790f90953a2103c7de9ad35188ad72b.jpg","text":"TemporaryFile(/tmp/multipartBody1070285033238271403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596323392,"filename":"image_15072025_15_01_15_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372203824","file1":"1372203776","file0":"1372203691","file4":"1372203933","file5":"1372204032","file3":"1372203875"},"map_files_photo_id_array":[{"photo_id":"1372204032","filename":"file5"},{"photo_id":"1372203824","filename":"file2"},{"photo_id":"1372203933","filename":"file4"},{"photo_id":"1372203776","filename":"file1"},{"photo_id":"1372203691","filename":"file0"},{"photo_id":"1372203875","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372203875":["hashtag1","hashtag2"]},{"1372203776":["hashtag1","hashtag2"]},{"1372203824":["hashtag1","hashtag2"]},{"1372203691":["hashtag1","hashtag2"]},{"1372204032":["hashtag1","hashtag2"]},{"1372203933":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372203875, 1372203776, 1372203824, 1372203691, 1372204032, 1372203933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.856900691986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:18:41.962692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_20_2752.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_24_3628.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_26_2666.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_29_2706.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_32_2717.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_36_3726.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_20_2752.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_24_3628.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_26_2666.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_29_2706.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_32_2717.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_36_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372204613","1372204312","1372204500","1372204416","1372204562","1372204364"],"photo_ids_order":["1372204312","1372204364","1372204416","1372204500","1372204562","1372204613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80e2195b9792ab328f0d9c48c2ae03b3.jpg","text":"TemporaryFile(/tmp/multipartBody3012532482439283669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_36_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1731b63e7c5be103020e714ef75ce44d.jpg","text":"TemporaryFile(/tmp/multipartBody946933438862171907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_20_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d918837397a32447b796a4c02ed252a2.jpg","text":"TemporaryFile(/tmp/multipartBody4220053290271573898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_29_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10a87809843835f4d2a1ffd826cac096.jpg","text":"TemporaryFile(/tmp/multipartBody3100802804393463943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_26_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18ca9231c7897f4d4366bf32d24b2f00.jpg","text":"TemporaryFile(/tmp/multipartBody6340092218536281312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_32_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdef557a59b953460d09df9d10a452ec.jpg","text":"TemporaryFile(/tmp/multipartBody2314396257976221357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596383091,"filename":"image_15072025_15_01_24_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372204416","file1":"1372204364","file0":"1372204312","file4":"1372204562","file5":"1372204613","file3":"1372204500"},"map_files_photo_id_array":[{"photo_id":"1372204613","filename":"file5"},{"photo_id":"1372204416","filename":"file2"},{"photo_id":"1372204562","filename":"file4"},{"photo_id":"1372204364","filename":"file1"},{"photo_id":"1372204312","filename":"file0"},{"photo_id":"1372204500","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372204613":["hashtag1","hashtag2"]},{"1372204312":["hashtag1","hashtag2"]},{"1372204500":["hashtag1","hashtag2"]},{"1372204416":["hashtag1","hashtag2"]},{"1372204562":["hashtag1","hashtag2"]},{"1372204364":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372204613, 1372204312, 1372204500, 1372204416, 1372204562, 1372204364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12007761001587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:19:42.357391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_50_2743.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_53_2646.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_02_2792.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_08_2542.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_24_3569.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_20_2656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_50_2743.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_53_2646.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_02_2792.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_08_2542.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_24_3569.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_20_2656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7465255260467529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:20:02.638769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_50_2743.jpg', '/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_53_2646.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_02_2792.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_08_2542.jpg', '/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_24_3569.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_20_2656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_50_2743.jpg
/home/pi/Desktop/images/15072025/15/01/image_15072025_15_01_53_2646.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_02_2792.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_08_2542.jpg
/home/pi/Desktop/images/15072025/15/02/image_15072025_15_02_24_3569.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_20_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":["1372204928","1372204913","1372204861","1372204978","1372204971","1372205004"],"photo_ids_order":["1372204861","1372204913","1372204928","1372204971","1372204978","1372205004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18bff286ca3a8c8ac4821ddd7adc49b9.jpg","text":"TemporaryFile(/tmp/multipartBody3487637244627303850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_02_02_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3651bb89dee2f0166a1c62ae0fc60f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6866115800890146390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_01_53_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bbdef3c7582ee4ed75104f2c52fb586.jpg","text":"TemporaryFile(/tmp/multipartBody2501081260644648629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_01_50_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54718610bac160913e2df29acd8b0ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6590645556834355571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_02_24_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee34799c428e4ac89d0e7a80072b88c7.jpg","text":"TemporaryFile(/tmp/multipartBody7301817423333706570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_02_08_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1e015807b176ce6222607f901efb91c.jpg","text":"TemporaryFile(/tmp/multipartBody6182072988046993327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596463884,"filename":"image_15072025_15_03_20_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372204928","file1":"1372204913","file0":"1372204861","file4":"1372204978","file5":"1372205004","file3":"1372204971"},"map_files_photo_id_array":[{"photo_id":"1372205004","filename":"file5"},{"photo_id":"1372204928","filename":"file2"},{"photo_id":"1372204978","filename":"file4"},{"photo_id":"1372204913","filename":"file1"},{"photo_id":"1372204861","filename":"file0"},{"photo_id":"1372204971","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372204928":["hashtag1","hashtag2"]},{"1372204913":["hashtag1","hashtag2"]},{"1372204861":["hashtag1","hashtag2"]},{"1372204978":["hashtag1","hashtag2"]},{"1372204971":["hashtag1","hashtag2"]},{"1372205004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372204928, 1372204913, 1372204861, 1372204978, 1372204971, 1372205004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91613984107971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:21:03.368271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_29_2700.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_32_2900.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_35_3527.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_38_2840.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_41_2551.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_47_2513.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_29_2700.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_32_2900.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_35_3527.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_38_2840.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_41_2551.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_47_2513.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8651421070098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:21:22.514041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_29_2700.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_32_2900.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_35_3527.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_38_2840.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_41_2551.jpg', '/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_47_2513.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_29_2700.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_32_2900.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_35_3527.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_38_2840.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_41_2551.jpg
/home/pi/Desktop/images/15072025/15/03/image_15072025_15_03_47_2513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372205302","1372205233","1372205128","1372205430","1372205169","1372205349"],"photo_ids_order":["1372205128","1372205169","1372205233","1372205302","1372205349","1372205430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/590eb171a8a688d7c8ca42aaec552105.jpg","text":"TemporaryFile(/tmp/multipartBody664527129083269264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_38_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d48fdf2b2ebda3a0de1d3d5eb45ff09.jpg","text":"TemporaryFile(/tmp/multipartBody4863194511389551006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_35_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a058392b4bc4a9519023856c447917c.jpg","text":"TemporaryFile(/tmp/multipartBody6238156459447423331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_29_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5117ff5ed000557a35a96eac683c6fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6255138061991987007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_47_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7215ecd1f1050fc748080b948e727269.jpg","text":"TemporaryFile(/tmp/multipartBody3281560050548434722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_32_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29987992dbeda0c368ebe5a04cfe0d79.jpg","text":"TemporaryFile(/tmp/multipartBody8234437483347206863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596544081,"filename":"image_15072025_15_03_41_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372205233","file1":"1372205169","file0":"1372205128","file4":"1372205349","file5":"1372205430","file3":"1372205302"},"map_files_photo_id_array":[{"photo_id":"1372205430","filename":"file5"},{"photo_id":"1372205233","filename":"file2"},{"photo_id":"1372205349","filename":"file4"},{"photo_id":"1372205169","filename":"file1"},{"photo_id":"1372205128","filename":"file0"},{"photo_id":"1372205302","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372205302":["hashtag1","hashtag2"]},{"1372205233":["hashtag1","hashtag2"]},{"1372205128":["hashtag1","hashtag2"]},{"1372205430":["hashtag1","hashtag2"]},{"1372205169":["hashtag1","hashtag2"]},{"1372205349":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372205302, 1372205233, 1372205128, 1372205430, 1372205169, 1372205349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26433849334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:22:22.313420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_02_3662.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_26_2570.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_32_3765.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_41_2709.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_49_2553.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_59_3006.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_02_3662.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_26_2570.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_32_3765.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_41_2709.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_49_2553.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_59_3006.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7170162200927734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:22:42.276900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_02_3662.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_26_2570.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_32_3765.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_41_2709.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_49_2553.jpg', '/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_59_3006.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_02_3662.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_26_2570.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_32_3765.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_41_2709.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_49_2553.jpg
/home/pi/Desktop/images/15072025/15/04/image_15072025_15_04_59_3006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372205854","1372206106","1372206159","1372206012","1372205940","1372205825"],"photo_ids_order":["1372205825","1372205854","1372205940","1372206012","1372206106","1372206159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d7f6ef211f63809f6868b7b688fd87d.jpg","text":"TemporaryFile(/tmp/multipartBody218253375431753753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_26_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e950f1394c8543d30bc15f0d8d215a4.jpg","text":"TemporaryFile(/tmp/multipartBody4058675889078220841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_49_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8032689876fe53805d6c48fb49d63771.jpg","text":"TemporaryFile(/tmp/multipartBody8043131620083323326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_59_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ad4b6dc29047dff9b8b7c27eb967045.jpg","text":"TemporaryFile(/tmp/multipartBody8113482570335566295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_41_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71e12e627619e13e0cead4ffa653a99d.jpg","text":"TemporaryFile(/tmp/multipartBody2679477564920422814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_32_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b315f77c887e7c3011b22ae72c49a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8964465807446551733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596623387,"filename":"image_15072025_15_04_02_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372205940","file1":"1372205854","file0":"1372205825","file4":"1372206106","file5":"1372206159","file3":"1372206012"},"map_files_photo_id_array":[{"photo_id":"1372206159","filename":"file5"},{"photo_id":"1372205940","filename":"file2"},{"photo_id":"1372206106","filename":"file4"},{"photo_id":"1372205854","filename":"file1"},{"photo_id":"1372205825","filename":"file0"},{"photo_id":"1372206012","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372205854":["hashtag1","hashtag2"]},{"1372206106":["hashtag1","hashtag2"]},{"1372206159":["hashtag1","hashtag2"]},{"1372206012":["hashtag1","hashtag2"]},{"1372205940":["hashtag1","hashtag2"]},{"1372205825":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372205854, 1372206106, 1372206159, 1372206012, 1372205940, 1372205825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.14817667007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:23:42.458815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_26_2616.jpg', '/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_31_2781.jpg', '/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_47_2626.jpg', '/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_53_3696.jpg', '/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_02_2751.jpg', '/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_14_2805.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_26_2616.jpg
/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_31_2781.jpg
/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_47_2626.jpg
/home/pi/Desktop/images/15072025/15/05/image_15072025_15_05_53_3696.jpg
/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_02_2751.jpg
/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_14_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372206448","1372206276","1372206267","1372206488","1372206335","1372206397"],"photo_ids_order":["1372206267","1372206276","1372206335","1372206397","1372206448","1372206488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22a0a7cc0033b9ad0be35c169d4e2625.jpg","text":"TemporaryFile(/tmp/multipartBody216933406093597408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_06_02_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/596fabe778be535d0f029f23300510b0.jpg","text":"TemporaryFile(/tmp/multipartBody5080109805086661219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_05_31_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e209f02af48d5c2bd84647797c66aea6.jpg","text":"TemporaryFile(/tmp/multipartBody4365622522681356355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_05_26_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/853e4e02861d60dd0f4f5c05a56717e3.jpg","text":"TemporaryFile(/tmp/multipartBody9124306019451413117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_06_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/7/15/814e54eba8674eb676e711dd7f463ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3868416505128891990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_05_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/7/15/c8d98ab54a369b5551cc413cf92c9f4a.jpg","text":"TemporaryFile(/tmp/multipartBody1976511429359328097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596683563,"filename":"image_15072025_15_05_53_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372206335","file1":"1372206276","file0":"1372206267","file4":"1372206448","file5":"1372206488","file3":"1372206397"},"map_files_photo_id_array":[{"photo_id":"1372206488","filename":"file5"},{"photo_id":"1372206335","filename":"file2"},{"photo_id":"1372206448","filename":"file4"},{"photo_id":"1372206276","filename":"file1"},{"photo_id":"1372206267","filename":"file0"},{"photo_id":"1372206397","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372206448":["hashtag1","hashtag2"]},{"1372206276":["hashtag1","hashtag2"]},{"1372206267":["hashtag1","hashtag2"]},{"1372206488":["hashtag1","hashtag2"]},{"1372206335":["hashtag1","hashtag2"]},{"1372206397":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372206448, 1372206276, 1372206267, 1372206488, 1372206335, 1372206397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.47821307182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:24:42.124220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_26_3672.jpg', '/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_17_2723.jpg', '/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_40_2667.jpg', '/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_55_2813.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_02_2668.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_13_2697.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/06/image_15072025_15_06_26_3672.jpg
/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_17_2723.jpg
/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_40_2667.jpg
/home/pi/Desktop/images/15072025/15/07/image_15072025_15_07_55_2813.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_02_2668.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_13_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":["1372206571","1372206724","1372206526","1372206719","1372206707","1372206635"],"photo_ids_order":["1372206526","1372206571","1372206635","1372206707","1372206719","1372206724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a173b1574fac26b8b7916268380b677d.jpg","text":"TemporaryFile(/tmp/multipartBody6245723644689808371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_07_17_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10360e7449ce8b72a087a531a9f1ddc7.jpg","text":"TemporaryFile(/tmp/multipartBody3559630226390676835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_08_13_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12a1c36c0586e0c2bfe1cd9ad75edd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4009324929561585535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_06_26_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8145eee5b63cc2456354767082f47453.jpg","text":"TemporaryFile(/tmp/multipartBody5762594093645104451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_08_02_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3914e33dfc310bbbc28878fe0dd9131.jpg","text":"TemporaryFile(/tmp/multipartBody1039388822908228093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_07_55_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/536b95f962da6ed099a737be24fcb32b.jpg","text":"TemporaryFile(/tmp/multipartBody2204533135446250480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596743250,"filename":"image_15072025_15_07_40_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372206635","file1":"1372206571","file0":"1372206526","file4":"1372206719","file5":"1372206724","file3":"1372206707"},"map_files_photo_id_array":[{"photo_id":"1372206724","filename":"file5"},{"photo_id":"1372206635","filename":"file2"},{"photo_id":"1372206719","filename":"file4"},{"photo_id":"1372206571","filename":"file1"},{"photo_id":"1372206526","filename":"file0"},{"photo_id":"1372206707","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372206571":["hashtag1","hashtag2"]},{"1372206724":["hashtag1","hashtag2"]},{"1372206526":["hashtag1","hashtag2"]},{"1372206719":["hashtag1","hashtag2"]},{"1372206707":["hashtag1","hashtag2"]},{"1372206635":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372206571, 1372206724, 1372206526, 1372206719, 1372206707, 1372206635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.58641815185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:25:42.545706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_16_2755.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_25_2627.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_34_2668.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_55_2786.jpg', '/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_59_3611.jpg', '/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_14_3705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_16_2755.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_25_2627.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_34_2668.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_55_2786.jpg
/home/pi/Desktop/images/15072025/15/08/image_15072025_15_08_59_3611.jpg
/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_14_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372206829","1372206957","1372206824","1372206821","1372206853","1372206781"],"photo_ids_order":["1372206781","1372206821","1372206824","1372206829","1372206853","1372206957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b86615cf188b3884c494dbcf79568aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1835235113046909262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_08_55_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a220f5cffaad02d3269dea9e72bc120.jpg","text":"TemporaryFile(/tmp/multipartBody4626552255433110471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_09_14_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d550b5a7244ae81706c0242a4b0e487e.jpg","text":"TemporaryFile(/tmp/multipartBody2798598822699149477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_08_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d57fe3a66d45b1cbcf4a2895c643fed2.jpg","text":"TemporaryFile(/tmp/multipartBody8072632542992434496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_08_25_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2df13e29f28273e9731c8e31bd879e71.jpg","text":"TemporaryFile(/tmp/multipartBody3599687328746769113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_08_59_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac3c3455e731257d543fa3b3ba4938fd.jpg","text":"TemporaryFile(/tmp/multipartBody9022856566327697095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596803653,"filename":"image_15072025_15_08_16_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372206824","file1":"1372206821","file0":"1372206781","file4":"1372206853","file5":"1372206957","file3":"1372206829"},"map_files_photo_id_array":[{"photo_id":"1372206957","filename":"file5"},{"photo_id":"1372206824","filename":"file2"},{"photo_id":"1372206853","filename":"file4"},{"photo_id":"1372206821","filename":"file1"},{"photo_id":"1372206781","filename":"file0"},{"photo_id":"1372206829","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372206829":["hashtag1","hashtag2"]},{"1372206957":["hashtag1","hashtag2"]},{"1372206824":["hashtag1","hashtag2"]},{"1372206821":["hashtag1","hashtag2"]},{"1372206853":["hashtag1","hashtag2"]},{"1372206781":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372206829, 1372206957, 1372206824, 1372206821, 1372206853, 1372206781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.471309661865234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:26:42.392181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_19_2530.jpg', '/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_40_2591.jpg', '/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_46_2680.jpg', '/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_07_2576.jpg', '/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_13_2629.jpg', '/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_16_2700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_19_2530.jpg
/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_40_2591.jpg
/home/pi/Desktop/images/15072025/15/09/image_15072025_15_09_46_2680.jpg
/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_07_2576.jpg
/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_13_2629.jpg
/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_16_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372207218","1372207326","1372207262","1372207163","1372207192","1372207381"],"photo_ids_order":["1372207163","1372207192","1372207218","1372207262","1372207326","1372207381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8dc573330f208e089ebe19c49329a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7040971864912918155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_09_46_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/60f69e01376192ac87eaa0a4c7ab435b.jpg","text":"TemporaryFile(/tmp/multipartBody4139055727583856414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_10_13_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da2a61718a3e3fabf3013bd57496aac5.jpg","text":"TemporaryFile(/tmp/multipartBody1269995139455368151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_10_07_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb888ac4faf12dd31f836282362ae74c.jpg","text":"TemporaryFile(/tmp/multipartBody4077571149635834903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_09_19_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26b3a42054ed64467548916b58c6af92.jpg","text":"TemporaryFile(/tmp/multipartBody5836430332881168303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_09_40_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29c1fd8d332c792cf3a71503acb4fe28.jpg","text":"TemporaryFile(/tmp/multipartBody4766185317777003570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596863507,"filename":"image_15072025_15_10_16_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372207218","file1":"1372207192","file0":"1372207163","file4":"1372207326","file5":"1372207381","file3":"1372207262"},"map_files_photo_id_array":[{"photo_id":"1372207381","filename":"file5"},{"photo_id":"1372207218","filename":"file2"},{"photo_id":"1372207326","filename":"file4"},{"photo_id":"1372207192","filename":"file1"},{"photo_id":"1372207163","filename":"file0"},{"photo_id":"1372207262","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372207218":["hashtag1","hashtag2"]},{"1372207326":["hashtag1","hashtag2"]},{"1372207262":["hashtag1","hashtag2"]},{"1372207163":["hashtag1","hashtag2"]},{"1372207192":["hashtag1","hashtag2"]},{"1372207381":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372207218, 1372207326, 1372207262, 1372207163, 1372207192, 1372207381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.114487171173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:27:42.517813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_34_2681.jpg', '/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_59_3869.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_08_3569.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_19_2658.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_22_2596.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_25_3630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_34_2681.jpg
/home/pi/Desktop/images/15072025/15/10/image_15072025_15_10_59_3869.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_08_3569.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_19_2658.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_22_2596.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_25_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372207554","1372207533","1372207559","1372207544","1372207564","1372207549"],"photo_ids_order":["1372207533","1372207544","1372207549","1372207554","1372207559","1372207564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a16e8f284ba580c0df658ad3e03fadd.jpg","text":"TemporaryFile(/tmp/multipartBody2124567067420677782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_11_19_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb4daeca6c6f330b448b71335bbee83e.jpg","text":"TemporaryFile(/tmp/multipartBody5596325233941782689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_10_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa7204ecb2013837eb86cdaa0b4564a4.jpg","text":"TemporaryFile(/tmp/multipartBody4880834221252412282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_11_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea937b0d5bec8df908f4dad1e4d52ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4904093562552538276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_10_59_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/014ecae7e64ea6c4a2910b97f1910143.jpg","text":"TemporaryFile(/tmp/multipartBody479936390318278969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_11_25_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d2f630284ac9e49ac158980a954dde2.jpg","text":"TemporaryFile(/tmp/multipartBody458251571779327236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752596923631,"filename":"image_15072025_15_11_08_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372207549","file1":"1372207544","file0":"1372207533","file4":"1372207559","file5":"1372207564","file3":"1372207554"},"map_files_photo_id_array":[{"photo_id":"1372207564","filename":"file5"},{"photo_id":"1372207549","filename":"file2"},{"photo_id":"1372207559","filename":"file4"},{"photo_id":"1372207544","filename":"file1"},{"photo_id":"1372207533","filename":"file0"},{"photo_id":"1372207554","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372207554":["hashtag1","hashtag2"]},{"1372207533":["hashtag1","hashtag2"]},{"1372207559":["hashtag1","hashtag2"]},{"1372207544":["hashtag1","hashtag2"]},{"1372207564":["hashtag1","hashtag2"]},{"1372207549":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372207554, 1372207533, 1372207559, 1372207544, 1372207564, 1372207549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42096161842346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:28:42.327638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_28_2623.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_34_2721.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_41_3618.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_43_2696.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_46_2645.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_58_2661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_28_2623.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_34_2721.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_41_3618.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_43_2696.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_46_2645.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_58_2661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.710646390914917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:29:03.822205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_28_2623.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_34_2721.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_41_3618.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_43_2696.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_46_2645.jpg', '/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_58_2661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_28_2623.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_34_2721.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_41_3618.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_43_2696.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_46_2645.jpg
/home/pi/Desktop/images/15072025/15/11/image_15072025_15_11_58_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":["1372207892","1372207781","1372207769","1372207820","1372207916","1372207774"],"photo_ids_order":["1372207769","1372207774","1372207781","1372207820","1372207892","1372207916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd035c8d3d392ac4c157607c8e35b8d1.jpg","text":"TemporaryFile(/tmp/multipartBody418319632665497507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/efea2cc25d60d081da8d5d200840141d.jpg","text":"TemporaryFile(/tmp/multipartBody6594806390189323343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_41_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/63aa09fc5ba10ebb3f37d798c989ee00.jpg","text":"TemporaryFile(/tmp/multipartBody7132616025683920130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_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/7/15/26446f34391a647d7fc600e6570d46e8.jpg","text":"TemporaryFile(/tmp/multipartBody9127105486383674412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_43_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c389f97eb8c096367eb89defee1e31a9.jpg","text":"TemporaryFile(/tmp/multipartBody3133438789129252850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_58_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b152e99b399202c0420145d8ce48122.jpg","text":"TemporaryFile(/tmp/multipartBody8620535554556093614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597005124,"filename":"image_15072025_15_11_34_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372207781","file1":"1372207774","file0":"1372207769","file4":"1372207892","file5":"1372207916","file3":"1372207820"},"map_files_photo_id_array":[{"photo_id":"1372207916","filename":"file5"},{"photo_id":"1372207781","filename":"file2"},{"photo_id":"1372207892","filename":"file4"},{"photo_id":"1372207774","filename":"file1"},{"photo_id":"1372207769","filename":"file0"},{"photo_id":"1372207820","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372207892":["hashtag1","hashtag2"]},{"1372207781":["hashtag1","hashtag2"]},{"1372207769":["hashtag1","hashtag2"]},{"1372207820":["hashtag1","hashtag2"]},{"1372207916":["hashtag1","hashtag2"]},{"1372207774":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372207892, 1372207781, 1372207769, 1372207820, 1372207916, 1372207774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.434651136398315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:30:02.621043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_02_3710.jpg', '/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_10_2748.jpg', '/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_31_2652.jpg', '/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_37_3535.jpg', '/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_52_2581.jpg', '/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_55_2626.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_02_3710.jpg
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_10_2748.jpg
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_31_2652.jpg
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_37_3535.jpg
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_52_2581.jpg
/home/pi/Desktop/images/15072025/15/12/image_15072025_15_12_55_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":["1372207973","1372207981","1372207969","1372207978","1372207963","1372207951"],"photo_ids_order":["1372207951","1372207963","1372207969","1372207973","1372207978","1372207981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/860de4327b3115c253adc38b8390532b.jpg","text":"TemporaryFile(/tmp/multipartBody3746135435997676545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_37_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/525ba11e0e2e9fa788aba0d26b793609.jpg","text":"TemporaryFile(/tmp/multipartBody707111344502068997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_55_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/50dc95605e723e037efd0a145f404993.jpg","text":"TemporaryFile(/tmp/multipartBody8494721971734140681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_31_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8cbe2f108a21d141e16eb6f725d9fd03.jpg","text":"TemporaryFile(/tmp/multipartBody1659702555301818815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_52_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ffb320a8bf72f09a7b20d4da3a701d4.jpg","text":"TemporaryFile(/tmp/multipartBody7462292674247966628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_10_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/541d4f8ba8c1cd37d9c7187ba632fe98.jpg","text":"TemporaryFile(/tmp/multipartBody7532968659684733270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597063790,"filename":"image_15072025_15_12_02_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372207969","file1":"1372207963","file0":"1372207951","file4":"1372207978","file5":"1372207981","file3":"1372207973"},"map_files_photo_id_array":[{"photo_id":"1372207981","filename":"file5"},{"photo_id":"1372207969","filename":"file2"},{"photo_id":"1372207978","filename":"file4"},{"photo_id":"1372207963","filename":"file1"},{"photo_id":"1372207951","filename":"file0"},{"photo_id":"1372207973","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372207973":["hashtag1","hashtag2"]},{"1372207981":["hashtag1","hashtag2"]},{"1372207969":["hashtag1","hashtag2"]},{"1372207978":["hashtag1","hashtag2"]},{"1372207963":["hashtag1","hashtag2"]},{"1372207951":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372207973, 1372207981, 1372207969, 1372207978, 1372207963, 1372207951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95143151283264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:31:03.167461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_13_2720.jpg', '/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_16_2657.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_10_2532.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_16_2735.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_25_3848.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_31_2509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_13_2720.jpg
/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_16_2657.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_10_2532.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_16_2735.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_25_3848.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_31_2509.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8166930675506592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:31:22.183751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_13_2720.jpg', '/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_16_2657.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_10_2532.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_16_2735.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_25_3848.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_31_2509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_13_2720.jpg
/home/pi/Desktop/images/15072025/15/13/image_15072025_15_13_16_2657.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_10_2532.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_16_2735.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_25_3848.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_31_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372208019","1372208027","1372208006","1372208035","1372208032","1372208011"],"photo_ids_order":["1372208006","1372208011","1372208019","1372208027","1372208032","1372208035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88ff39ca01032ab6165c128efe91d908.jpg","text":"TemporaryFile(/tmp/multipartBody7478002849018874518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_14_10_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f04d9a92f96be7d1f7e5c7d3a8a8afed.jpg","text":"TemporaryFile(/tmp/multipartBody1024758376116208498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_14_16_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9e34386e1cb15b8b8073ec9b0bd8a98.jpg","text":"TemporaryFile(/tmp/multipartBody6644008095255385631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_13_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/7/15/9f87cec09fa7854611651139a827f565.jpg","text":"TemporaryFile(/tmp/multipartBody3821028489916984930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_14_31_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/525fecdc8166b27b3d4b3049209ad3a3.jpg","text":"TemporaryFile(/tmp/multipartBody2118120959116915160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_14_25_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/49e5893fa24aa9fa72663e486baf5199.jpg","text":"TemporaryFile(/tmp/multipartBody7165324132765977262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597143282,"filename":"image_15072025_15_13_16_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208019","file1":"1372208011","file0":"1372208006","file4":"1372208032","file5":"1372208035","file3":"1372208027"},"map_files_photo_id_array":[{"photo_id":"1372208035","filename":"file5"},{"photo_id":"1372208019","filename":"file2"},{"photo_id":"1372208032","filename":"file4"},{"photo_id":"1372208011","filename":"file1"},{"photo_id":"1372208006","filename":"file0"},{"photo_id":"1372208027","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208019":["hashtag1","hashtag2"]},{"1372208027":["hashtag1","hashtag2"]},{"1372208006":["hashtag1","hashtag2"]},{"1372208035":["hashtag1","hashtag2"]},{"1372208032":["hashtag1","hashtag2"]},{"1372208011":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208019, 1372208027, 1372208006, 1372208035, 1372208032, 1372208011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.723570108413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:32:22.130610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_37_2661.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_39_2518.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_46_2642.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_48_2647.jpg', '/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_55_2614.jpg', '/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_18_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_37_2661.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_39_2518.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_46_2642.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_48_2647.jpg
/home/pi/Desktop/images/15072025/15/14/image_15072025_15_14_55_2614.jpg
/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_18_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372208115","1372208186","1372208273","1372208345","1372208356","1372208326"],"photo_ids_order":["1372208115","1372208186","1372208273","1372208326","1372208345","1372208356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee5186adda246ad8820a7ef9ed02572e.jpg","text":"TemporaryFile(/tmp/multipartBody1800366279854053379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_14_37_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0723a6ec26a0aac0444f7f5d7c995ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4822180916449554677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_14_39_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22b583b2a5e71cd9cb0c6b04a42cfe2b.jpg","text":"TemporaryFile(/tmp/multipartBody8659780096955290097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_14_46_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba1a23e67ccb37bdc72687be05577c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6448320280387179527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_14_55_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e25df8dc0362e10a595e7eef995ca04.jpg","text":"TemporaryFile(/tmp/multipartBody512255268220363366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_15_18_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/616ddf3cb9bb10c26125443bb4006bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5118713971811371489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597203234,"filename":"image_15072025_15_14_48_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208273","file1":"1372208186","file0":"1372208115","file4":"1372208345","file5":"1372208356","file3":"1372208326"},"map_files_photo_id_array":[{"photo_id":"1372208356","filename":"file5"},{"photo_id":"1372208273","filename":"file2"},{"photo_id":"1372208345","filename":"file4"},{"photo_id":"1372208186","filename":"file1"},{"photo_id":"1372208115","filename":"file0"},{"photo_id":"1372208326","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208115":["hashtag1","hashtag2"]},{"1372208186":["hashtag1","hashtag2"]},{"1372208273":["hashtag1","hashtag2"]},{"1372208345":["hashtag1","hashtag2"]},{"1372208356":["hashtag1","hashtag2"]},{"1372208326":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208115, 1372208186, 1372208273, 1372208345, 1372208356, 1372208326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.05518198013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:33:22.367438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_22_3764.jpg', '/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_25_2601.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_28_3675.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_33_2648.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_37_3655.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_46_3629.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_22_3764.jpg
/home/pi/Desktop/images/15072025/15/15/image_15072025_15_15_25_2601.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_28_3675.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_33_2648.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_37_3655.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_46_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372208430","1372208519","1372208482","1372208542","1372208539","1372208484"],"photo_ids_order":["1372208430","1372208482","1372208484","1372208519","1372208539","1372208542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55dba40a097495c7c5a9cca8565237a4.jpg","text":"TemporaryFile(/tmp/multipartBody3217096646468423921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_15_22_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31574d47fa7860b7dc963b46946e58db.jpg","text":"TemporaryFile(/tmp/multipartBody6565418613066167598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_17_33_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba534a734756d8957edee1428921ebf6.jpg","text":"TemporaryFile(/tmp/multipartBody7781637008537335280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_15_25_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e05b557c846055e475a0219d9a151a2.jpg","text":"TemporaryFile(/tmp/multipartBody2563059024954392666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_17_46_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5a22acec64885a38835e8d149ca8172.jpg","text":"TemporaryFile(/tmp/multipartBody6727760019921317974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_17_37_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db46dcfc0d463e0b929b6f7f15650db7.jpg","text":"TemporaryFile(/tmp/multipartBody3822106968754597935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597263477,"filename":"image_15072025_15_17_28_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208484","file1":"1372208482","file0":"1372208430","file4":"1372208539","file5":"1372208542","file3":"1372208519"},"map_files_photo_id_array":[{"photo_id":"1372208542","filename":"file5"},{"photo_id":"1372208484","filename":"file2"},{"photo_id":"1372208539","filename":"file4"},{"photo_id":"1372208482","filename":"file1"},{"photo_id":"1372208430","filename":"file0"},{"photo_id":"1372208519","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208430":["hashtag1","hashtag2"]},{"1372208519":["hashtag1","hashtag2"]},{"1372208482":["hashtag1","hashtag2"]},{"1372208542":["hashtag1","hashtag2"]},{"1372208539":["hashtag1","hashtag2"]},{"1372208484":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208430, 1372208519, 1372208482, 1372208542, 1372208539, 1372208484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36566615104675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:34:22.022170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_48_2654.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_51_2747.jpg', '/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_55_3657.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_04_3508.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_06_2698.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_13_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_48_2654.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_51_2747.jpg
/home/pi/Desktop/images/15072025/15/17/image_15072025_15_17_55_3657.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_04_3508.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_06_2698.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_13_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372208757","1372208718","1372208783","1372208777","1372208666","1372208746"],"photo_ids_order":["1372208666","1372208718","1372208746","1372208757","1372208777","1372208783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92a11a59f246aa60625e4b111fd0361a.jpg","text":"TemporaryFile(/tmp/multipartBody4884598383829350581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_18_04_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00133a47fb13e23e88c5193b2708f62c.jpg","text":"TemporaryFile(/tmp/multipartBody4151790183608086874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_17_51_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/93a003f919ec0eef416c25764e8ab4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6323950854001369802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_18_13_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8642b8bd47daef50f13431f34989c815.jpg","text":"TemporaryFile(/tmp/multipartBody4593725269495341942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_18_06_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ce3234daea61af0b6ce3d1f4b6867958.jpg","text":"TemporaryFile(/tmp/multipartBody1852346001931691113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_17_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/7/15/36ce7c57a587ccdf92937f452d73b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody2133896431017613568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597323164,"filename":"image_15072025_15_17_55_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208746","file1":"1372208718","file0":"1372208666","file4":"1372208777","file5":"1372208783","file3":"1372208757"},"map_files_photo_id_array":[{"photo_id":"1372208783","filename":"file5"},{"photo_id":"1372208746","filename":"file2"},{"photo_id":"1372208777","filename":"file4"},{"photo_id":"1372208718","filename":"file1"},{"photo_id":"1372208666","filename":"file0"},{"photo_id":"1372208757","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208757":["hashtag1","hashtag2"]},{"1372208718":["hashtag1","hashtag2"]},{"1372208783":["hashtag1","hashtag2"]},{"1372208777":["hashtag1","hashtag2"]},{"1372208666":["hashtag1","hashtag2"]},{"1372208746":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208757, 1372208718, 1372208783, 1372208777, 1372208666, 1372208746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.50779128074646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:35:22.550686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_15_2705.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_40_3543.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_54_2705.jpg', '/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_58_3597.jpg', '/home/pi/Desktop/images/15072025/15/19/image_15072025_15_19_57_2741.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_03_2584.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_15_2705.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_40_3543.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_54_2705.jpg
/home/pi/Desktop/images/15072025/15/18/image_15072025_15_18_58_3597.jpg
/home/pi/Desktop/images/15072025/15/19/image_15072025_15_19_57_2741.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_03_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372208837","1372208825","1372208819","1372208840","1372208834","1372208813"],"photo_ids_order":["1372208813","1372208819","1372208825","1372208834","1372208837","1372208840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3112a17e1aefd3ae8d073985d9a256d.jpg","text":"TemporaryFile(/tmp/multipartBody6672020920264988023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_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/7/15/efff41b147b07781deee329e6ed4b783.jpg","text":"TemporaryFile(/tmp/multipartBody6392391929145989468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_18_54_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5881efdc2e045e53be7ac84700ae2561.jpg","text":"TemporaryFile(/tmp/multipartBody5210230994937893879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_18_40_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/018b79fc1fb939e8270c241ff7df5010.jpg","text":"TemporaryFile(/tmp/multipartBody6504909441757759212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_20_03_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21939c33b2a056dfdb41c0592a86abc3.jpg","text":"TemporaryFile(/tmp/multipartBody1703427271441901291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_18_58_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/749aa5f91a89193bd8d94945b5279746.jpg","text":"TemporaryFile(/tmp/multipartBody120239198491959153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597383651,"filename":"image_15072025_15_18_15_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208825","file1":"1372208819","file0":"1372208813","file4":"1372208837","file5":"1372208840","file3":"1372208834"},"map_files_photo_id_array":[{"photo_id":"1372208840","filename":"file5"},{"photo_id":"1372208825","filename":"file2"},{"photo_id":"1372208837","filename":"file4"},{"photo_id":"1372208819","filename":"file1"},{"photo_id":"1372208813","filename":"file0"},{"photo_id":"1372208834","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208837":["hashtag1","hashtag2"]},{"1372208825":["hashtag1","hashtag2"]},{"1372208819":["hashtag1","hashtag2"]},{"1372208840":["hashtag1","hashtag2"]},{"1372208834":["hashtag1","hashtag2"]},{"1372208813":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208837, 1372208825, 1372208819, 1372208840, 1372208834, 1372208813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87387299537659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:36:22.306252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_06_2776.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_10_3613.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_15_2589.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_21_2681.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_24_2672.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_34_3613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_06_2776.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_10_3613.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_15_2589.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_21_2681.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_24_2672.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_34_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":["1372208955","1372208913","1372208907","1372208937","1372208942","1372208983"],"photo_ids_order":["1372208907","1372208913","1372208937","1372208942","1372208955","1372208983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2fafdc5060769b171eb031799734b79.jpg","text":"TemporaryFile(/tmp/multipartBody376860842333568937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_24_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86e76dac7adf9584e9416d0503cc4384.jpg","text":"TemporaryFile(/tmp/multipartBody3370528709462611831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_10_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b48ad762e7eb2d63f30da8bc8a180ee.jpg","text":"TemporaryFile(/tmp/multipartBody1110754571424082951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_06_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1aef82717267b9a7ee7429709199d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4002964522779644916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_15_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67a234821c4e97b6f23699793f8d9542.jpg","text":"TemporaryFile(/tmp/multipartBody4986496837377738771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_21_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd75544904a679ebb0656ec9cee8e0fc.jpg","text":"TemporaryFile(/tmp/multipartBody4146964591322602827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597443459,"filename":"image_15072025_15_20_34_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372208937","file1":"1372208913","file0":"1372208907","file4":"1372208955","file5":"1372208983","file3":"1372208942"},"map_files_photo_id_array":[{"photo_id":"1372208983","filename":"file5"},{"photo_id":"1372208937","filename":"file2"},{"photo_id":"1372208955","filename":"file4"},{"photo_id":"1372208913","filename":"file1"},{"photo_id":"1372208907","filename":"file0"},{"photo_id":"1372208942","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372208955":["hashtag1","hashtag2"]},{"1372208913":["hashtag1","hashtag2"]},{"1372208907":["hashtag1","hashtag2"]},{"1372208937":["hashtag1","hashtag2"]},{"1372208942":["hashtag1","hashtag2"]},{"1372208983":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372208955, 1372208913, 1372208907, 1372208937, 1372208942, 1372208983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57195210456848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:37:22.595686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_39_2666.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_45_2554.jpg', '/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_52_3659.jpg', '/home/pi/Desktop/images/15072025/15/21/image_15072025_15_21_04_3671.jpg', '/home/pi/Desktop/images/15072025/15/21/image_15072025_15_21_25_3701.jpg', '/home/pi/Desktop/images/15072025/15/21/image_15072025_15_22_00_2675.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_39_2666.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_45_2554.jpg
/home/pi/Desktop/images/15072025/15/20/image_15072025_15_20_52_3659.jpg
/home/pi/Desktop/images/15072025/15/21/image_15072025_15_21_04_3671.jpg
/home/pi/Desktop/images/15072025/15/21/image_15072025_15_21_25_3701.jpg
/home/pi/Desktop/images/15072025/15/21/image_15072025_15_22_00_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":["1372209032","1372209034","1372209037","1372209016","1372209025","1372209021"],"photo_ids_order":["1372209016","1372209021","1372209025","1372209032","1372209034","1372209037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9891764f66a8d1b60a4779369505b822.jpg","text":"TemporaryFile(/tmp/multipartBody1269805381754190088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_21_04_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35357aa1690c3c80ebb24408a8beed0a.jpg","text":"TemporaryFile(/tmp/multipartBody6273961222534931382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_21_25_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8897393df6f0133ae536733e55f3e620.jpg","text":"TemporaryFile(/tmp/multipartBody5748381638314635940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_22_00_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0fa63da10a5cd4e2a6f120f5c1c8cd51.jpg","text":"TemporaryFile(/tmp/multipartBody5164643354247142533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_20_39_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b645de2bef97fe2192522360b4a2a138.jpg","text":"TemporaryFile(/tmp/multipartBody4673840564688617959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_20_52_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0af3bd89e6b1dbe9882b7dc82d40e175.jpg","text":"TemporaryFile(/tmp/multipartBody1499086267729639557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597503710,"filename":"image_15072025_15_20_45_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372209025","file1":"1372209021","file0":"1372209016","file4":"1372209034","file5":"1372209037","file3":"1372209032"},"map_files_photo_id_array":[{"photo_id":"1372209037","filename":"file5"},{"photo_id":"1372209025","filename":"file2"},{"photo_id":"1372209034","filename":"file4"},{"photo_id":"1372209021","filename":"file1"},{"photo_id":"1372209016","filename":"file0"},{"photo_id":"1372209032","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372209032":["hashtag1","hashtag2"]},{"1372209034":["hashtag1","hashtag2"]},{"1372209037":["hashtag1","hashtag2"]},{"1372209016":["hashtag1","hashtag2"]},{"1372209025":["hashtag1","hashtag2"]},{"1372209021":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372209032, 1372209034, 1372209037, 1372209016, 1372209025, 1372209021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.55871534347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:38:22.171502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_03_2644.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_06_3612.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_09_2742.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_16_3668.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_21_2726.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_30_2788.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_03_2644.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_06_3612.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_09_2742.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_16_3668.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_21_2726.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_30_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372209056","1372209373","1372209259","1372209160","1372209093","1372209069"],"photo_ids_order":["1372209056","1372209069","1372209093","1372209160","1372209259","1372209373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3516e72ce17523d50f5b6dd0be30926.jpg","text":"TemporaryFile(/tmp/multipartBody3719785467987668304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_03_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/867d82e2dd06972d06967db3af226a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1689442252278422456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_30_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de517286b658d3db69bfeb32288313f9.jpg","text":"TemporaryFile(/tmp/multipartBody5170147452001118044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad9eebd106e6965d05ed328eaaa4466e.jpg","text":"TemporaryFile(/tmp/multipartBody5826809645584205298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_16_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7ca8ac424c95a7d027efba9ad15c9c87.jpg","text":"TemporaryFile(/tmp/multipartBody497416406417595139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_09_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da340fe81049619b037826cb23f0b8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1154474542486649121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597563289,"filename":"image_15072025_15_22_06_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372209093","file1":"1372209069","file0":"1372209056","file4":"1372209259","file5":"1372209373","file3":"1372209160"},"map_files_photo_id_array":[{"photo_id":"1372209373","filename":"file5"},{"photo_id":"1372209093","filename":"file2"},{"photo_id":"1372209259","filename":"file4"},{"photo_id":"1372209069","filename":"file1"},{"photo_id":"1372209056","filename":"file0"},{"photo_id":"1372209160","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372209056":["hashtag1","hashtag2"]},{"1372209373":["hashtag1","hashtag2"]},{"1372209259":["hashtag1","hashtag2"]},{"1372209160":["hashtag1","hashtag2"]},{"1372209093":["hashtag1","hashtag2"]},{"1372209069":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372209056, 1372209373, 1372209259, 1372209160, 1372209093, 1372209069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33663296699524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:39:22.252732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_42_2661.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_48_2673.jpg', '/home/pi/Desktop/images/15072025/15/22/image_15072025_15_23_00_2573.jpg', '/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_24_2880.jpg', '/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_42_3622.jpg', '/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_51_2682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_42_2661.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_22_48_2673.jpg
/home/pi/Desktop/images/15072025/15/22/image_15072025_15_23_00_2573.jpg
/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_24_2880.jpg
/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_42_3622.jpg
/home/pi/Desktop/images/15072025/15/23/image_15072025_15_23_51_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372209887","1372210187","1372209784","1372209991","1372209684","1372210086"],"photo_ids_order":["1372209684","1372209784","1372209887","1372209991","1372210086","1372210187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e5b5f9823e43f5178458155f21d7c60.jpg","text":"TemporaryFile(/tmp/multipartBody2206869051933367006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_23_00_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2cedb977e33b09e0d84eea38d45b0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5718731683011195181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_23_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/7/15/92557495acc75d4f8f2b50237bc82e01.jpg","text":"TemporaryFile(/tmp/multipartBody4631122660729666458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_22_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/7/15/e8cfbbf8d4dcab3124ff5a40d9e5e134.jpg","text":"TemporaryFile(/tmp/multipartBody6296034669000310357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_23_24_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ceac414d1590bad8fa38f9630b4f7719.jpg","text":"TemporaryFile(/tmp/multipartBody5387486824230438772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_22_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/7/15/87cea227f3eb0489cefa1c889d1b52ce.jpg","text":"TemporaryFile(/tmp/multipartBody2383341595821674744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597623362,"filename":"image_15072025_15_23_42_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372209887","file1":"1372209784","file0":"1372209684","file4":"1372210086","file5":"1372210187","file3":"1372209991"},"map_files_photo_id_array":[{"photo_id":"1372210187","filename":"file5"},{"photo_id":"1372209887","filename":"file2"},{"photo_id":"1372210086","filename":"file4"},{"photo_id":"1372209784","filename":"file1"},{"photo_id":"1372209684","filename":"file0"},{"photo_id":"1372209991","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372209887":["hashtag1","hashtag2"]},{"1372210187":["hashtag1","hashtag2"]},{"1372209784":["hashtag1","hashtag2"]},{"1372209991":["hashtag1","hashtag2"]},{"1372209684":["hashtag1","hashtag2"]},{"1372210086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372209887, 1372210187, 1372209784, 1372209991, 1372209684, 1372210086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61138153076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:40:22.202609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_03_3810.jpg', '/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_12_3529.jpg', '/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_33_2582.jpg', '/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_18_3651.jpg', '/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_59_2719.jpg', '/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_27_3746.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_03_3810.jpg
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_12_3529.jpg
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_33_2582.jpg
/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_18_3651.jpg
/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_59_2719.jpg
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_27_3746.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.711707353591919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:40:42.169470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_03_3810.jpg', '/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_12_3529.jpg', '/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_33_2582.jpg', '/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_18_3651.jpg', '/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_59_2719.jpg', '/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_27_3746.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_03_3810.jpg
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_12_3529.jpg
/home/pi/Desktop/images/15072025/15/24/image_15072025_15_24_33_2582.jpg
/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_18_3651.jpg
/home/pi/Desktop/images/15072025/15/26/image_15072025_15_26_59_2719.jpg
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_27_3746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372210824","1372210981","1372210963","1372210906","1372210974","1372210977"],"photo_ids_order":["1372210824","1372210906","1372210963","1372210974","1372210977","1372210981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9bdf093a2b122a65f2d3e1fb7c3f56b4.jpg","text":"TemporaryFile(/tmp/multipartBody7893006238302887907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_24_03_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5feafa2fac176248b1620fd9ee72588c.jpg","text":"TemporaryFile(/tmp/multipartBody2761000333671113060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_27_27_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3220fc833b87e61f249f40f837b55745.jpg","text":"TemporaryFile(/tmp/multipartBody8749991219477220930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_24_33_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1bf452371590448c5ba139628013eac0.jpg","text":"TemporaryFile(/tmp/multipartBody6073868928706514041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_24_12_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/902730be77ec15d03e7f63da2175ec65.jpg","text":"TemporaryFile(/tmp/multipartBody2186967671229058128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_26_18_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9aa0257ecf9bf3a7d8bd8d3d5fabac1e.jpg","text":"TemporaryFile(/tmp/multipartBody2914870948387069977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597703279,"filename":"image_15072025_15_26_59_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372210963","file1":"1372210906","file0":"1372210824","file4":"1372210977","file5":"1372210981","file3":"1372210974"},"map_files_photo_id_array":[{"photo_id":"1372210981","filename":"file5"},{"photo_id":"1372210963","filename":"file2"},{"photo_id":"1372210977","filename":"file4"},{"photo_id":"1372210906","filename":"file1"},{"photo_id":"1372210824","filename":"file0"},{"photo_id":"1372210974","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372210824":["hashtag1","hashtag2"]},{"1372210981":["hashtag1","hashtag2"]},{"1372210963":["hashtag1","hashtag2"]},{"1372210906":["hashtag1","hashtag2"]},{"1372210974":["hashtag1","hashtag2"]},{"1372210977":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372210824, 1372210981, 1372210963, 1372210906, 1372210974, 1372210977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.12674689292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:41:42.355101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_39_2602.jpg', '/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_45_3712.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_08_2674.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_12_3630.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_36_3751.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_56_2561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_39_2602.jpg
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_45_3712.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_08_2674.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_12_3630.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_36_3751.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_56_2561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7175171375274658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:42:02.912817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_39_2602.jpg', '/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_45_3712.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_08_2674.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_12_3630.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_36_3751.jpg', '/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_56_2561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_39_2602.jpg
/home/pi/Desktop/images/15072025/15/27/image_15072025_15_27_45_3712.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_08_2674.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_12_3630.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_36_3751.jpg
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_56_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":["1372211105","1372211113","1372211097","1372211101","1372211091","1372211109"],"photo_ids_order":["1372211091","1372211097","1372211101","1372211105","1372211109","1372211113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18d788faf347c5238dfb071e503db969.jpg","text":"TemporaryFile(/tmp/multipartBody3084821445432074989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_28_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/7/15/fb4b9766d85a5d83250c6b31d1a91ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6556810585595826762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_28_56_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d7ae81e88b2308c42a1afaee2a61a78.jpg","text":"TemporaryFile(/tmp/multipartBody4516622511075664924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_27_45_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd63e415db2ebd3c13f4db6d8ce3c56a.jpg","text":"TemporaryFile(/tmp/multipartBody7748357440682042190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_28_08_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30f0add8e86f734950c9f3f50ff87277.jpg","text":"TemporaryFile(/tmp/multipartBody8203523096955541979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_27_39_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/11d9ae3c6d22fa8b0ac75765adee1d57.jpg","text":"TemporaryFile(/tmp/multipartBody3376981036267295716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597784134,"filename":"image_15072025_15_28_36_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372211101","file1":"1372211097","file0":"1372211091","file4":"1372211109","file5":"1372211113","file3":"1372211105"},"map_files_photo_id_array":[{"photo_id":"1372211113","filename":"file5"},{"photo_id":"1372211101","filename":"file2"},{"photo_id":"1372211109","filename":"file4"},{"photo_id":"1372211097","filename":"file1"},{"photo_id":"1372211091","filename":"file0"},{"photo_id":"1372211105","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372211105":["hashtag1","hashtag2"]},{"1372211113":["hashtag1","hashtag2"]},{"1372211097":["hashtag1","hashtag2"]},{"1372211101":["hashtag1","hashtag2"]},{"1372211091":["hashtag1","hashtag2"]},{"1372211109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372211105, 1372211113, 1372211097, 1372211101, 1372211091, 1372211109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60940742492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:43:03.576154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_59_2659.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_14_2571.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_33_2670.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_54_2833.jpg', '/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_28_2671.jpg', '/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_32_3650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_59_2659.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_14_2571.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_33_2670.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_54_2833.jpg
/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_28_2671.jpg
/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_32_3650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.820472240447998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:43:22.693886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_59_2659.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_14_2571.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_33_2670.jpg', '/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_54_2833.jpg', '/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_28_2671.jpg', '/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_32_3650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/28/image_15072025_15_28_59_2659.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_14_2571.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_33_2670.jpg
/home/pi/Desktop/images/15072025/15/29/image_15072025_15_29_54_2833.jpg
/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_28_2671.jpg
/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_32_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":["1372211360","1372211324","1372211362","1372211364","1372211346","1372211340"],"photo_ids_order":["1372211324","1372211340","1372211346","1372211360","1372211362","1372211364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6296c8d49f40a74111b25495d96229f.jpg","text":"TemporaryFile(/tmp/multipartBody8450885953951089486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_29_54_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85e963e73af914f27b411c44188d25c9.jpg","text":"TemporaryFile(/tmp/multipartBody515852537588906413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_28_59_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3e27e2ec7fa7336b9bdba16b298342c.jpg","text":"TemporaryFile(/tmp/multipartBody2856427496027087422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_30_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/7/15/4c94622c43ab8a0482e3c2c577a96112.jpg","text":"TemporaryFile(/tmp/multipartBody3191472463187188763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_30_32_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/afcbbf7f715c1509651eff9afdbafc39.jpg","text":"TemporaryFile(/tmp/multipartBody3264855478387693188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_29_33_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55fd945b82977b5d5630c44a3fea764f.jpg","text":"TemporaryFile(/tmp/multipartBody4980586168105572739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597863845,"filename":"image_15072025_15_29_14_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372211346","file1":"1372211340","file0":"1372211324","file4":"1372211362","file5":"1372211364","file3":"1372211360"},"map_files_photo_id_array":[{"photo_id":"1372211364","filename":"file5"},{"photo_id":"1372211346","filename":"file2"},{"photo_id":"1372211362","filename":"file4"},{"photo_id":"1372211340","filename":"file1"},{"photo_id":"1372211324","filename":"file0"},{"photo_id":"1372211360","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372211360":["hashtag1","hashtag2"]},{"1372211324":["hashtag1","hashtag2"]},{"1372211362":["hashtag1","hashtag2"]},{"1372211364":["hashtag1","hashtag2"]},{"1372211346":["hashtag1","hashtag2"]},{"1372211340":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372211360, 1372211324, 1372211362, 1372211364, 1372211346, 1372211340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34001278877258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:44:22.646998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_59_3630.jpg', '/home/pi/Desktop/images/15072025/15/32/image_15072025_15_32_56_2655.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_05_2853.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_40_2518.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_43_2722.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_47_3591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/30/image_15072025_15_30_59_3630.jpg
/home/pi/Desktop/images/15072025/15/32/image_15072025_15_32_56_2655.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_05_2853.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_40_2518.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_43_2722.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_47_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372211417","1372211470","1372211487","1372211496","1372211385","1372211379"],"photo_ids_order":["1372211379","1372211385","1372211417","1372211470","1372211487","1372211496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a3f1138bd320adff1314d057a6db3ba.jpg","text":"TemporaryFile(/tmp/multipartBody43182172846751327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_35_05_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1245b42cd9d080bc1d1185e5a82e9be7.jpg","text":"TemporaryFile(/tmp/multipartBody333047863742727619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_35_40_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64cf2288643ca6d277565603cbaf1929.jpg","text":"TemporaryFile(/tmp/multipartBody5320285916586690456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_35_43_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff23049af3d8bf53529f021f37c56312.jpg","text":"TemporaryFile(/tmp/multipartBody1151719770466859233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_35_47_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/567f953219ed4c2837f9709620219c28.jpg","text":"TemporaryFile(/tmp/multipartBody168170075983787923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_32_56_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0db984f02e5cdc96e68e79f94554c363.jpg","text":"TemporaryFile(/tmp/multipartBody8173853864810689629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597923753,"filename":"image_15072025_15_30_59_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372211417","file1":"1372211385","file0":"1372211379","file4":"1372211487","file5":"1372211496","file3":"1372211470"},"map_files_photo_id_array":[{"photo_id":"1372211496","filename":"file5"},{"photo_id":"1372211417","filename":"file2"},{"photo_id":"1372211487","filename":"file4"},{"photo_id":"1372211385","filename":"file1"},{"photo_id":"1372211379","filename":"file0"},{"photo_id":"1372211470","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372211417":["hashtag1","hashtag2"]},{"1372211470":["hashtag1","hashtag2"]},{"1372211487":["hashtag1","hashtag2"]},{"1372211496":["hashtag1","hashtag2"]},{"1372211385":["hashtag1","hashtag2"]},{"1372211379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372211417, 1372211470, 1372211487, 1372211496, 1372211385, 1372211379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.07642960548401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:45:21.966748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_49_2747.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_52_2664.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_55_2811.jpg', '/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_58_3591.jpg', '/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_01_2716.jpg', '/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_07_2508.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_49_2747.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_52_2664.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_55_2811.jpg
/home/pi/Desktop/images/15072025/15/35/image_15072025_15_35_58_3591.jpg
/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_01_2716.jpg
/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_07_2508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372211513","1372211590","1372211701","1372211535","1372211646","1372211520"],"photo_ids_order":["1372211513","1372211520","1372211535","1372211590","1372211646","1372211701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88cdf7a84872ed116973d2b3a5944e88.jpg","text":"TemporaryFile(/tmp/multipartBody8502491301569535647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_35_49_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/daf20a10245ab129167988aadb02feb6.jpg","text":"TemporaryFile(/tmp/multipartBody1278032300306246093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_35_58_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0e101269d928183150c0aa5f2da6a41.jpg","text":"TemporaryFile(/tmp/multipartBody4925733536294301349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_36_07_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/11f1b09f5002fce6b1bc6308bb8b17dd.jpg","text":"TemporaryFile(/tmp/multipartBody4989382460678478847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_35_55_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8aac9d0312f585d907e1b13f338dd38f.jpg","text":"TemporaryFile(/tmp/multipartBody8292562700404467685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_36_01_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3162d286476e2247310b57bea8aa686.jpg","text":"TemporaryFile(/tmp/multipartBody2681772843939773582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752597983069,"filename":"image_15072025_15_35_52_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372211535","file1":"1372211520","file0":"1372211513","file4":"1372211646","file5":"1372211701","file3":"1372211590"},"map_files_photo_id_array":[{"photo_id":"1372211701","filename":"file5"},{"photo_id":"1372211535","filename":"file2"},{"photo_id":"1372211646","filename":"file4"},{"photo_id":"1372211520","filename":"file1"},{"photo_id":"1372211513","filename":"file0"},{"photo_id":"1372211590","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372211513":["hashtag1","hashtag2"]},{"1372211590":["hashtag1","hashtag2"]},{"1372211701":["hashtag1","hashtag2"]},{"1372211535":["hashtag1","hashtag2"]},{"1372211646":["hashtag1","hashtag2"]},{"1372211520":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372211513, 1372211590, 1372211701, 1372211535, 1372211646, 1372211520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20878052711487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:46:22.631490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_28_2802.jpg', '/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_55_2641.jpg', '/home/pi/Desktop/images/15072025/15/37/image_15072025_15_37_07_2711.jpg', '/home/pi/Desktop/images/15072025/15/37/image_15072025_15_37_25_2661.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_05_3686.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_16_6383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_28_2802.jpg
/home/pi/Desktop/images/15072025/15/36/image_15072025_15_36_55_2641.jpg
/home/pi/Desktop/images/15072025/15/37/image_15072025_15_37_07_2711.jpg
/home/pi/Desktop/images/15072025/15/37/image_15072025_15_37_25_2661.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_05_3686.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_16_6383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212107","1372212022","1372212159","1372212207","1372211931","1372211873"],"photo_ids_order":["1372211873","1372211931","1372212022","1372212107","1372212159","1372212207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a517613e8b50c7f9019b6301b215a784.jpg","text":"TemporaryFile(/tmp/multipartBody4835172638604186297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_37_25_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a850fed628812390818363704ba42f1.jpg","text":"TemporaryFile(/tmp/multipartBody5625106209672822769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_37_07_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b7fb519ce36d2facdfae246b2f98f43d.jpg","text":"TemporaryFile(/tmp/multipartBody2967390803525588839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_38_05_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9367999ca9606ae53cb94cac49cf23e5.jpg","text":"TemporaryFile(/tmp/multipartBody87878430110577302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_38_16_6383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0232b2b875ce4f087b0c5e7f30972b89.jpg","text":"TemporaryFile(/tmp/multipartBody1845269901317163999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_36_55_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31196b805ff4566fe6faa4650c45f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody8843579057918522589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598043746,"filename":"image_15072025_15_36_28_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212022","file1":"1372211931","file0":"1372211873","file4":"1372212159","file5":"1372212207","file3":"1372212107"},"map_files_photo_id_array":[{"photo_id":"1372212207","filename":"file5"},{"photo_id":"1372212022","filename":"file2"},{"photo_id":"1372212159","filename":"file4"},{"photo_id":"1372211931","filename":"file1"},{"photo_id":"1372211873","filename":"file0"},{"photo_id":"1372212107","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212107":["hashtag1","hashtag2"]},{"1372212022":["hashtag1","hashtag2"]},{"1372212159":["hashtag1","hashtag2"]},{"1372212207":["hashtag1","hashtag2"]},{"1372211931":["hashtag1","hashtag2"]},{"1372211873":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212107, 1372212022, 1372212159, 1372212207, 1372211931, 1372211873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16353416442871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:47:22.784474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_18_1640.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_22_2639.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_29_3828.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_31_2639.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_46_3803.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_49_2827.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_18_1640.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_22_2639.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_29_3828.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_31_2639.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_46_3803.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_49_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212257","1372212250","1372212264","1372212243","1372212237","1372212231"],"photo_ids_order":["1372212231","1372212237","1372212243","1372212250","1372212257","1372212264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f84df0fccc4bc99d7d158d502b376be.jpg","text":"TemporaryFile(/tmp/multipartBody4801796351718870967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_46_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f90f13206db4417e19f344aa46f4fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2080017342065132417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_31_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cde7ca49646dc14bca0ebe8deae57b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5646804048961969456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_49_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a6ee92b846768a2e518636d3b64f5ec5.jpg","text":"TemporaryFile(/tmp/multipartBody73498241975518384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_29_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd1d0c289ac2d12acbd34779f17ca65b.jpg","text":"TemporaryFile(/tmp/multipartBody3919034502982741138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_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/7/15/50ce23cda3e0832722519dd37007ca08.jpg","text":"TemporaryFile(/tmp/multipartBody2916327850661580199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598103897,"filename":"image_15072025_15_38_18_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212243","file1":"1372212237","file0":"1372212231","file4":"1372212257","file5":"1372212264","file3":"1372212250"},"map_files_photo_id_array":[{"photo_id":"1372212264","filename":"file5"},{"photo_id":"1372212243","filename":"file2"},{"photo_id":"1372212257","filename":"file4"},{"photo_id":"1372212237","filename":"file1"},{"photo_id":"1372212231","filename":"file0"},{"photo_id":"1372212250","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212257":["hashtag1","hashtag2"]},{"1372212250":["hashtag1","hashtag2"]},{"1372212264":["hashtag1","hashtag2"]},{"1372212243":["hashtag1","hashtag2"]},{"1372212237":["hashtag1","hashtag2"]},{"1372212231":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212257, 1372212250, 1372212264, 1372212243, 1372212237, 1372212231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.866551876068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:48:22.462928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_52_2656.jpg', '/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_55_2603.jpg', '/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_01_2673.jpg', '/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_07_3582.jpg', '/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_10_2653.jpg', '/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_19_2673.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_52_2656.jpg
/home/pi/Desktop/images/15072025/15/38/image_15072025_15_38_55_2603.jpg
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_01_2673.jpg
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_07_3582.jpg
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_10_2653.jpg
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_19_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":["1372212424","1372212352","1372212273","1372212429","1372212402","1372212303"],"photo_ids_order":["1372212273","1372212303","1372212352","1372212402","1372212424","1372212429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cb86b8ca57b9ffb7458ee868e5829a53.jpg","text":"TemporaryFile(/tmp/multipartBody4460448212177519182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_39_10_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e5f2e6efcb1ab828f814434010afa39.jpg","text":"TemporaryFile(/tmp/multipartBody8500729811555186364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_39_01_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62a083e4b6d4d5367032663c228693d9.jpg","text":"TemporaryFile(/tmp/multipartBody2047820719301860431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_38_52_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eba6b5f7a767f8cf2be66d71d43dd974.jpg","text":"TemporaryFile(/tmp/multipartBody1704524026380413756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_39_19_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fbc581c395221fe4c8a9a1f55315271.jpg","text":"TemporaryFile(/tmp/multipartBody3745282712577105915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_39_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/7/15/a9078e60baf116a4e62494ecb94ee462.jpg","text":"TemporaryFile(/tmp/multipartBody1870141005830925540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598163570,"filename":"image_15072025_15_38_55_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212352","file1":"1372212303","file0":"1372212273","file4":"1372212424","file5":"1372212429","file3":"1372212402"},"map_files_photo_id_array":[{"photo_id":"1372212429","filename":"file5"},{"photo_id":"1372212352","filename":"file2"},{"photo_id":"1372212424","filename":"file4"},{"photo_id":"1372212303","filename":"file1"},{"photo_id":"1372212273","filename":"file0"},{"photo_id":"1372212402","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212424":["hashtag1","hashtag2"]},{"1372212352":["hashtag1","hashtag2"]},{"1372212273":["hashtag1","hashtag2"]},{"1372212429":["hashtag1","hashtag2"]},{"1372212402":["hashtag1","hashtag2"]},{"1372212303":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212424, 1372212352, 1372212273, 1372212429, 1372212402, 1372212303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.92383003234863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:49:22.728716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_22_3561.jpg', '/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_31_3681.jpg', '/home/pi/Desktop/images/15072025/15/40/image_15072025_15_40_55_3563.jpg', '/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_25_3557.jpg', '/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_27_2606.jpg', '/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_31_3522.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_22_3561.jpg
/home/pi/Desktop/images/15072025/15/39/image_15072025_15_39_31_3681.jpg
/home/pi/Desktop/images/15072025/15/40/image_15072025_15_40_55_3563.jpg
/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_25_3557.jpg
/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_27_2606.jpg
/home/pi/Desktop/images/15072025/15/42/image_15072025_15_42_31_3522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212484","1372212466","1372212448","1372212453","1372212456","1372212488"],"photo_ids_order":["1372212448","1372212453","1372212456","1372212466","1372212484","1372212488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/124901d5559cd20cce58fda251c794e4.jpg","text":"TemporaryFile(/tmp/multipartBody3010327427699753472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_42_27_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/220f76a4152e9225d7ff1cdf35cbe445.jpg","text":"TemporaryFile(/tmp/multipartBody574712442835887906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_42_25_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bfb9454fafe1d9a7d8f4bc651b7529e8.jpg","text":"TemporaryFile(/tmp/multipartBody7815196681602036592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_39_22_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c089ac5304673f7c8b8acc80e89135f.jpg","text":"TemporaryFile(/tmp/multipartBody8212868240661187025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_39_31_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bab95f451c53bea05d52a7337aabcb8c.jpg","text":"TemporaryFile(/tmp/multipartBody2506653521067423678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_40_55_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6bd55a8f73fc90931017a8df8e9f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody511995646999719801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598223841,"filename":"image_15072025_15_42_31_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212456","file1":"1372212453","file0":"1372212448","file4":"1372212484","file5":"1372212488","file3":"1372212466"},"map_files_photo_id_array":[{"photo_id":"1372212488","filename":"file5"},{"photo_id":"1372212456","filename":"file2"},{"photo_id":"1372212484","filename":"file4"},{"photo_id":"1372212453","filename":"file1"},{"photo_id":"1372212448","filename":"file0"},{"photo_id":"1372212466","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212484":["hashtag1","hashtag2"]},{"1372212466":["hashtag1","hashtag2"]},{"1372212448":["hashtag1","hashtag2"]},{"1372212453":["hashtag1","hashtag2"]},{"1372212456":["hashtag1","hashtag2"]},{"1372212488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212484, 1372212466, 1372212448, 1372212453, 1372212456, 1372212488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97761011123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:50:22.798095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/43/image_15072025_15_43_22_3604.jpg', '/home/pi/Desktop/images/15072025/15/43/image_15072025_15_43_51_2676.jpg', '/home/pi/Desktop/images/15072025/15/44/image_15072025_15_44_40_3662.jpg', '/home/pi/Desktop/images/15072025/15/45/image_15072025_15_45_21_2826.jpg', '/home/pi/Desktop/images/15072025/15/45/image_15072025_15_45_57_2703.jpg', '/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_06_2792.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/43/image_15072025_15_43_22_3604.jpg
/home/pi/Desktop/images/15072025/15/43/image_15072025_15_43_51_2676.jpg
/home/pi/Desktop/images/15072025/15/44/image_15072025_15_44_40_3662.jpg
/home/pi/Desktop/images/15072025/15/45/image_15072025_15_45_21_2826.jpg
/home/pi/Desktop/images/15072025/15/45/image_15072025_15_45_57_2703.jpg
/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_06_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212533","1372212506","1372212503","1372212511","1372212516","1372212525"],"photo_ids_order":["1372212503","1372212506","1372212511","1372212516","1372212525","1372212533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c24224182b6d655d1d7d7f61153432f6.jpg","text":"TemporaryFile(/tmp/multipartBody3981480387818186520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_47_06_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd04ccfd02432da5694916ddb2f8485c.jpg","text":"TemporaryFile(/tmp/multipartBody3756533090497164566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_43_51_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1367a29fb87139d1a01f6d71497fa1d6.jpg","text":"TemporaryFile(/tmp/multipartBody127465756215030074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_43_22_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2360c5f8bd0711686899d4396db2b245.jpg","text":"TemporaryFile(/tmp/multipartBody4871720494134942665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_44_40_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1de5a61aaa14512417c87df7658b6761.jpg","text":"TemporaryFile(/tmp/multipartBody928937603082312616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_45_21_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac2c26f5fffc24ff8a26918d4e14e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3728635937450075723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598283901,"filename":"image_15072025_15_45_57_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212511","file1":"1372212506","file0":"1372212503","file4":"1372212525","file5":"1372212533","file3":"1372212516"},"map_files_photo_id_array":[{"photo_id":"1372212533","filename":"file5"},{"photo_id":"1372212511","filename":"file2"},{"photo_id":"1372212525","filename":"file4"},{"photo_id":"1372212506","filename":"file1"},{"photo_id":"1372212503","filename":"file0"},{"photo_id":"1372212516","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212533":["hashtag1","hashtag2"]},{"1372212506":["hashtag1","hashtag2"]},{"1372212503":["hashtag1","hashtag2"]},{"1372212511":["hashtag1","hashtag2"]},{"1372212516":["hashtag1","hashtag2"]},{"1372212525":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212533, 1372212506, 1372212503, 1372212511, 1372212516, 1372212525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.802356243133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:51:21.941635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_18_2550.jpg', '/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_27_2833.jpg', '/home/pi/Desktop/images/15072025/15/47/image_15072025_15_48_00_3695.jpg', '/home/pi/Desktop/images/15072025/15/48/image_15072025_15_48_28_3578.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_15_3637.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_18_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_18_2550.jpg
/home/pi/Desktop/images/15072025/15/47/image_15072025_15_47_27_2833.jpg
/home/pi/Desktop/images/15072025/15/47/image_15072025_15_48_00_3695.jpg
/home/pi/Desktop/images/15072025/15/48/image_15072025_15_48_28_3578.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_15_3637.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_18_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212725","1372212673","1372212781","1372212774","1372212785","1372212624"],"photo_ids_order":["1372212624","1372212673","1372212725","1372212774","1372212781","1372212785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66ac2784ecd58be1a41fb623186bebc1.jpg","text":"TemporaryFile(/tmp/multipartBody5383583544913538884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_48_00_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/010f0d697f593913f5e428970af7ac30.jpg","text":"TemporaryFile(/tmp/multipartBody2246468798388547853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_47_27_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71e3cde6b7f199da0994fa3d780f4506.jpg","text":"TemporaryFile(/tmp/multipartBody3901520839244475148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_49_15_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/839a7683c38afe9666c74c12cf412580.jpg","text":"TemporaryFile(/tmp/multipartBody7628638742258955537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_48_28_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd4f9f7758892a36dbeffab1e2830d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1013787429052023669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_49_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/7/15/4aacd6376fb65b9b900fafc3591106ce.jpg","text":"TemporaryFile(/tmp/multipartBody2586436394194105313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598343048,"filename":"image_15072025_15_47_18_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212725","file1":"1372212673","file0":"1372212624","file4":"1372212781","file5":"1372212785","file3":"1372212774"},"map_files_photo_id_array":[{"photo_id":"1372212785","filename":"file5"},{"photo_id":"1372212725","filename":"file2"},{"photo_id":"1372212781","filename":"file4"},{"photo_id":"1372212673","filename":"file1"},{"photo_id":"1372212624","filename":"file0"},{"photo_id":"1372212774","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212725":["hashtag1","hashtag2"]},{"1372212673":["hashtag1","hashtag2"]},{"1372212781":["hashtag1","hashtag2"]},{"1372212774":["hashtag1","hashtag2"]},{"1372212785":["hashtag1","hashtag2"]},{"1372212624":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212725, 1372212673, 1372212781, 1372212774, 1372212785, 1372212624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.280375242233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:52:22.793303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_21_2566.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_24_3627.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_30_3561.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_33_2505.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_36_2778.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_42_2545.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_21_2566.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_24_3627.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_30_3561.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_33_2505.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_36_2778.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_42_2545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212803","1372212799","1372212808","1372212817","1372212805","1372212810"],"photo_ids_order":["1372212799","1372212803","1372212805","1372212808","1372212810","1372212817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d6bb92a362088f3ef6445efad533d03.jpg","text":"TemporaryFile(/tmp/multipartBody7011955217476425361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_24_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/279e4e513ae23e6466bff1f8b3918951.jpg","text":"TemporaryFile(/tmp/multipartBody7967423427014134724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_21_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05bfd68ac4812da9122ad48352bd7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3821892675547278170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_33_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aac07462a4e1b91c53cdde3666e1b8e9.jpg","text":"TemporaryFile(/tmp/multipartBody6195845455074025767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_42_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8b93d795faeb9593111753225870a78.jpg","text":"TemporaryFile(/tmp/multipartBody5483393404658646203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_30_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be883289d74716d19e09d062b36d916b.jpg","text":"TemporaryFile(/tmp/multipartBody6940170105755133292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598403901,"filename":"image_15072025_15_49_36_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212805","file1":"1372212803","file0":"1372212799","file4":"1372212810","file5":"1372212817","file3":"1372212808"},"map_files_photo_id_array":[{"photo_id":"1372212817","filename":"file5"},{"photo_id":"1372212805","filename":"file2"},{"photo_id":"1372212810","filename":"file4"},{"photo_id":"1372212803","filename":"file1"},{"photo_id":"1372212799","filename":"file0"},{"photo_id":"1372212808","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212803":["hashtag1","hashtag2"]},{"1372212799":["hashtag1","hashtag2"]},{"1372212808":["hashtag1","hashtag2"]},{"1372212817":["hashtag1","hashtag2"]},{"1372212805":["hashtag1","hashtag2"]},{"1372212810":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212803, 1372212799, 1372212808, 1372212817, 1372212805, 1372212810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52215361595154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:53:21.881269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_45_2673.jpg', '/home/pi/Desktop/images/15072025/15/49/image_15072025_15_50_00_3728.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_03_2722.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_06_2801.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_33_2734.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_45_2653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_49_45_2673.jpg
/home/pi/Desktop/images/15072025/15/49/image_15072025_15_50_00_3728.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_03_2722.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_06_2801.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_33_2734.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_45_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212859","1372212861","1372212864","1372212837","1372212848","1372212842"],"photo_ids_order":["1372212837","1372212842","1372212848","1372212859","1372212861","1372212864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bcd5fb425a92f91c16faf6e67f79ed06.jpg","text":"TemporaryFile(/tmp/multipartBody1050304431444546559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_50_06_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e39f52d6ab708d95b001d633c2f479e.jpg","text":"TemporaryFile(/tmp/multipartBody7802077746290741770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_50_33_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79caf22a3fa00d7eec8d2900f682a18c.jpg","text":"TemporaryFile(/tmp/multipartBody7941774750534642760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_50_45_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2850e521fc8f85cc6601cf0e4d87cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody2748064973638484811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_49_45_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a981bdbd45fdf62cb9dcca8654cc97d.jpg","text":"TemporaryFile(/tmp/multipartBody7261279885587745944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_50_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/7/15/0ae93733b5b9e373a27b37aa017c9574.jpg","text":"TemporaryFile(/tmp/multipartBody5222395094139268004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598462994,"filename":"image_15072025_15_50_00_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212848","file1":"1372212842","file0":"1372212837","file4":"1372212861","file5":"1372212864","file3":"1372212859"},"map_files_photo_id_array":[{"photo_id":"1372212864","filename":"file5"},{"photo_id":"1372212848","filename":"file2"},{"photo_id":"1372212861","filename":"file4"},{"photo_id":"1372212842","filename":"file1"},{"photo_id":"1372212837","filename":"file0"},{"photo_id":"1372212859","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212859":["hashtag1","hashtag2"]},{"1372212861":["hashtag1","hashtag2"]},{"1372212864":["hashtag1","hashtag2"]},{"1372212837":["hashtag1","hashtag2"]},{"1372212848":["hashtag1","hashtag2"]},{"1372212842":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212859, 1372212861, 1372212864, 1372212837, 1372212848, 1372212842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.142658948898315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 18:54:22.388921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_51_3710.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_51_00_3648.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_03_2674.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_06_2629.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_09_3588.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_48_3663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_51_3710.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_51_00_3648.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_03_2674.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_06_2629.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_09_3588.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_48_3663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7018437385559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:54:42.340240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_51_3710.jpg', '/home/pi/Desktop/images/15072025/15/50/image_15072025_15_51_00_3648.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_03_2674.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_06_2629.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_09_3588.jpg', '/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_48_3663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_50_51_3710.jpg
/home/pi/Desktop/images/15072025/15/50/image_15072025_15_51_00_3648.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_03_2674.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_06_2629.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_09_3588.jpg
/home/pi/Desktop/images/15072025/15/51/image_15072025_15_51_48_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212905","1372212908","1372212898","1372212901","1372212894","1372212912"],"photo_ids_order":["1372212894","1372212898","1372212901","1372212905","1372212908","1372212912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14e1a1a56bc25ee2b7f8b57307a9753f.jpg","text":"TemporaryFile(/tmp/multipartBody6610552412915011432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_51_06_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04076ecd4ce748205fc7b46d6fef560c.jpg","text":"TemporaryFile(/tmp/multipartBody3311479664995019978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_51_09_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/996ab1443715a087e81d7ebc51c36894.jpg","text":"TemporaryFile(/tmp/multipartBody5648058387597851845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_51_00_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bedf29168cc35fea0a496e9b1cade8f9.jpg","text":"TemporaryFile(/tmp/multipartBody9106364593812625596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_51_03_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05ca882e830895920e3f4f05e855323b.jpg","text":"TemporaryFile(/tmp/multipartBody6009248615158893402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_50_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/7/15/25c5ded9ec4ec38b7b28b6b28044b13a.jpg","text":"TemporaryFile(/tmp/multipartBody6051170247776329587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598543438,"filename":"image_15072025_15_51_48_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212901","file1":"1372212898","file0":"1372212894","file4":"1372212908","file5":"1372212912","file3":"1372212905"},"map_files_photo_id_array":[{"photo_id":"1372212912","filename":"file5"},{"photo_id":"1372212901","filename":"file2"},{"photo_id":"1372212908","filename":"file4"},{"photo_id":"1372212898","filename":"file1"},{"photo_id":"1372212894","filename":"file0"},{"photo_id":"1372212905","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212905":["hashtag1","hashtag2"]},{"1372212908":["hashtag1","hashtag2"]},{"1372212898":["hashtag1","hashtag2"]},{"1372212901":["hashtag1","hashtag2"]},{"1372212894":["hashtag1","hashtag2"]},{"1372212912":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212905, 1372212908, 1372212898, 1372212901, 1372212894, 1372212912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.69202947616577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:55:42.123847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/52/image_15072025_15_52_15_3674.jpg', '/home/pi/Desktop/images/15072025/15/52/image_15072025_15_52_50_2710.jpg', '/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_08_2684.jpg', '/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_15_3683.jpg', '/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_20_2739.jpg', '/home/pi/Desktop/images/15072025/15/55/image_15072025_15_55_38_2654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/52/image_15072025_15_52_15_3674.jpg
/home/pi/Desktop/images/15072025/15/52/image_15072025_15_52_50_2710.jpg
/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_08_2684.jpg
/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_15_3683.jpg
/home/pi/Desktop/images/15072025/15/54/image_15072025_15_54_20_2739.jpg
/home/pi/Desktop/images/15072025/15/55/image_15072025_15_55_38_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":["1372212944","1372212923","1372212932","1372212958","1372212949","1372212953"],"photo_ids_order":["1372212923","1372212932","1372212944","1372212949","1372212953","1372212958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46e27991bcf62aa758326d691a981c85.jpg","text":"TemporaryFile(/tmp/multipartBody5320517191492994677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_54_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/7/15/d5b4c7d3f06211bfecb2b4c5e0429de2.jpg","text":"TemporaryFile(/tmp/multipartBody7855043428853494508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_52_15_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe27405e996fc8fea928e46c68888b64.jpg","text":"TemporaryFile(/tmp/multipartBody3769766956700539960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_52_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/7/15/74e5015712647d475fffde4f55ada4c4.jpg","text":"TemporaryFile(/tmp/multipartBody5323884143895995333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_55_38_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4d9bc8f6d7deb895133d120cd656c67.jpg","text":"TemporaryFile(/tmp/multipartBody8265372442351716206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_54_15_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4fb08a7d6f37662d2ad0bef2dde8b210.jpg","text":"TemporaryFile(/tmp/multipartBody4263285037764174809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598603238,"filename":"image_15072025_15_54_20_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212944","file1":"1372212932","file0":"1372212923","file4":"1372212953","file5":"1372212958","file3":"1372212949"},"map_files_photo_id_array":[{"photo_id":"1372212958","filename":"file5"},{"photo_id":"1372212944","filename":"file2"},{"photo_id":"1372212953","filename":"file4"},{"photo_id":"1372212932","filename":"file1"},{"photo_id":"1372212923","filename":"file0"},{"photo_id":"1372212949","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212944":["hashtag1","hashtag2"]},{"1372212923":["hashtag1","hashtag2"]},{"1372212932":["hashtag1","hashtag2"]},{"1372212958":["hashtag1","hashtag2"]},{"1372212949":["hashtag1","hashtag2"]},{"1372212953":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212944, 1372212923, 1372212932, 1372212958, 1372212949, 1372212953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.126545906066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:56:42.411858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/55/image_15072025_15_55_54_3663.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_02_2685.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_06_3720.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_08_2624.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_24_3762.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_26_2581.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/55/image_15072025_15_55_54_3663.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_02_2685.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_06_3720.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_08_2624.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_24_3762.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_26_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372212976","1372213006","1372212979","1372212972","1372213001","1372212989"],"photo_ids_order":["1372212972","1372212976","1372212979","1372212989","1372213001","1372213006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09dec204981d1a20af0e4e862420d28b.jpg","text":"TemporaryFile(/tmp/multipartBody2309922235221899179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_56_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/7/15/6eac7cd0892f44aa8b69d04615103288.jpg","text":"TemporaryFile(/tmp/multipartBody8282458380155235453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_56_26_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70a63d6a9a92bbc40d017386aa4b8c51.jpg","text":"TemporaryFile(/tmp/multipartBody5133457177549194749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_56_06_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/01067a490f524b68afa3a3865860bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody5844171517929999160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_55_54_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b68f325522460794008c467eaf413de.jpg","text":"TemporaryFile(/tmp/multipartBody5154581712306578054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_56_24_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12c8eac12c9e8e847fd8bfae2e267bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7392694100491767338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598663527,"filename":"image_15072025_15_56_08_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372212979","file1":"1372212976","file0":"1372212972","file4":"1372213001","file5":"1372213006","file3":"1372212989"},"map_files_photo_id_array":[{"photo_id":"1372213006","filename":"file5"},{"photo_id":"1372212979","filename":"file2"},{"photo_id":"1372213001","filename":"file4"},{"photo_id":"1372212976","filename":"file1"},{"photo_id":"1372212972","filename":"file0"},{"photo_id":"1372212989","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372212976":["hashtag1","hashtag2"]},{"1372213006":["hashtag1","hashtag2"]},{"1372212979":["hashtag1","hashtag2"]},{"1372212972":["hashtag1","hashtag2"]},{"1372213001":["hashtag1","hashtag2"]},{"1372212989":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372212976, 1372213006, 1372212979, 1372212972, 1372213001, 1372212989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.31441521644592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 18:57:42.021977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_29_2679.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_33_3729.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_35_2789.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_38_2618.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_42_3619.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_47_2752.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_29_2679.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_33_3729.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_35_2789.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_38_2618.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_42_3619.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_47_2752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372213036","1372213053","1372213044","1372213026","1372213049","1372213040"],"photo_ids_order":["1372213026","1372213036","1372213040","1372213044","1372213049","1372213053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71b3c2352d1d87f3d33f4abf33425b81.jpg","text":"TemporaryFile(/tmp/multipartBody3073234951479231704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_33_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a98fd83d9d9d72518116f9d80b9c98e.jpg","text":"TemporaryFile(/tmp/multipartBody582575888859938375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_47_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf3c125621e8aa864535d8acba054a3d.jpg","text":"TemporaryFile(/tmp/multipartBody3183039193865441745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_38_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c225fd97084562c03746da73cc4abc77.jpg","text":"TemporaryFile(/tmp/multipartBody733587254372277456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_29_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/76047dd888395cd6f8504c769ce7b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5271636423837846943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_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/7/15/257c19a663e7a37a1682be2b87122720.jpg","text":"TemporaryFile(/tmp/multipartBody8134379072308797496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598723108,"filename":"image_15072025_15_56_35_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372213040","file1":"1372213036","file0":"1372213026","file4":"1372213049","file5":"1372213053","file3":"1372213044"},"map_files_photo_id_array":[{"photo_id":"1372213053","filename":"file5"},{"photo_id":"1372213040","filename":"file2"},{"photo_id":"1372213049","filename":"file4"},{"photo_id":"1372213036","filename":"file1"},{"photo_id":"1372213026","filename":"file0"},{"photo_id":"1372213044","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372213036":["hashtag1","hashtag2"]},{"1372213053":["hashtag1","hashtag2"]},{"1372213044":["hashtag1","hashtag2"]},{"1372213026":["hashtag1","hashtag2"]},{"1372213049":["hashtag1","hashtag2"]},{"1372213040":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372213036, 1372213053, 1372213044, 1372213026, 1372213049, 1372213040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.59490895271301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 18:59:03.080086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_51_3673.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_53_2599.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_56_2662.jpg', '/home/pi/Desktop/images/15072025/15/56/image_15072025_15_57_00_3618.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_02_2503.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_05_2798.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_51_3673.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_53_2599.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_56_56_2662.jpg
/home/pi/Desktop/images/15072025/15/56/image_15072025_15_57_00_3618.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_02_2503.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_05_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372213363","1372213312","1372213359","1372213350","1372213293","1372213316"],"photo_ids_order":["1372213293","1372213312","1372213316","1372213350","1372213359","1372213363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54a27bbec4eca384e0814ee4e96ef3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7928814004463861144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_57_05_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ceba95c0bdfa35b24d380a72999a8427.jpg","text":"TemporaryFile(/tmp/multipartBody8595208895278631331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_56_53_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34bc5c3e179adbeb78f7d3964bf1f37e.jpg","text":"TemporaryFile(/tmp/multipartBody5021539074240379713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_57_02_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3b0a210a204f883372d3f1590f87375.jpg","text":"TemporaryFile(/tmp/multipartBody7014610405409229078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_57_00_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/acd14047de4c17d4603fdd9e8f3ba0ff.jpg","text":"TemporaryFile(/tmp/multipartBody2356958628830928994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_56_51_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d1c9a37a5ae7e383e512154ae78ec75.jpg","text":"TemporaryFile(/tmp/multipartBody5363569100327861200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598804397,"filename":"image_15072025_15_56_56_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372213316","file1":"1372213312","file0":"1372213293","file4":"1372213359","file5":"1372213363","file3":"1372213350"},"map_files_photo_id_array":[{"photo_id":"1372213363","filename":"file5"},{"photo_id":"1372213316","filename":"file2"},{"photo_id":"1372213359","filename":"file4"},{"photo_id":"1372213312","filename":"file1"},{"photo_id":"1372213293","filename":"file0"},{"photo_id":"1372213350","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372213363":["hashtag1","hashtag2"]},{"1372213312":["hashtag1","hashtag2"]},{"1372213359":["hashtag1","hashtag2"]},{"1372213350":["hashtag1","hashtag2"]},{"1372213293":["hashtag1","hashtag2"]},{"1372213316":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372213363, 1372213312, 1372213359, 1372213350, 1372213293, 1372213316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24753952026367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:00:02.913499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_09_3727.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_11_2619.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_14_2594.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_17_3526.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_20_2730.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_23_2653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_09_3727.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_11_2619.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_14_2594.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_17_3526.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_20_2730.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_23_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372213447","1372213510","1372213461","1372213562","1372213433","1372213613"],"photo_ids_order":["1372213433","1372213447","1372213461","1372213510","1372213562","1372213613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55d8bc1f356d3d4459c584ee008c0b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6890282588804458386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_11_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d7b456e95c153a0ddd6a4242bed2e58.jpg","text":"TemporaryFile(/tmp/multipartBody1600386396733767863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_17_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86ecd269f4aaabc5b33af11f49064ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5752041451798422993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_14_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9a2ad4d608821ca2cd84ca5b93ce8a45.jpg","text":"TemporaryFile(/tmp/multipartBody3786523357153141798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_20_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d0017c7e77c44de6da6ffa72156c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7886168165470876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_09_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4c82f192191a18ec565b1b096e5691a.jpg","text":"TemporaryFile(/tmp/multipartBody7359588774075766025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598864106,"filename":"image_15072025_15_57_23_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372213461","file1":"1372213447","file0":"1372213433","file4":"1372213562","file5":"1372213613","file3":"1372213510"},"map_files_photo_id_array":[{"photo_id":"1372213613","filename":"file5"},{"photo_id":"1372213461","filename":"file2"},{"photo_id":"1372213562","filename":"file4"},{"photo_id":"1372213447","filename":"file1"},{"photo_id":"1372213433","filename":"file0"},{"photo_id":"1372213510","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372213447":["hashtag1","hashtag2"]},{"1372213510":["hashtag1","hashtag2"]},{"1372213461":["hashtag1","hashtag2"]},{"1372213562":["hashtag1","hashtag2"]},{"1372213433":["hashtag1","hashtag2"]},{"1372213613":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372213447, 1372213510, 1372213461, 1372213562, 1372213433, 1372213613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.43606472015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:01:03.329196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_27_3836.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_29_2702.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_32_2750.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_35_2832.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_39_3794.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_41_2232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_27_3836.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_29_2702.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_32_2750.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_35_2832.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_39_3794.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_41_2232.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372213771","1372213939","1372213831","1372213929","1372213934","1372213888"],"photo_ids_order":["1372213771","1372213831","1372213888","1372213929","1372213934","1372213939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9fc3bbfa85cd769a525c0bd2028e39c.jpg","text":"TemporaryFile(/tmp/multipartBody280372090455009453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_27_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/588b0d458f39708d55989f5d45d9b1b4.jpg","text":"TemporaryFile(/tmp/multipartBody820434107673060920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_41_2232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8e94c912aa03c8a113ee370d75da3a50.jpg","text":"TemporaryFile(/tmp/multipartBody796627425738249796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_29_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc4b114aefc8c7dbdc008a3f4b9175d0.jpg","text":"TemporaryFile(/tmp/multipartBody6217038122757889042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_35_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7fbe8468b56794d3345012e3ff69ba73.jpg","text":"TemporaryFile(/tmp/multipartBody7288474705340020843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_39_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcd41217960cea1d9be620d489d1e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody6769308669086628767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598924521,"filename":"image_15072025_15_57_32_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372213888","file1":"1372213831","file0":"1372213771","file4":"1372213934","file5":"1372213939","file3":"1372213929"},"map_files_photo_id_array":[{"photo_id":"1372213939","filename":"file5"},{"photo_id":"1372213888","filename":"file2"},{"photo_id":"1372213934","filename":"file4"},{"photo_id":"1372213831","filename":"file1"},{"photo_id":"1372213771","filename":"file0"},{"photo_id":"1372213929","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372213771":["hashtag1","hashtag2"]},{"1372213939":["hashtag1","hashtag2"]},{"1372213831":["hashtag1","hashtag2"]},{"1372213929":["hashtag1","hashtag2"]},{"1372213934":["hashtag1","hashtag2"]},{"1372213888":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372213771, 1372213939, 1372213831, 1372213929, 1372213934, 1372213888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.054473638534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:02:03.294426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_44_3618.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_47_2621.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_50_2769.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_56_2836.jpg', '/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_59_2639.jpg', '/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_05_3597.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_44_3618.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_47_2621.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_50_2769.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_56_2836.jpg
/home/pi/Desktop/images/15072025/15/57/image_15072025_15_57_59_2639.jpg
/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_05_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372213984","1372213966","1372213977","1372213988","1372213991","1372213993"],"photo_ids_order":["1372213966","1372213977","1372213984","1372213988","1372213991","1372213993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ff12a4b845c7b68033783f6ddd3dbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8902104353367053925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_57_50_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c4c9120d04468aeabc7abd5f479368df.jpg","text":"TemporaryFile(/tmp/multipartBody8299811860493268764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_57_44_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80763a0d42fe113eba6356606466ab6d.jpg","text":"TemporaryFile(/tmp/multipartBody345069435667005326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_57_47_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d15bda9967471cbfd864da2beaae31e.jpg","text":"TemporaryFile(/tmp/multipartBody7396974827422185765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_57_56_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd7b6d94eadb6bcc6d43acb090e8c1e2.jpg","text":"TemporaryFile(/tmp/multipartBody799394697141990625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_57_59_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4badc0d28b5532d47f5f578664504385.jpg","text":"TemporaryFile(/tmp/multipartBody6171742010317640598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752598984454,"filename":"image_15072025_15_58_05_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372213984","file1":"1372213977","file0":"1372213966","file4":"1372213991","file5":"1372213993","file3":"1372213988"},"map_files_photo_id_array":[{"photo_id":"1372213993","filename":"file5"},{"photo_id":"1372213984","filename":"file2"},{"photo_id":"1372213991","filename":"file4"},{"photo_id":"1372213977","filename":"file1"},{"photo_id":"1372213966","filename":"file0"},{"photo_id":"1372213988","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372213984":["hashtag1","hashtag2"]},{"1372213966":["hashtag1","hashtag2"]},{"1372213977":["hashtag1","hashtag2"]},{"1372213988":["hashtag1","hashtag2"]},{"1372213991":["hashtag1","hashtag2"]},{"1372213993":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372213984, 1372213966, 1372213977, 1372213988, 1372213991, 1372213993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91568088531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:03:02.877207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_14_2885.jpg', '/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_29_2574.jpg', '/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_50_2980.jpg', '/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_11_2815.jpg', '/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_41_2706.jpg', '/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_53_2755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_14_2885.jpg
/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_29_2574.jpg
/home/pi/Desktop/images/15072025/15/58/image_15072025_15_58_50_2980.jpg
/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_11_2815.jpg
/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_41_2706.jpg
/home/pi/Desktop/images/15072025/15/59/image_15072025_15_59_53_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":["1372214276","1372214222","1372214045","1372214108","1372214164","1372214332"],"photo_ids_order":["1372214045","1372214108","1372214164","1372214222","1372214276","1372214332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1d985072be4e3c0209690e926dc5f03.jpg","text":"TemporaryFile(/tmp/multipartBody3131040171159910116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_59_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/7/15/ddd8b534836e921a2d52763cc94b138a.jpg","text":"TemporaryFile(/tmp/multipartBody1939907984113473402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_59_11_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7687ebe4d6369b86b4dd33abb7503fe.jpg","text":"TemporaryFile(/tmp/multipartBody6255628237211500192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_58_14_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/15158d8eb5b78f92f5f20ebbea868f46.jpg","text":"TemporaryFile(/tmp/multipartBody6399766839300380320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_58_29_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc9693a843994f96200ea4dde2429055.jpg","text":"TemporaryFile(/tmp/multipartBody155818896347267242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_58_50_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/59606ded709221eafdad6b650dcc5061.jpg","text":"TemporaryFile(/tmp/multipartBody3544651197421238479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599044167,"filename":"image_15072025_15_59_53_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372214164","file1":"1372214108","file0":"1372214045","file4":"1372214276","file5":"1372214332","file3":"1372214222"},"map_files_photo_id_array":[{"photo_id":"1372214332","filename":"file5"},{"photo_id":"1372214164","filename":"file2"},{"photo_id":"1372214276","filename":"file4"},{"photo_id":"1372214108","filename":"file1"},{"photo_id":"1372214045","filename":"file0"},{"photo_id":"1372214222","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372214276":["hashtag1","hashtag2"]},{"1372214222":["hashtag1","hashtag2"]},{"1372214045":["hashtag1","hashtag2"]},{"1372214108":["hashtag1","hashtag2"]},{"1372214164":["hashtag1","hashtag2"]},{"1372214332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372214276, 1372214222, 1372214045, 1372214108, 1372214164, 1372214332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37883687019348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:04:02.762973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_10_3791.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_14_4740.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_16_1509.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_19_2632.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_21_2583.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_25_3586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_10_3791.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_14_4740.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_16_1509.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_19_2632.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_21_2583.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_25_3586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372214762","1372214502","1372214744","1372214695","1372214644","1372214551"],"photo_ids_order":["1372214502","1372214551","1372214644","1372214695","1372214744","1372214762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2979f2ad9143bda0ab540383b64c888a.jpg","text":"TemporaryFile(/tmp/multipartBody7372257109834926967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_25_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a44b30a6107144f1aaa489eaca242b71.jpg","text":"TemporaryFile(/tmp/multipartBody7531903539215382556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_10_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9ecccf0bd232e6365d1991cc02e0d71e.jpg","text":"TemporaryFile(/tmp/multipartBody5999973389490193182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_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/7/15/98e092bcc7907aec1b8f450d0448b8d6.jpg","text":"TemporaryFile(/tmp/multipartBody5582278954081715225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_19_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/943b94e1f27f16554c2f431d211452c7.jpg","text":"TemporaryFile(/tmp/multipartBody5199242657931294587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_16_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9404e5df1dc51b38d415322b140b04f8.jpg","text":"TemporaryFile(/tmp/multipartBody764863282766073572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599104075,"filename":"image_15072025_16_01_14_4740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372214644","file1":"1372214551","file0":"1372214502","file4":"1372214744","file5":"1372214762","file3":"1372214695"},"map_files_photo_id_array":[{"photo_id":"1372214762","filename":"file5"},{"photo_id":"1372214644","filename":"file2"},{"photo_id":"1372214744","filename":"file4"},{"photo_id":"1372214551","filename":"file1"},{"photo_id":"1372214502","filename":"file0"},{"photo_id":"1372214695","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372214762":["hashtag1","hashtag2"]},{"1372214502":["hashtag1","hashtag2"]},{"1372214744":["hashtag1","hashtag2"]},{"1372214695":["hashtag1","hashtag2"]},{"1372214644":["hashtag1","hashtag2"]},{"1372214551":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372214762, 1372214502, 1372214744, 1372214695, 1372214644, 1372214551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.830437421798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:05:03.387163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_45_2547.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_48_2637.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_51_2828.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_06_7246.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_40_4301.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_45_2868.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_45_2547.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_48_2637.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_51_2828.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_06_7246.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_40_4301.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_45_2868.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8905043601989746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:05:22.595708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_45_2547.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_48_2637.jpg', '/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_51_2828.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_06_7246.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_40_4301.jpg', '/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_45_2868.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_45_2547.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_48_2637.jpg
/home/pi/Desktop/images/15072025/16/01/image_15072025_16_01_51_2828.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_06_7246.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_40_4301.jpg
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_45_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372214818","1372214790","1372214820","1372214795","1372214813","1372214801"],"photo_ids_order":["1372214790","1372214795","1372214801","1372214813","1372214818","1372214820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9691e6f6c1e3d18acfec67f70a6f5b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8902081359750183770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_02_40_4301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75c5212c20d5bd8b4349b8538f015808.jpg","text":"TemporaryFile(/tmp/multipartBody5110066684243228747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_01_45_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95aab83e4099842fe753ffc8886f281b.jpg","text":"TemporaryFile(/tmp/multipartBody3632050310283371766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_02_45_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbffaa3d9988cdfa351db81c2e19d076.jpg","text":"TemporaryFile(/tmp/multipartBody1509867575175141990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_01_48_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9eb0ed6aa4068f8e1da62acb102e3557.jpg","text":"TemporaryFile(/tmp/multipartBody6933679292794220767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_02_06_7246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/339634006464ca5801c0889f53c0b699.jpg","text":"TemporaryFile(/tmp/multipartBody1745590825569489323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599183745,"filename":"image_15072025_16_01_51_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372214801","file1":"1372214795","file0":"1372214790","file4":"1372214818","file5":"1372214820","file3":"1372214813"},"map_files_photo_id_array":[{"photo_id":"1372214820","filename":"file5"},{"photo_id":"1372214801","filename":"file2"},{"photo_id":"1372214818","filename":"file4"},{"photo_id":"1372214795","filename":"file1"},{"photo_id":"1372214790","filename":"file0"},{"photo_id":"1372214813","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372214818":["hashtag1","hashtag2"]},{"1372214790":["hashtag1","hashtag2"]},{"1372214820":["hashtag1","hashtag2"]},{"1372214795":["hashtag1","hashtag2"]},{"1372214813":["hashtag1","hashtag2"]},{"1372214801":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372214818, 1372214790, 1372214820, 1372214795, 1372214813, 1372214801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.5220685005188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:06:22.599656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_48_3600.jpg', '/home/pi/Desktop/images/15072025/16/03/image_15072025_16_03_12_2604.jpg', '/home/pi/Desktop/images/15072025/16/03/image_15072025_16_03_29_4859.jpg', '/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_10_4150.jpg', '/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_18_2799.jpg', '/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_21_2747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/02/image_15072025_16_02_48_3600.jpg
/home/pi/Desktop/images/15072025/16/03/image_15072025_16_03_12_2604.jpg
/home/pi/Desktop/images/15072025/16/03/image_15072025_16_03_29_4859.jpg
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_10_4150.jpg
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_18_2799.jpg
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_21_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215024","1372214972","1372214966","1372214992","1372214953","1372214962"],"photo_ids_order":["1372214953","1372214962","1372214966","1372214972","1372214992","1372215024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e459788e7709c2060f8a56da4d7040ca.jpg","text":"TemporaryFile(/tmp/multipartBody5104743274662719695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_04_21_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c11df4bdbce7c7a72aaf68022ac742ce.jpg","text":"TemporaryFile(/tmp/multipartBody4763475957473152962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_04_10_4150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e24b640824e00507f2d89233a8e301f.jpg","text":"TemporaryFile(/tmp/multipartBody5084798006764918109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_03_29_4859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92231456fbe16766b0c3a15317fb6cac.jpg","text":"TemporaryFile(/tmp/multipartBody5981274936586211995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_04_18_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/785fc9911d30df4c9ededcebf325e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody2745539649600917897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_02_48_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba1d375e56ef5ac94e302671ab67d40a.jpg","text":"TemporaryFile(/tmp/multipartBody8418310697669680342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599243730,"filename":"image_15072025_16_03_12_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372214966","file1":"1372214962","file0":"1372214953","file4":"1372214992","file5":"1372215024","file3":"1372214972"},"map_files_photo_id_array":[{"photo_id":"1372215024","filename":"file5"},{"photo_id":"1372214966","filename":"file2"},{"photo_id":"1372214992","filename":"file4"},{"photo_id":"1372214962","filename":"file1"},{"photo_id":"1372214953","filename":"file0"},{"photo_id":"1372214972","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215024":["hashtag1","hashtag2"]},{"1372214972":["hashtag1","hashtag2"]},{"1372214966":["hashtag1","hashtag2"]},{"1372214992":["hashtag1","hashtag2"]},{"1372214953":["hashtag1","hashtag2"]},{"1372214962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215024, 1372214972, 1372214966, 1372214992, 1372214953, 1372214962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.827816009521484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:07:22.182263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_24_2863.jpg', '/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_45_2748.jpg', '/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_48_3658.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_07_3011.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_13_2586.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_17_3629.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_24_2863.jpg
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_45_2748.jpg
/home/pi/Desktop/images/15072025/16/04/image_15072025_16_04_48_3658.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_07_3011.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_13_2586.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_17_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215090","1372215086","1372215068","1372215082","1372215079","1372215073"],"photo_ids_order":["1372215068","1372215073","1372215079","1372215082","1372215086","1372215090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1237b32398bb75f50f10cbff836d150.jpg","text":"TemporaryFile(/tmp/multipartBody3589383673042795217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_06_17_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6e6998e6100882037e801d3dad566c3.jpg","text":"TemporaryFile(/tmp/multipartBody761405978817682434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_06_13_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9c18b7075b9b98ab83cd5455f5c4de9.jpg","text":"TemporaryFile(/tmp/multipartBody2226535304970283046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_04_24_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae8169f8cf9d20b215542f9b3bb94459.jpg","text":"TemporaryFile(/tmp/multipartBody3410659057467990925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_06_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/7/15/ef7c3ff1f59ecd277b6f1423ce699257.jpg","text":"TemporaryFile(/tmp/multipartBody3781171542513572657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_04_48_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5745ab3344de52686f8957a47f57e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody7627106382621479082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599303337,"filename":"image_15072025_16_04_45_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215079","file1":"1372215073","file0":"1372215068","file4":"1372215086","file5":"1372215090","file3":"1372215082"},"map_files_photo_id_array":[{"photo_id":"1372215090","filename":"file5"},{"photo_id":"1372215079","filename":"file2"},{"photo_id":"1372215086","filename":"file4"},{"photo_id":"1372215073","filename":"file1"},{"photo_id":"1372215068","filename":"file0"},{"photo_id":"1372215082","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215090":["hashtag1","hashtag2"]},{"1372215086":["hashtag1","hashtag2"]},{"1372215068":["hashtag1","hashtag2"]},{"1372215082":["hashtag1","hashtag2"]},{"1372215079":["hashtag1","hashtag2"]},{"1372215073":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215090, 1372215086, 1372215068, 1372215082, 1372215079, 1372215073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69984436035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:08:22.752890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_20_2714.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_22_2689.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_29_3722.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_34_2771.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_38_3604.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_40_2651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_20_2714.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_22_2689.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_29_3722.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_34_2771.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_38_3604.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_40_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215114","1372215116","1372215131","1372215119","1372215109","1372215124"],"photo_ids_order":["1372215109","1372215114","1372215116","1372215119","1372215124","1372215131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/71878539da1c2b9cfd4a0ae03314f81a.jpg","text":"TemporaryFile(/tmp/multipartBody4993725085826574798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_22_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7106829bf4386413f7394c705b6eb8c7.jpg","text":"TemporaryFile(/tmp/multipartBody2559580855019558651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_29_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00efb7470758ad7008b1156c1ad19a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4318734588860180912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_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/7/15/12cc9fae63928c9991f4340c5d961d84.jpg","text":"TemporaryFile(/tmp/multipartBody3188673798917599935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/059187881ab15d92b7eb541980608cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1802716688084142511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_20_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/284718ef73c8e8f94a6135caf5bbaa59.jpg","text":"TemporaryFile(/tmp/multipartBody6566802528635050850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599363875,"filename":"image_15072025_16_06_38_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215116","file1":"1372215114","file0":"1372215109","file4":"1372215124","file5":"1372215131","file3":"1372215119"},"map_files_photo_id_array":[{"photo_id":"1372215131","filename":"file5"},{"photo_id":"1372215116","filename":"file2"},{"photo_id":"1372215124","filename":"file4"},{"photo_id":"1372215114","filename":"file1"},{"photo_id":"1372215109","filename":"file0"},{"photo_id":"1372215119","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215114":["hashtag1","hashtag2"]},{"1372215116":["hashtag1","hashtag2"]},{"1372215131":["hashtag1","hashtag2"]},{"1372215119":["hashtag1","hashtag2"]},{"1372215109":["hashtag1","hashtag2"]},{"1372215124":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215114, 1372215116, 1372215131, 1372215119, 1372215109, 1372215124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50465989112854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:09:21.959642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_43_2604.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_52_2675.jpg', '/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_59_3624.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_01_2619.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_10_2792.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_13_2564.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_43_2604.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_52_2675.jpg
/home/pi/Desktop/images/15072025/16/06/image_15072025_16_06_59_3624.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_01_2619.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_10_2792.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_13_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215183","1372215156","1372215165","1372215153","1372215185","1372215149"],"photo_ids_order":["1372215149","1372215153","1372215156","1372215165","1372215183","1372215185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f850f6e4fccae7cf76dc4837f08c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2967049540550455305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_07_10_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/927afb19f7ac280ead7767fbd5798740.jpg","text":"TemporaryFile(/tmp/multipartBody7030586021820312239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_06_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/7/15/658bda21a2b44a6898888843f9b29765.jpg","text":"TemporaryFile(/tmp/multipartBody5506703822042989752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_07_01_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e1acd95b49f68c3ce5b4bdcc66bf1ae.jpg","text":"TemporaryFile(/tmp/multipartBody6650209597023948547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_06_52_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/379bd6d93025fca4f6c67be9acc43532.jpg","text":"TemporaryFile(/tmp/multipartBody8327640503214674116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_07_13_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ffa59ccbb8d2376a14639f90234a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4602297911494286164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599423081,"filename":"image_15072025_16_06_43_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215156","file1":"1372215153","file0":"1372215149","file4":"1372215183","file5":"1372215185","file3":"1372215165"},"map_files_photo_id_array":[{"photo_id":"1372215185","filename":"file5"},{"photo_id":"1372215156","filename":"file2"},{"photo_id":"1372215183","filename":"file4"},{"photo_id":"1372215153","filename":"file1"},{"photo_id":"1372215149","filename":"file0"},{"photo_id":"1372215165","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215183":["hashtag1","hashtag2"]},{"1372215156":["hashtag1","hashtag2"]},{"1372215165":["hashtag1","hashtag2"]},{"1372215153":["hashtag1","hashtag2"]},{"1372215185":["hashtag1","hashtag2"]},{"1372215149":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215183, 1372215156, 1372215165, 1372215153, 1372215185, 1372215149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49849820137024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:10:22.817729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_19_2787.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_22_2699.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_31_2657.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_43_2716.jpg', '/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_59_3782.jpg', '/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_19_2982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_19_2787.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_22_2699.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_31_2657.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_43_2716.jpg
/home/pi/Desktop/images/15072025/16/07/image_15072025_16_07_59_3782.jpg
/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_19_2982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215219","1372215203","1372215196","1372215229","1372215214","1372215208"],"photo_ids_order":["1372215196","1372215203","1372215208","1372215214","1372215219","1372215229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e55d6f50dbf7ad36df74dd58f33fa61f.jpg","text":"TemporaryFile(/tmp/multipartBody477528117761101303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_07_59_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1363b0488c970491623dbb6f3c8b530d.jpg","text":"TemporaryFile(/tmp/multipartBody7403166189288211089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_07_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/7/15/a75be9f19624b5939ca685b404d66edf.jpg","text":"TemporaryFile(/tmp/multipartBody2478099240788709229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_07_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/7/15/db1e609e8f9dc5a47e345fb4346b0de7.jpg","text":"TemporaryFile(/tmp/multipartBody8233498033330367784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_08_19_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c790618d2f03a071f8cf14223cfbe24c.jpg","text":"TemporaryFile(/tmp/multipartBody8262514075315324530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_07_43_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6bd712dbacd9a9964b8b35c47e2b601a.jpg","text":"TemporaryFile(/tmp/multipartBody1415710406540502911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599483940,"filename":"image_15072025_16_07_31_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215208","file1":"1372215203","file0":"1372215196","file4":"1372215219","file5":"1372215229","file3":"1372215214"},"map_files_photo_id_array":[{"photo_id":"1372215229","filename":"file5"},{"photo_id":"1372215208","filename":"file2"},{"photo_id":"1372215219","filename":"file4"},{"photo_id":"1372215203","filename":"file1"},{"photo_id":"1372215196","filename":"file0"},{"photo_id":"1372215214","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215219":["hashtag1","hashtag2"]},{"1372215203":["hashtag1","hashtag2"]},{"1372215196":["hashtag1","hashtag2"]},{"1372215229":["hashtag1","hashtag2"]},{"1372215214":["hashtag1","hashtag2"]},{"1372215208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215219, 1372215203, 1372215196, 1372215229, 1372215214, 1372215208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01284718513489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:11:21.917304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_28_2610.jpg', '/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_32_3678.jpg', '/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_34_2707.jpg', '/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_40_2712.jpg', '/home/pi/Desktop/images/15072025/16/09/image_15072025_16_09_05_3647.jpg', '/home/pi/Desktop/images/15072025/16/09/image_15072025_16_09_49_3566.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_28_2610.jpg
/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_32_3678.jpg
/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_34_2707.jpg
/home/pi/Desktop/images/15072025/16/08/image_15072025_16_08_40_2712.jpg
/home/pi/Desktop/images/15072025/16/09/image_15072025_16_09_05_3647.jpg
/home/pi/Desktop/images/15072025/16/09/image_15072025_16_09_49_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":["1372215252","1372215248","1372215262","1372215256","1372215244","1372215253"],"photo_ids_order":["1372215244","1372215248","1372215252","1372215253","1372215256","1372215262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9791671803f8dd04c349294a23deceb.jpg","text":"TemporaryFile(/tmp/multipartBody7101877349625518069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_08_34_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e5d29b411555e8d6c3d9f95ef58ccc5c.jpg","text":"TemporaryFile(/tmp/multipartBody9162979589253466719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_08_32_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8640fc5d54a8fa4e20e8ca8c73eda263.jpg","text":"TemporaryFile(/tmp/multipartBody6722478430034264677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_09_49_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e733e281d6a494d523516e3949b1940a.jpg","text":"TemporaryFile(/tmp/multipartBody7411993895259017024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_09_05_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf9f48c88ec00b31f6586d3e03fd8dd1.jpg","text":"TemporaryFile(/tmp/multipartBody815903693213469716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_08_28_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dcda98f62488f2a7ba304dba56299e1.jpg","text":"TemporaryFile(/tmp/multipartBody22764759597615001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599543014,"filename":"image_15072025_16_08_40_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215252","file1":"1372215248","file0":"1372215244","file4":"1372215256","file5":"1372215262","file3":"1372215253"},"map_files_photo_id_array":[{"photo_id":"1372215262","filename":"file5"},{"photo_id":"1372215252","filename":"file2"},{"photo_id":"1372215256","filename":"file4"},{"photo_id":"1372215248","filename":"file1"},{"photo_id":"1372215244","filename":"file0"},{"photo_id":"1372215253","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215252":["hashtag1","hashtag2"]},{"1372215248":["hashtag1","hashtag2"]},{"1372215262":["hashtag1","hashtag2"]},{"1372215256":["hashtag1","hashtag2"]},{"1372215244":["hashtag1","hashtag2"]},{"1372215253":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215252, 1372215248, 1372215262, 1372215256, 1372215244, 1372215253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89505672454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:12:22.721761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/10/image_15072025_16_10_28_2533.jpg', '/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_07_2588.jpg', '/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_19_2567.jpg', '/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_25_3583.jpg', '/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_43_2659.jpg', '/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_55_2596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/10/image_15072025_16_10_28_2533.jpg
/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_07_2588.jpg
/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_19_2567.jpg
/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_25_3583.jpg
/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_43_2659.jpg
/home/pi/Desktop/images/15072025/16/11/image_15072025_16_11_55_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215288","1372215300","1372215284","1372215292","1372215297","1372215279"],"photo_ids_order":["1372215279","1372215284","1372215288","1372215292","1372215297","1372215300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4e4d1a05f3833466ec72e1a6f4869010.jpg","text":"TemporaryFile(/tmp/multipartBody4661062379318001470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_11_19_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba0060d456bd48d8f7cfa24fcd1bc1ee.jpg","text":"TemporaryFile(/tmp/multipartBody375329165289099903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_11_55_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f8938c04db337e89748a11ff2b62302.jpg","text":"TemporaryFile(/tmp/multipartBody6351551669517879824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_11_07_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/022445c233b3a038c9c2f90ad17fa190.jpg","text":"TemporaryFile(/tmp/multipartBody7385325814874302087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_11_25_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3243bd9d5625cb2bc14fdfaf23b6666.jpg","text":"TemporaryFile(/tmp/multipartBody5167336631980399344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_11_43_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff32a5e802f80cf2c10f50bc3a38d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody3085174600838192841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599603840,"filename":"image_15072025_16_10_28_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215288","file1":"1372215284","file0":"1372215279","file4":"1372215297","file5":"1372215300","file3":"1372215292"},"map_files_photo_id_array":[{"photo_id":"1372215300","filename":"file5"},{"photo_id":"1372215288","filename":"file2"},{"photo_id":"1372215297","filename":"file4"},{"photo_id":"1372215284","filename":"file1"},{"photo_id":"1372215279","filename":"file0"},{"photo_id":"1372215292","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215288":["hashtag1","hashtag2"]},{"1372215300":["hashtag1","hashtag2"]},{"1372215284":["hashtag1","hashtag2"]},{"1372215292":["hashtag1","hashtag2"]},{"1372215297":["hashtag1","hashtag2"]},{"1372215279":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215288, 1372215300, 1372215284, 1372215292, 1372215297, 1372215279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82020545005798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:13:21.812636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_01_2628.jpg', '/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_10_3756.jpg', '/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_13_2638.jpg', '/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_22_2594.jpg', '/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_37_3508.jpg', '/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_46_2690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_01_2628.jpg
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_10_3756.jpg
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_13_2638.jpg
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_22_2594.jpg
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_37_3508.jpg
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_46_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":["1372215333","1372215336","1372215318","1372215312","1372215328","1372215316"],"photo_ids_order":["1372215312","1372215316","1372215318","1372215328","1372215333","1372215336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0752f1f246929b826569eaa08dc07311.jpg","text":"TemporaryFile(/tmp/multipartBody5246730784001540160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_37_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dad632ea018dcbaedb4fe5e89927c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody5929665631249309886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_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/7/15/d10bb3287fa69b41988e3fb1242cda5f.jpg","text":"TemporaryFile(/tmp/multipartBody1841920285675082428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_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/7/15/b0f5dc46bf2a74353c01df3ea09ac7b1.jpg","text":"TemporaryFile(/tmp/multipartBody7283946672455030774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_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/7/15/eaad3c9062de111a01a198afc1434de6.jpg","text":"TemporaryFile(/tmp/multipartBody2963664627859181884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_22_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f2cdee7d2adbc4b7f9c7d6fd39ff396.jpg","text":"TemporaryFile(/tmp/multipartBody3186526186520530072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599662921,"filename":"image_15072025_16_12_10_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215318","file1":"1372215316","file0":"1372215312","file4":"1372215333","file5":"1372215336","file3":"1372215328"},"map_files_photo_id_array":[{"photo_id":"1372215336","filename":"file5"},{"photo_id":"1372215318","filename":"file2"},{"photo_id":"1372215333","filename":"file4"},{"photo_id":"1372215316","filename":"file1"},{"photo_id":"1372215312","filename":"file0"},{"photo_id":"1372215328","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215333":["hashtag1","hashtag2"]},{"1372215336":["hashtag1","hashtag2"]},{"1372215318":["hashtag1","hashtag2"]},{"1372215312":["hashtag1","hashtag2"]},{"1372215328":["hashtag1","hashtag2"]},{"1372215316":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215333, 1372215336, 1372215318, 1372215312, 1372215328, 1372215316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.77842926979065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:14:22.449952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_49_2829.jpg', '/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_10_2609.jpg', '/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_19_2638.jpg', '/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_22_3622.jpg', '/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_25_2537.jpg', '/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_43_2712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/12/image_15072025_16_12_49_2829.jpg
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_10_2609.jpg
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_19_2638.jpg
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_22_3622.jpg
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_25_2537.jpg
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_43_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215372","1372215423","1372215345","1372215356","1372215475","1372215349"],"photo_ids_order":["1372215345","1372215349","1372215356","1372215372","1372215423","1372215475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67ff1c13edc84836d80580ed20aaf96c.jpg","text":"TemporaryFile(/tmp/multipartBody714250086330287698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_13_22_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d905461653a9db156026c46381e99d2.jpg","text":"TemporaryFile(/tmp/multipartBody8749198065325747213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_13_25_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff2da3ec96d290a78daa2762f967076f.jpg","text":"TemporaryFile(/tmp/multipartBody7187454804466631134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_12_49_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30aebd9604a9bf78c1575b16572dc803.jpg","text":"TemporaryFile(/tmp/multipartBody7336107893425924524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_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/7/15/315df838cefcbef622813ff858178008.jpg","text":"TemporaryFile(/tmp/multipartBody8518943148238612358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_13_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/7/15/f5e17800220f0bb1b7e9e466c6b08f99.jpg","text":"TemporaryFile(/tmp/multipartBody310868220484042463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599723562,"filename":"image_15072025_16_13_10_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215356","file1":"1372215349","file0":"1372215345","file4":"1372215423","file5":"1372215475","file3":"1372215372"},"map_files_photo_id_array":[{"photo_id":"1372215475","filename":"file5"},{"photo_id":"1372215356","filename":"file2"},{"photo_id":"1372215423","filename":"file4"},{"photo_id":"1372215349","filename":"file1"},{"photo_id":"1372215345","filename":"file0"},{"photo_id":"1372215372","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215372":["hashtag1","hashtag2"]},{"1372215423":["hashtag1","hashtag2"]},{"1372215345":["hashtag1","hashtag2"]},{"1372215356":["hashtag1","hashtag2"]},{"1372215475":["hashtag1","hashtag2"]},{"1372215349":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215372, 1372215423, 1372215345, 1372215356, 1372215475, 1372215349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.0918493270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:15:22.663820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_46_2569.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_06_2761.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_10_3611.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_16_2861.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_18_2914.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_22_3620.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/13/image_15072025_16_13_46_2569.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_06_2761.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_10_3611.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_16_2861.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_18_2914.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_22_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372215690","1372215791","1372215638","1372215841","1372215891","1372215739"],"photo_ids_order":["1372215638","1372215690","1372215739","1372215791","1372215841","1372215891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f532a6c273df3427f62512c33a3807e.jpg","text":"TemporaryFile(/tmp/multipartBody343523762062023511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_14_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/7/15/47e0667def5a74c8fdef6bdde810e4eb.jpg","text":"TemporaryFile(/tmp/multipartBody7611343556561383450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_14_16_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da890e2f503ca4abfabb2dba69f23dd9.jpg","text":"TemporaryFile(/tmp/multipartBody944017517149675557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_13_46_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3b1bd2d2976c5f21ab03a54c91e5b79.jpg","text":"TemporaryFile(/tmp/multipartBody5008254096888528165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_14_18_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a56cd97336b38b9a02f1872e2fe59f74.jpg","text":"TemporaryFile(/tmp/multipartBody8234959670706551461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_14_22_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb291795f0f4e6e601f9387f489cd083.jpg","text":"TemporaryFile(/tmp/multipartBody1333276993088303978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599783766,"filename":"image_15072025_16_14_10_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372215739","file1":"1372215690","file0":"1372215638","file4":"1372215841","file5":"1372215891","file3":"1372215791"},"map_files_photo_id_array":[{"photo_id":"1372215891","filename":"file5"},{"photo_id":"1372215739","filename":"file2"},{"photo_id":"1372215841","filename":"file4"},{"photo_id":"1372215690","filename":"file1"},{"photo_id":"1372215638","filename":"file0"},{"photo_id":"1372215791","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372215690":["hashtag1","hashtag2"]},{"1372215791":["hashtag1","hashtag2"]},{"1372215638":["hashtag1","hashtag2"]},{"1372215841":["hashtag1","hashtag2"]},{"1372215891":["hashtag1","hashtag2"]},{"1372215739":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372215690, 1372215791, 1372215638, 1372215841, 1372215891, 1372215739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78120994567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:16:22.325709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_28_2889.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_34_2804.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_43_3590.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_46_2623.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_55_2677.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_20_3682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_28_2889.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_34_2804.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_43_3590.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_46_2623.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_55_2677.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_20_3682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7066547870635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:16:42.291829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_28_2889.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_34_2804.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_43_3590.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_46_2623.jpg', '/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_55_2677.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_20_3682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_28_2889.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_34_2804.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_43_3590.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_46_2623.jpg
/home/pi/Desktop/images/15072025/16/14/image_15072025_16_14_55_2677.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_20_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372216283","1372216184","1372216343","1372216232","1372216374","1372216368"],"photo_ids_order":["1372216184","1372216232","1372216283","1372216343","1372216368","1372216374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6db3a8cb7873326d2eaa9652af0cf46a.jpg","text":"TemporaryFile(/tmp/multipartBody402876118748469681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_14_43_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0506b75984c2f9f87b4d8e874601f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6644647125110600602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_14_28_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cba05681faac752cf1f6a7a779180903.jpg","text":"TemporaryFile(/tmp/multipartBody7289860460563099674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_14_46_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3cfc367d84d0b5d804bb2aa583feff22.jpg","text":"TemporaryFile(/tmp/multipartBody1067778294481404321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_14_34_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/868c2cb5f66b56eeb897aa537683799c.jpg","text":"TemporaryFile(/tmp/multipartBody714091268818820353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_15_20_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b62ef0bbbb78f193fc5259c506540c98.jpg","text":"TemporaryFile(/tmp/multipartBody739469589197063230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599863399,"filename":"image_15072025_16_14_55_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372216283","file1":"1372216232","file0":"1372216184","file4":"1372216368","file5":"1372216374","file3":"1372216343"},"map_files_photo_id_array":[{"photo_id":"1372216374","filename":"file5"},{"photo_id":"1372216283","filename":"file2"},{"photo_id":"1372216368","filename":"file4"},{"photo_id":"1372216232","filename":"file1"},{"photo_id":"1372216184","filename":"file0"},{"photo_id":"1372216343","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372216283":["hashtag1","hashtag2"]},{"1372216184":["hashtag1","hashtag2"]},{"1372216343":["hashtag1","hashtag2"]},{"1372216232":["hashtag1","hashtag2"]},{"1372216374":["hashtag1","hashtag2"]},{"1372216368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372216283, 1372216184, 1372216343, 1372216232, 1372216374, 1372216368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.381133794784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:17:42.467494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_26_1593.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_29_2630.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_32_2667.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_35_3612.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_38_2625.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_40_2708.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_26_1593.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_29_2630.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_32_2667.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_35_3612.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_38_2625.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_40_2708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6983706951141357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:18:02.785539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_26_1593.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_29_2630.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_32_2667.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_35_3612.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_38_2625.jpg', '/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_40_2708.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_26_1593.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_29_2630.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_32_2667.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_35_3612.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_38_2625.jpg
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_40_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372216413","1372216404","1372216418","1372216427","1372216409","1372216423"],"photo_ids_order":["1372216404","1372216409","1372216413","1372216418","1372216423","1372216427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/050263ef8ea07c3f049a66cbc926460b.jpg","text":"TemporaryFile(/tmp/multipartBody601745614558699051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10e91f6f42807b58d30f5391f1b29eff.jpg","text":"TemporaryFile(/tmp/multipartBody8721127700566277197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_26_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b71fc38a4423adac649cb1781f243db7.jpg","text":"TemporaryFile(/tmp/multipartBody2598888820658250258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_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/7/15/c4e26a14d6d2a7a7f24d26f6419d592f.jpg","text":"TemporaryFile(/tmp/multipartBody9220701418423730317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_40_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52d30c93bd9ad20c6868078298b42257.jpg","text":"TemporaryFile(/tmp/multipartBody2496014259871704539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_29_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17b90b3330021a28d390152b4daa6f74.jpg","text":"TemporaryFile(/tmp/multipartBody2641997165954803334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752599943949,"filename":"image_15072025_16_15_38_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372216413","file1":"1372216409","file0":"1372216404","file4":"1372216423","file5":"1372216427","file3":"1372216418"},"map_files_photo_id_array":[{"photo_id":"1372216427","filename":"file5"},{"photo_id":"1372216413","filename":"file2"},{"photo_id":"1372216423","filename":"file4"},{"photo_id":"1372216409","filename":"file1"},{"photo_id":"1372216404","filename":"file0"},{"photo_id":"1372216418","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372216413":["hashtag1","hashtag2"]},{"1372216404":["hashtag1","hashtag2"]},{"1372216418":["hashtag1","hashtag2"]},{"1372216427":["hashtag1","hashtag2"]},{"1372216409":["hashtag1","hashtag2"]},{"1372216423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372216413, 1372216404, 1372216418, 1372216427, 1372216409, 1372216423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.086644887924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:19:03.796201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_50_2673.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_04_2825.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_08_3594.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_17_2626.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_19_2670.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_23_3687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_50_2673.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_04_2825.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_08_3594.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_17_2626.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_19_2670.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_23_3687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9848220348358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:19:22.666317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_50_2673.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_04_2825.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_08_3594.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_17_2626.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_19_2670.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_23_3687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/15/image_15072025_16_15_50_2673.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_04_2825.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_08_3594.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_17_2626.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_19_2670.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_23_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":["1372216506","1372216490","1372216508","1372216465","1372216474","1372216482"],"photo_ids_order":["1372216465","1372216474","1372216482","1372216490","1372216506","1372216508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aec85af7082ff66597446c53e0cf175c.jpg","text":"TemporaryFile(/tmp/multipartBody7508513574668160201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_16_19_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e79b908c65cecb2d8bc24853b85e79c6.jpg","text":"TemporaryFile(/tmp/multipartBody8513277515820843596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_16_17_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64de556864bb3dfe5440b0e02b947a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4952261874283050481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_16_23_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee6b2bebded53d2f604c9b9d7990facb.jpg","text":"TemporaryFile(/tmp/multipartBody4140290166844376691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_15_50_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b2111ca604ace6502019925d176f6d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5578414653314803015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_16_04_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a58b39bf701be62123c4bbcb9c58dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8570288934393031282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600023770,"filename":"image_15072025_16_16_08_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372216482","file1":"1372216474","file0":"1372216465","file4":"1372216506","file5":"1372216508","file3":"1372216490"},"map_files_photo_id_array":[{"photo_id":"1372216508","filename":"file5"},{"photo_id":"1372216482","filename":"file2"},{"photo_id":"1372216506","filename":"file4"},{"photo_id":"1372216474","filename":"file1"},{"photo_id":"1372216465","filename":"file0"},{"photo_id":"1372216490","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372216506":["hashtag1","hashtag2"]},{"1372216490":["hashtag1","hashtag2"]},{"1372216508":["hashtag1","hashtag2"]},{"1372216465":["hashtag1","hashtag2"]},{"1372216474":["hashtag1","hashtag2"]},{"1372216482":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372216506, 1372216490, 1372216508, 1372216465, 1372216474, 1372216482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.880500078201294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:20:21.915027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_26_2771.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_28_2672.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_53_2547.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_22_2610.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_35_3578.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_49_2574.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_26_2771.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_28_2672.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_53_2547.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_22_2610.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_35_3578.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_49_2574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7160091400146484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:20:41.864571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_26_2771.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_28_2672.jpg', '/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_53_2547.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_22_2610.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_35_3578.jpg', '/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_49_2574.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_26_2771.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_28_2672.jpg
/home/pi/Desktop/images/15072025/16/16/image_15072025_16_16_53_2547.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_22_2610.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_35_3578.jpg
/home/pi/Desktop/images/15072025/16/18/image_15072025_16_18_49_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":["1372216527","1372216553","1372216541","1372216531","1372216549","1372216545"],"photo_ids_order":["1372216527","1372216531","1372216541","1372216545","1372216549","1372216553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1dd597293f858a826f606a3bf68ff357.jpg","text":"TemporaryFile(/tmp/multipartBody6407195116606519590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_16_26_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/394c602a7503aef613b5e5195038ca19.jpg","text":"TemporaryFile(/tmp/multipartBody6348495718317287763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_18_49_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a6f36447148d953333b26a9b15c7350.jpg","text":"TemporaryFile(/tmp/multipartBody940941030901308027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_16_53_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55f883fa85f005abf53fc3ce2b5bfb89.jpg","text":"TemporaryFile(/tmp/multipartBody5066711086769011529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_16_28_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a185e8f9a23353731f8b6bdb60631a80.jpg","text":"TemporaryFile(/tmp/multipartBody7737598221119412661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_18_35_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7f4ae80f5358e26539e3f1b499ace7b.jpg","text":"TemporaryFile(/tmp/multipartBody3032449435269014954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600102980,"filename":"image_15072025_16_18_22_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372216541","file1":"1372216531","file0":"1372216527","file4":"1372216549","file5":"1372216553","file3":"1372216545"},"map_files_photo_id_array":[{"photo_id":"1372216553","filename":"file5"},{"photo_id":"1372216541","filename":"file2"},{"photo_id":"1372216549","filename":"file4"},{"photo_id":"1372216531","filename":"file1"},{"photo_id":"1372216527","filename":"file0"},{"photo_id":"1372216545","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372216527":["hashtag1","hashtag2"]},{"1372216553":["hashtag1","hashtag2"]},{"1372216541":["hashtag1","hashtag2"]},{"1372216531":["hashtag1","hashtag2"]},{"1372216549":["hashtag1","hashtag2"]},{"1372216545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372216527, 1372216553, 1372216541, 1372216531, 1372216549, 1372216545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69556736946106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:21:43.741327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/19/image_15072025_16_19_34_2562.jpg', '/home/pi/Desktop/images/15072025/16/20/image_15072025_16_20_35_3631.jpg', '/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_07_3532.jpg', '/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_52_3692.jpg', '/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_07_2789.jpg', '/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_20_3620.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/19/image_15072025_16_19_34_2562.jpg
/home/pi/Desktop/images/15072025/16/20/image_15072025_16_20_35_3631.jpg
/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_07_3532.jpg
/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_52_3692.jpg
/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_07_2789.jpg
/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_20_3620.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7087466716766357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:22:02.640944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/19/image_15072025_16_19_34_2562.jpg', '/home/pi/Desktop/images/15072025/16/20/image_15072025_16_20_35_3631.jpg', '/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_07_3532.jpg', '/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_52_3692.jpg', '/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_07_2789.jpg', '/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_20_3620.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/19/image_15072025_16_19_34_2562.jpg
/home/pi/Desktop/images/15072025/16/20/image_15072025_16_20_35_3631.jpg
/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_07_3532.jpg
/home/pi/Desktop/images/15072025/16/21/image_15072025_16_21_52_3692.jpg
/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_07_2789.jpg
/home/pi/Desktop/images/15072025/16/22/image_15072025_16_22_20_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372216839","1372216937","1372216886","1372217059","1372216996","1372217046"],"photo_ids_order":["1372216839","1372216886","1372216937","1372216996","1372217046","1372217059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/51f38b28524f816a7b362cf17ae756d7.jpg","text":"TemporaryFile(/tmp/multipartBody5331524058958241236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_19_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/105bfad94ad0b7043bef53ac86396109.jpg","text":"TemporaryFile(/tmp/multipartBody4940778254534487579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_21_07_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0888b3e1017380adf033b2175468076.jpg","text":"TemporaryFile(/tmp/multipartBody3837653101561169322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_20_35_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9914545852cffc2c6d60bd33e51c484f.jpg","text":"TemporaryFile(/tmp/multipartBody8141896162524754994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_22_20_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69d70afac6cae0ce4f46b9787f224ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6002823840093249338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_21_52_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f31c7902ce88491c384e024829d237fb.jpg","text":"TemporaryFile(/tmp/multipartBody5145236799692915018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600183813,"filename":"image_15072025_16_22_07_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372216937","file1":"1372216886","file0":"1372216839","file4":"1372217046","file5":"1372217059","file3":"1372216996"},"map_files_photo_id_array":[{"photo_id":"1372217059","filename":"file5"},{"photo_id":"1372216937","filename":"file2"},{"photo_id":"1372217046","filename":"file4"},{"photo_id":"1372216886","filename":"file1"},{"photo_id":"1372216839","filename":"file0"},{"photo_id":"1372216996","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372216839":["hashtag1","hashtag2"]},{"1372216937":["hashtag1","hashtag2"]},{"1372216886":["hashtag1","hashtag2"]},{"1372217059":["hashtag1","hashtag2"]},{"1372216996":["hashtag1","hashtag2"]},{"1372217046":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372216839, 1372216937, 1372216886, 1372217059, 1372216996, 1372217046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.28712821006775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:23:03.134636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/23/image_15072025_16_23_16_2733.jpg', '/home/pi/Desktop/images/15072025/16/24/image_15072025_16_24_22_2611.jpg', '/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_41_2807.jpg', '/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_47_3603.jpg', '/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_53_3647.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_11_1628.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/23/image_15072025_16_23_16_2733.jpg
/home/pi/Desktop/images/15072025/16/24/image_15072025_16_24_22_2611.jpg
/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_41_2807.jpg
/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_47_3603.jpg
/home/pi/Desktop/images/15072025/16/25/image_15072025_16_25_53_3647.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_11_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217156","1372217083","1372217112","1372217109","1372217118","1372217103"],"photo_ids_order":["1372217083","1372217103","1372217109","1372217112","1372217118","1372217156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/547445ff2f080d9829da2c4eb95b1340.jpg","text":"TemporaryFile(/tmp/multipartBody8307055167881009098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_26_11_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e3e2dcfed993b022fe463554fc26bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3945895143754302947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_23_16_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12917ea7a99789782fb8a89c92c64437.jpg","text":"TemporaryFile(/tmp/multipartBody317834216535386713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_25_47_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9805ad3d2c040898666a9d008d11775.jpg","text":"TemporaryFile(/tmp/multipartBody1637779290170035662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_25_41_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f1d9a683f4b6d1d1013f73f61ca95537.jpg","text":"TemporaryFile(/tmp/multipartBody3558549137789794538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_25_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/7/15/e690a225f39ace99593a1f984442c910.jpg","text":"TemporaryFile(/tmp/multipartBody540352953569928225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600244370,"filename":"image_15072025_16_24_22_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217109","file1":"1372217103","file0":"1372217083","file4":"1372217118","file5":"1372217156","file3":"1372217112"},"map_files_photo_id_array":[{"photo_id":"1372217156","filename":"file5"},{"photo_id":"1372217109","filename":"file2"},{"photo_id":"1372217118","filename":"file4"},{"photo_id":"1372217103","filename":"file1"},{"photo_id":"1372217083","filename":"file0"},{"photo_id":"1372217112","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217156":["hashtag1","hashtag2"]},{"1372217083":["hashtag1","hashtag2"]},{"1372217112":["hashtag1","hashtag2"]},{"1372217109":["hashtag1","hashtag2"]},{"1372217118":["hashtag1","hashtag2"]},{"1372217103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217156, 1372217083, 1372217112, 1372217109, 1372217118, 1372217103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09276270866394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:24:02.948786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_13_1716.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_24_1706.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_40_2790.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_44_3652.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_50_2747.jpg', '/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_59_2669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_13_1716.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_24_1706.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_40_2790.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_44_3652.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_50_2747.jpg
/home/pi/Desktop/images/15072025/16/26/image_15072025_16_26_59_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217258","1372217210","1372217306","1372217314","1372217319","1372217310"],"photo_ids_order":["1372217210","1372217258","1372217306","1372217310","1372217314","1372217319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f7e56c6b9a9c6db81d8f8badd904650.jpg","text":"TemporaryFile(/tmp/multipartBody3734014058767713770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_24_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81c34c5d9d4b6c6641c4fd380c19fca8.jpg","text":"TemporaryFile(/tmp/multipartBody6258724511224409813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_13_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb4b22c544d0c9d57bb1e1f66a6532d6.jpg","text":"TemporaryFile(/tmp/multipartBody4661299728384478622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_40_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca805aacb91e74dd3b2d78695b878559.jpg","text":"TemporaryFile(/tmp/multipartBody5479814847223402804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_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/7/15/fe017dff87f44e91b5be53ff3568a2dc.jpg","text":"TemporaryFile(/tmp/multipartBody5446924603272548189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_59_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1613bdd9e4a482743a81a390a94c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5721925508699920427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600304172,"filename":"image_15072025_16_26_44_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217306","file1":"1372217258","file0":"1372217210","file4":"1372217314","file5":"1372217319","file3":"1372217310"},"map_files_photo_id_array":[{"photo_id":"1372217319","filename":"file5"},{"photo_id":"1372217306","filename":"file2"},{"photo_id":"1372217314","filename":"file4"},{"photo_id":"1372217258","filename":"file1"},{"photo_id":"1372217210","filename":"file0"},{"photo_id":"1372217310","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217258":["hashtag1","hashtag2"]},{"1372217210":["hashtag1","hashtag2"]},{"1372217306":["hashtag1","hashtag2"]},{"1372217314":["hashtag1","hashtag2"]},{"1372217319":["hashtag1","hashtag2"]},{"1372217310":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217258, 1372217210, 1372217306, 1372217314, 1372217319, 1372217310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70503759384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:25:03.430268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_01_2689.jpg', '/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_17_2783.jpg', '/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_26_3590.jpg', '/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_31_2681.jpg', '/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_40_2549.jpg', '/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_47_3803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_01_2689.jpg
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_17_2783.jpg
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_26_3590.jpg
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_31_2681.jpg
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_40_2549.jpg
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_47_3803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217354","1372217359","1372217350","1372217367","1372217343","1372217337"],"photo_ids_order":["1372217337","1372217343","1372217350","1372217354","1372217359","1372217367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/901851f2058c4bed2856edb262052be9.jpg","text":"TemporaryFile(/tmp/multipartBody487164272824729585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_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/7/15/0e1fe1a0c61899b87d702efd776f107c.jpg","text":"TemporaryFile(/tmp/multipartBody7978962431202463165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_40_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e4c3fc4c207ed64a35c22bf489d3d29.jpg","text":"TemporaryFile(/tmp/multipartBody90208491776095288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_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/7/15/eb6d1b6ce073a892a12db0b570a5dcb0.jpg","text":"TemporaryFile(/tmp/multipartBody3602881117367530018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_47_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bea26f913a63f66580a6e2b3500e129a.jpg","text":"TemporaryFile(/tmp/multipartBody5805396945661444277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_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/7/15/68ab976a45270ea31ec76fba1c70c563.jpg","text":"TemporaryFile(/tmp/multipartBody4363801646201959531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600364644,"filename":"image_15072025_16_27_01_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217350","file1":"1372217343","file0":"1372217337","file4":"1372217359","file5":"1372217367","file3":"1372217354"},"map_files_photo_id_array":[{"photo_id":"1372217367","filename":"file5"},{"photo_id":"1372217350","filename":"file2"},{"photo_id":"1372217359","filename":"file4"},{"photo_id":"1372217343","filename":"file1"},{"photo_id":"1372217337","filename":"file0"},{"photo_id":"1372217354","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217354":["hashtag1","hashtag2"]},{"1372217359":["hashtag1","hashtag2"]},{"1372217350":["hashtag1","hashtag2"]},{"1372217367":["hashtag1","hashtag2"]},{"1372217343":["hashtag1","hashtag2"]},{"1372217337":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217354, 1372217359, 1372217350, 1372217367, 1372217343, 1372217337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.43304634094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:26:03.136861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_55_2766.jpg', '/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_13_2740.jpg', '/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_17_3557.jpg', '/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_22_2653.jpg', '/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_37_2547.jpg', '/home/pi/Desktop/images/15072025/16/29/image_15072025_16_29_37_2869.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/27/image_15072025_16_27_55_2766.jpg
/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_13_2740.jpg
/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_17_3557.jpg
/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_22_2653.jpg
/home/pi/Desktop/images/15072025/16/28/image_15072025_16_28_37_2547.jpg
/home/pi/Desktop/images/15072025/16/29/image_15072025_16_29_37_2869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217443","1372217388","1372217382","1372217376","1372217396","1372217400"],"photo_ids_order":["1372217376","1372217382","1372217388","1372217396","1372217400","1372217443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c9b540c8e618c35056cc162d919ea12.jpg","text":"TemporaryFile(/tmp/multipartBody1114523108165657735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_29_37_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dcee1388eb775bd59579cb2df79b501.jpg","text":"TemporaryFile(/tmp/multipartBody7163468894909947793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_28_17_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be905203b454a45298e5f08f5733046a.jpg","text":"TemporaryFile(/tmp/multipartBody2129613582055217801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_28_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/7/15/86aa73c3022fc2ad113ad93c867b1152.jpg","text":"TemporaryFile(/tmp/multipartBody4843834519360690461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_27_55_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0dff6e46ababec9d2cfced59d17f58b7.jpg","text":"TemporaryFile(/tmp/multipartBody409313203876494267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_28_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/7/15/d3aee4c2b2f1b9f4d5e1ad41eaca6945.jpg","text":"TemporaryFile(/tmp/multipartBody7398434331138776551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600424351,"filename":"image_15072025_16_28_37_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217388","file1":"1372217382","file0":"1372217376","file4":"1372217400","file5":"1372217443","file3":"1372217396"},"map_files_photo_id_array":[{"photo_id":"1372217443","filename":"file5"},{"photo_id":"1372217388","filename":"file2"},{"photo_id":"1372217400","filename":"file4"},{"photo_id":"1372217382","filename":"file1"},{"photo_id":"1372217376","filename":"file0"},{"photo_id":"1372217396","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217443":["hashtag1","hashtag2"]},{"1372217388":["hashtag1","hashtag2"]},{"1372217382":["hashtag1","hashtag2"]},{"1372217376":["hashtag1","hashtag2"]},{"1372217396":["hashtag1","hashtag2"]},{"1372217400":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217443, 1372217388, 1372217382, 1372217376, 1372217396, 1372217400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.14048409461975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:27:02.741767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/30/image_15072025_16_30_46_2637.jpg', '/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_55_1711.jpg', '/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_57_1742.jpg', '/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_59_1543.jpg', '/home/pi/Desktop/images/15072025/16/31/image_15072025_16_32_00_1796.jpg', '/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_11_1930.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/30/image_15072025_16_30_46_2637.jpg
/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_55_1711.jpg
/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_57_1742.jpg
/home/pi/Desktop/images/15072025/16/31/image_15072025_16_31_59_1543.jpg
/home/pi/Desktop/images/15072025/16/31/image_15072025_16_32_00_1796.jpg
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_11_1930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217651","1372217630","1372217636","1372217641","1372217586","1372217646"],"photo_ids_order":["1372217586","1372217630","1372217636","1372217641","1372217646","1372217651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72e9752d72300e575c09868eaef7b7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4067734099039676434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_32_11_1930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6fa166107539368e7bc0dc55e9d81184.jpg","text":"TemporaryFile(/tmp/multipartBody7813760640018814644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_31_55_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd0af080c75d3bed96e035060daf39e3.jpg","text":"TemporaryFile(/tmp/multipartBody5741849181095241572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_31_57_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/13ae10644964a56dd60c7f65144d8f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5479723523687758861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_31_59_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7b10190074ff4e6c0d581d0e5af3849.jpg","text":"TemporaryFile(/tmp/multipartBody1464317572423376183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_30_46_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02df222bf08f13a5a653e32275eddbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8643617341322569038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600483999,"filename":"image_15072025_16_32_00_1796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217636","file1":"1372217630","file0":"1372217586","file4":"1372217646","file5":"1372217651","file3":"1372217641"},"map_files_photo_id_array":[{"photo_id":"1372217651","filename":"file5"},{"photo_id":"1372217636","filename":"file2"},{"photo_id":"1372217646","filename":"file4"},{"photo_id":"1372217630","filename":"file1"},{"photo_id":"1372217586","filename":"file0"},{"photo_id":"1372217641","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217651":["hashtag1","hashtag2"]},{"1372217630":["hashtag1","hashtag2"]},{"1372217636":["hashtag1","hashtag2"]},{"1372217641":["hashtag1","hashtag2"]},{"1372217586":["hashtag1","hashtag2"]},{"1372217646":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217651, 1372217630, 1372217636, 1372217641, 1372217586, 1372217646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84199857711792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:28:03.403838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_17_2540.jpg', '/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_19_2685.jpg', '/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_31_2697.jpg', '/home/pi/Desktop/images/15072025/16/33/image_15072025_16_33_29_3861.jpg', '/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_19_2646.jpg', '/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_22_2682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_17_2540.jpg
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_19_2685.jpg
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_31_2697.jpg
/home/pi/Desktop/images/15072025/16/33/image_15072025_16_33_29_3861.jpg
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_19_2646.jpg
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_22_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7708075046539307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:28:22.691908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_17_2540.jpg', '/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_19_2685.jpg', '/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_31_2697.jpg', '/home/pi/Desktop/images/15072025/16/33/image_15072025_16_33_29_3861.jpg', '/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_19_2646.jpg', '/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_22_2682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_17_2540.jpg
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_19_2685.jpg
/home/pi/Desktop/images/15072025/16/32/image_15072025_16_32_31_2697.jpg
/home/pi/Desktop/images/15072025/16/33/image_15072025_16_33_29_3861.jpg
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_19_2646.jpg
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_22_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217678","1372217671","1372217683","1372217688","1372217700","1372217675"],"photo_ids_order":["1372217671","1372217675","1372217678","1372217683","1372217688","1372217700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bbb49d9f4c2dd214fe38b2958e161f37.jpg","text":"TemporaryFile(/tmp/multipartBody1120314454920845048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_32_31_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8f1cc08091cd8f71c6d027f6c744db7.jpg","text":"TemporaryFile(/tmp/multipartBody2571961179230907303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_32_17_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/baff8a51418d17c1e6e9d58585603f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1203323318558740307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_33_29_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a88df1794d106d79abe08f515d593064.jpg","text":"TemporaryFile(/tmp/multipartBody6622155969629175517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_34_19_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1b9d3763919f20719288b83af0c990c.jpg","text":"TemporaryFile(/tmp/multipartBody7293786066848701922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_34_22_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d73c59427b1f554524af436a794459a0.jpg","text":"TemporaryFile(/tmp/multipartBody1103137813947097438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600563803,"filename":"image_15072025_16_32_19_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217678","file1":"1372217675","file0":"1372217671","file4":"1372217688","file5":"1372217700","file3":"1372217683"},"map_files_photo_id_array":[{"photo_id":"1372217700","filename":"file5"},{"photo_id":"1372217678","filename":"file2"},{"photo_id":"1372217688","filename":"file4"},{"photo_id":"1372217675","filename":"file1"},{"photo_id":"1372217671","filename":"file0"},{"photo_id":"1372217683","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217678":["hashtag1","hashtag2"]},{"1372217671":["hashtag1","hashtag2"]},{"1372217683":["hashtag1","hashtag2"]},{"1372217688":["hashtag1","hashtag2"]},{"1372217700":["hashtag1","hashtag2"]},{"1372217675":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217678, 1372217671, 1372217683, 1372217688, 1372217700, 1372217675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33190321922302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:29:22.478001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_28_2631.jpg', '/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_31_2916.jpg', '/home/pi/Desktop/images/15072025/16/36/image_15072025_16_36_07_3014.jpg', '/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_01_2698.jpg', '/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_10_2695.jpg', '/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_31_1736.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_28_2631.jpg
/home/pi/Desktop/images/15072025/16/34/image_15072025_16_34_31_2916.jpg
/home/pi/Desktop/images/15072025/16/36/image_15072025_16_36_07_3014.jpg
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_01_2698.jpg
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_10_2695.jpg
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_31_1736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217747","1372217743","1372217713","1372217739","1372217721","1372217715"],"photo_ids_order":["1372217713","1372217715","1372217721","1372217739","1372217743","1372217747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc709ee090cedf3f2127515c80a30c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2285722295249245973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_37_31_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b8f3b47a3b1b2552006a3183d771d92.jpg","text":"TemporaryFile(/tmp/multipartBody8568865570807991349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_37_10_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca5fef2c2997fd85b4bad5cc9490d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4862310334159167474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_34_28_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/954d0356d669389e3be79dc48fa77db4.jpg","text":"TemporaryFile(/tmp/multipartBody8760292645770287258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_37_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/7/15/452f5afb615783b130710aa3ff84963c.jpg","text":"TemporaryFile(/tmp/multipartBody2110714248573087393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_36_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72c331964013e65eb6ac80ceec8627fe.jpg","text":"TemporaryFile(/tmp/multipartBody5629389526733269081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600623596,"filename":"image_15072025_16_34_31_2916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217721","file1":"1372217715","file0":"1372217713","file4":"1372217743","file5":"1372217747","file3":"1372217739"},"map_files_photo_id_array":[{"photo_id":"1372217747","filename":"file5"},{"photo_id":"1372217721","filename":"file2"},{"photo_id":"1372217743","filename":"file4"},{"photo_id":"1372217715","filename":"file1"},{"photo_id":"1372217713","filename":"file0"},{"photo_id":"1372217739","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217747":["hashtag1","hashtag2"]},{"1372217743":["hashtag1","hashtag2"]},{"1372217713":["hashtag1","hashtag2"]},{"1372217739":["hashtag1","hashtag2"]},{"1372217721":["hashtag1","hashtag2"]},{"1372217715":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217747, 1372217743, 1372217713, 1372217739, 1372217721, 1372217715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91405725479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:30:22.440515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_37_2662.jpg', '/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_46_1778.jpg', '/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_49_2602.jpg', '/home/pi/Desktop/images/15072025/16/38/image_15072025_16_38_14_1622.jpg', '/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_07_3010.jpg', '/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_29_3546.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_37_2662.jpg
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_46_1778.jpg
/home/pi/Desktop/images/15072025/16/37/image_15072025_16_37_49_2602.jpg
/home/pi/Desktop/images/15072025/16/38/image_15072025_16_38_14_1622.jpg
/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_07_3010.jpg
/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_29_3546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217762","1372217759","1372217770","1372217767","1372217782","1372217796"],"photo_ids_order":["1372217759","1372217762","1372217767","1372217770","1372217782","1372217796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/983f056a502ec5f27a933be575a00f88.jpg","text":"TemporaryFile(/tmp/multipartBody2871003999545780911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_37_46_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/981c9b058575629b411c521f111f1d02.jpg","text":"TemporaryFile(/tmp/multipartBody6147687505963165959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_37_37_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/145261a6c046f51242fcb2f062eb91d2.jpg","text":"TemporaryFile(/tmp/multipartBody7942314037329518817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_38_14_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb1a64afbf7b5e2ed8ff015becfc71a6.jpg","text":"TemporaryFile(/tmp/multipartBody1481997044103873651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_37_49_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84b5a8dba8326bc8d0c0e49444257b33.jpg","text":"TemporaryFile(/tmp/multipartBody4835310612230118981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_41_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/7/15/49fc6a71f743429690c67515ff1bc8ea.jpg","text":"TemporaryFile(/tmp/multipartBody1750233883029041216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600683550,"filename":"image_15072025_16_41_29_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217767","file1":"1372217762","file0":"1372217759","file4":"1372217782","file5":"1372217796","file3":"1372217770"},"map_files_photo_id_array":[{"photo_id":"1372217796","filename":"file5"},{"photo_id":"1372217767","filename":"file2"},{"photo_id":"1372217782","filename":"file4"},{"photo_id":"1372217762","filename":"file1"},{"photo_id":"1372217759","filename":"file0"},{"photo_id":"1372217770","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217762":["hashtag1","hashtag2"]},{"1372217759":["hashtag1","hashtag2"]},{"1372217770":["hashtag1","hashtag2"]},{"1372217767":["hashtag1","hashtag2"]},{"1372217782":["hashtag1","hashtag2"]},{"1372217796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217762, 1372217759, 1372217770, 1372217767, 1372217782, 1372217796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3430962562561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:31:22.568954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_43_2828.jpg', '/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_55_2821.jpg', '/home/pi/Desktop/images/15072025/16/42/image_15072025_16_42_08_3611.jpg', '/home/pi/Desktop/images/15072025/16/42/image_15072025_16_42_22_2755.jpg', '/home/pi/Desktop/images/15072025/16/43/image_15072025_16_43_19_2768.jpg', '/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_01_2566.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_43_2828.jpg
/home/pi/Desktop/images/15072025/16/41/image_15072025_16_41_55_2821.jpg
/home/pi/Desktop/images/15072025/16/42/image_15072025_16_42_08_3611.jpg
/home/pi/Desktop/images/15072025/16/42/image_15072025_16_42_22_2755.jpg
/home/pi/Desktop/images/15072025/16/43/image_15072025_16_43_19_2768.jpg
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_01_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217855","1372217852","1372217834","1372217848","1372217827","1372217832"],"photo_ids_order":["1372217827","1372217832","1372217834","1372217848","1372217852","1372217855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7740b1965901731262b3859515e375cf.jpg","text":"TemporaryFile(/tmp/multipartBody7413418482736313948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_44_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/7/15/b327343f4f799e90ba8bb98f02f5edd3.jpg","text":"TemporaryFile(/tmp/multipartBody7947099610902349124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_43_19_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d44c844b7475fe4a9e16ca1cf4ccb54.jpg","text":"TemporaryFile(/tmp/multipartBody543694923598997663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_42_08_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/68184e59cd995ced7545745adfa903dc.jpg","text":"TemporaryFile(/tmp/multipartBody7226221301914453646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_42_22_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1f82919f71e9768cf6cc51aa5af6559.jpg","text":"TemporaryFile(/tmp/multipartBody1321630818579716646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_41_43_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc0b4b5b6419005838fb94cb1c78a370.jpg","text":"TemporaryFile(/tmp/multipartBody1306506661495826614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600743675,"filename":"image_15072025_16_41_55_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217834","file1":"1372217832","file0":"1372217827","file4":"1372217852","file5":"1372217855","file3":"1372217848"},"map_files_photo_id_array":[{"photo_id":"1372217855","filename":"file5"},{"photo_id":"1372217834","filename":"file2"},{"photo_id":"1372217852","filename":"file4"},{"photo_id":"1372217832","filename":"file1"},{"photo_id":"1372217827","filename":"file0"},{"photo_id":"1372217848","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217855":["hashtag1","hashtag2"]},{"1372217852":["hashtag1","hashtag2"]},{"1372217834":["hashtag1","hashtag2"]},{"1372217848":["hashtag1","hashtag2"]},{"1372217827":["hashtag1","hashtag2"]},{"1372217832":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217855, 1372217852, 1372217834, 1372217848, 1372217827, 1372217832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.459372997283936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:32:22.391058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_08_3682.jpg', '/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_10_2661.jpg', '/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_34_2744.jpg', '/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_40_2605.jpg', '/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_43_2608.jpg', '/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_07_3011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_08_3682.jpg
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_10_2661.jpg
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_34_2744.jpg
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_40_2605.jpg
/home/pi/Desktop/images/15072025/16/44/image_15072025_16_44_43_2608.jpg
/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217882","1372217876","1372217879","1372217887","1372217874","1372217871"],"photo_ids_order":["1372217871","1372217874","1372217876","1372217879","1372217882","1372217887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f30313a20db6a3a93089ce12054b9e21.jpg","text":"TemporaryFile(/tmp/multipartBody4236725066948214936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_44_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09c02a62109d74368acb2ddbd54858c3.jpg","text":"TemporaryFile(/tmp/multipartBody8257022935996738854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_44_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/7/15/4887c80fa7d17d7997698b8059668c1c.jpg","text":"TemporaryFile(/tmp/multipartBody158086345260273660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_44_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/7/15/969458284c1494eb7f4680c0c524ebd5.jpg","text":"TemporaryFile(/tmp/multipartBody2444009406823640009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_46_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/7/15/aa2d2b147e9d78bb5b5e9c26d0ebc601.jpg","text":"TemporaryFile(/tmp/multipartBody5367540562974990681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_44_10_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6271f84300402896b38d34770ddca1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6855160894790584896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600803500,"filename":"image_15072025_16_44_08_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217876","file1":"1372217874","file0":"1372217871","file4":"1372217882","file5":"1372217887","file3":"1372217879"},"map_files_photo_id_array":[{"photo_id":"1372217887","filename":"file5"},{"photo_id":"1372217876","filename":"file2"},{"photo_id":"1372217882","filename":"file4"},{"photo_id":"1372217874","filename":"file1"},{"photo_id":"1372217871","filename":"file0"},{"photo_id":"1372217879","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217882":["hashtag1","hashtag2"]},{"1372217876":["hashtag1","hashtag2"]},{"1372217879":["hashtag1","hashtag2"]},{"1372217887":["hashtag1","hashtag2"]},{"1372217874":["hashtag1","hashtag2"]},{"1372217871":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217882, 1372217876, 1372217879, 1372217887, 1372217874, 1372217871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.52372455596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:33:42.711076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_23_2532.jpg', '/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_29_3628.jpg', '/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_44_2802.jpg', '/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_53_3688.jpg', '/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_14_2792.jpg', '/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_26_2716.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_23_2532.jpg
/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_29_3628.jpg
/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_44_2802.jpg
/home/pi/Desktop/images/15072025/16/46/image_15072025_16_46_53_3688.jpg
/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_14_2792.jpg
/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_26_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372217921","1372217933","1372217944","1372217953","1372217947","1372217931"],"photo_ids_order":["1372217921","1372217931","1372217933","1372217944","1372217947","1372217953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4896b5231e1873b318725f05fd7b6516.jpg","text":"TemporaryFile(/tmp/multipartBody7600733177064717639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_46_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/7/15/1e5675c6495f814fc4a44c38a33f670b.jpg","text":"TemporaryFile(/tmp/multipartBody2940836485359792008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_46_44_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/feb280489fa792e60ea7a41936d36143.jpg","text":"TemporaryFile(/tmp/multipartBody4844326351487912694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_46_53_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1999f33b09c6d3670687c30cd49cf774.jpg","text":"TemporaryFile(/tmp/multipartBody3839731116138600299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_47_26_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9491aa5c2ebe9d3be32ab2f1b4c975dc.jpg","text":"TemporaryFile(/tmp/multipartBody1857965716562732670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_47_14_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12a0ffa8ec208e7f6d00b71f6e3c262c.jpg","text":"TemporaryFile(/tmp/multipartBody6284816415879794563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600883851,"filename":"image_15072025_16_46_29_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372217933","file1":"1372217931","file0":"1372217921","file4":"1372217947","file5":"1372217953","file3":"1372217944"},"map_files_photo_id_array":[{"photo_id":"1372217953","filename":"file5"},{"photo_id":"1372217933","filename":"file2"},{"photo_id":"1372217947","filename":"file4"},{"photo_id":"1372217931","filename":"file1"},{"photo_id":"1372217921","filename":"file0"},{"photo_id":"1372217944","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372217921":["hashtag1","hashtag2"]},{"1372217933":["hashtag1","hashtag2"]},{"1372217944":["hashtag1","hashtag2"]},{"1372217953":["hashtag1","hashtag2"]},{"1372217947":["hashtag1","hashtag2"]},{"1372217931":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372217921, 1372217933, 1372217944, 1372217953, 1372217947, 1372217931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81203484535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:34:42.082308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_34_2583.jpg', '/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_53_2525.jpg', '/home/pi/Desktop/images/15072025/16/49/image_15072025_16_49_17_2789.jpg', '/home/pi/Desktop/images/15072025/16/50/image_15072025_16_50_37_2557.jpg', '/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_04_3532.jpg', '/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_37_2665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_34_2583.jpg
/home/pi/Desktop/images/15072025/16/47/image_15072025_16_47_53_2525.jpg
/home/pi/Desktop/images/15072025/16/49/image_15072025_16_49_17_2789.jpg
/home/pi/Desktop/images/15072025/16/50/image_15072025_16_50_37_2557.jpg
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_04_3532.jpg
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_37_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":["1372218005","1372218046","1372218022","1372218051","1372218039","1372217966"],"photo_ids_order":["1372217966","1372218005","1372218022","1372218039","1372218046","1372218051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3a9bf4895742324c51ea3b9ad4a4d61.jpg","text":"TemporaryFile(/tmp/multipartBody2604492332419520895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_47_53_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e744fa30e67e193fc8bba744d97d90b6.jpg","text":"TemporaryFile(/tmp/multipartBody2249421279613652594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_54_04_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc3441d41593b46d3d85640607770659.jpg","text":"TemporaryFile(/tmp/multipartBody4274016812559805996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_49_17_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65e3cdad19a48b4f8ba1a6fa9162b2de.jpg","text":"TemporaryFile(/tmp/multipartBody8561949875569875751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_54_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/7/15/f84e58f293f5ea6bdd251b6f0f7f1301.jpg","text":"TemporaryFile(/tmp/multipartBody4512773022422892091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_50_37_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c8ff66fee2b81aab9606441de55277c.jpg","text":"TemporaryFile(/tmp/multipartBody2586812531876286461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752600943195,"filename":"image_15072025_16_47_34_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218022","file1":"1372218005","file0":"1372217966","file4":"1372218046","file5":"1372218051","file3":"1372218039"},"map_files_photo_id_array":[{"photo_id":"1372218051","filename":"file5"},{"photo_id":"1372218022","filename":"file2"},{"photo_id":"1372218046","filename":"file4"},{"photo_id":"1372218005","filename":"file1"},{"photo_id":"1372217966","filename":"file0"},{"photo_id":"1372218039","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218005":["hashtag1","hashtag2"]},{"1372218046":["hashtag1","hashtag2"]},{"1372218022":["hashtag1","hashtag2"]},{"1372218051":["hashtag1","hashtag2"]},{"1372218039":["hashtag1","hashtag2"]},{"1372217966":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218005, 1372218046, 1372218022, 1372218051, 1372218039, 1372217966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.94951891899109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:35:42.712159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_39_2829.jpg', '/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_52_3652.jpg', '/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_34_3526.jpg', '/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_55_2610.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_13_2724.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_16_2845.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_39_2829.jpg
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_52_3652.jpg
/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_34_3526.jpg
/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_55_2610.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_13_2724.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_16_2845.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7141022682189941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:36:02.928029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_39_2829.jpg', '/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_52_3652.jpg', '/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_34_3526.jpg', '/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_55_2610.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_13_2724.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_16_2845.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_39_2829.jpg
/home/pi/Desktop/images/15072025/16/54/image_15072025_16_54_52_3652.jpg
/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_34_3526.jpg
/home/pi/Desktop/images/15072025/16/55/image_15072025_16_55_55_2610.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_13_2724.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_16_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218171","1372218180","1372218138","1372218123","1372218176","1372218167"],"photo_ids_order":["1372218123","1372218138","1372218167","1372218171","1372218176","1372218180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b26a49326b443e4dc505d25fc08a7efa.jpg","text":"TemporaryFile(/tmp/multipartBody2773925728694774823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_55_55_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/131ea853e50f82356e9db41ac4d9f9da.jpg","text":"TemporaryFile(/tmp/multipartBody5292476908832169608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_56_16_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae0266d6f5d87da547220e82b610ddc7.jpg","text":"TemporaryFile(/tmp/multipartBody373057624664448939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_54_52_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/edd124f99149d54d173be737408d4bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2632697741949651409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_54_39_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0b5a6c1584e2ccd15bdc4b4e7dd432d2.jpg","text":"TemporaryFile(/tmp/multipartBody4123939660482735039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_56_13_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f84e810e9dddda05d6fb82352d270b6.jpg","text":"TemporaryFile(/tmp/multipartBody6939712843335638501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601024101,"filename":"image_15072025_16_55_34_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218167","file1":"1372218138","file0":"1372218123","file4":"1372218176","file5":"1372218180","file3":"1372218171"},"map_files_photo_id_array":[{"photo_id":"1372218180","filename":"file5"},{"photo_id":"1372218167","filename":"file2"},{"photo_id":"1372218176","filename":"file4"},{"photo_id":"1372218138","filename":"file1"},{"photo_id":"1372218123","filename":"file0"},{"photo_id":"1372218171","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218171":["hashtag1","hashtag2"]},{"1372218180":["hashtag1","hashtag2"]},{"1372218138":["hashtag1","hashtag2"]},{"1372218123":["hashtag1","hashtag2"]},{"1372218176":["hashtag1","hashtag2"]},{"1372218167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218171, 1372218180, 1372218138, 1372218123, 1372218176, 1372218167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.65173673629761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:37:22.818518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_20_3585.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_22_2605.jpg', '/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_55_3528.jpg', '/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_01_2788.jpg', '/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_07_3658.jpg', '/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_49_3769.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_20_3585.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_22_2605.jpg
/home/pi/Desktop/images/15072025/16/56/image_15072025_16_56_55_3528.jpg
/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_01_2788.jpg
/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_07_3658.jpg
/home/pi/Desktop/images/15072025/16/57/image_15072025_16_57_49_3769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218215","1372218209","1372218230","1372218222","1372218233","1372218227"],"photo_ids_order":["1372218209","1372218215","1372218222","1372218227","1372218230","1372218233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/37170a48f4762959888636c93fe9b6cf.jpg","text":"TemporaryFile(/tmp/multipartBody5009441382364279605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_56_22_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/917e8da86ba4e982eb2f1610cf74265f.jpg","text":"TemporaryFile(/tmp/multipartBody4781259562376198936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_56_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d11c18c50eecb5232edc39376eb8c50.jpg","text":"TemporaryFile(/tmp/multipartBody69857089918562710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_57_07_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d395d834264d513f55a417931d317c54.jpg","text":"TemporaryFile(/tmp/multipartBody6910695711584483882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_56_55_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/992e78fb7c1e6e3101bdc440c82f9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6407389856742096571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_57_49_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c3168cd6bfb784086d83b7cb4aef24f.jpg","text":"TemporaryFile(/tmp/multipartBody8812210601814498227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601103923,"filename":"image_15072025_16_57_01_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218222","file1":"1372218215","file0":"1372218209","file4":"1372218230","file5":"1372218233","file3":"1372218227"},"map_files_photo_id_array":[{"photo_id":"1372218233","filename":"file5"},{"photo_id":"1372218222","filename":"file2"},{"photo_id":"1372218230","filename":"file4"},{"photo_id":"1372218215","filename":"file1"},{"photo_id":"1372218209","filename":"file0"},{"photo_id":"1372218227","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218215":["hashtag1","hashtag2"]},{"1372218209":["hashtag1","hashtag2"]},{"1372218230":["hashtag1","hashtag2"]},{"1372218222":["hashtag1","hashtag2"]},{"1372218233":["hashtag1","hashtag2"]},{"1372218227":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218215, 1372218209, 1372218230, 1372218222, 1372218233, 1372218227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.212799310684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:38:22.416027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_04_2677.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_10_3558.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_13_2688.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_19_3748.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_31_2615.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_34_2884.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_04_2677.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_10_3558.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_13_2688.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_19_3748.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_31_2615.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_34_2884.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.8255765438079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:38:42.509937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_04_2677.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_10_3558.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_13_2688.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_19_3748.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_31_2615.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_34_2884.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_04_2677.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_10_3558.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_13_2688.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_19_3748.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_31_2615.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_34_2884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218289","1372218262","1372218294","1372218267","1372218276","1372218284"],"photo_ids_order":["1372218262","1372218267","1372218276","1372218284","1372218289","1372218294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1bc7e8b5ed5df72d77c89abbf89604e4.jpg","text":"TemporaryFile(/tmp/multipartBody2646653547954145837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd07d8c3b82dee40c4394be811db8ea2.jpg","text":"TemporaryFile(/tmp/multipartBody7221865748182588583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_04_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27e0d03ab7a42cbf080ad2432258a369.jpg","text":"TemporaryFile(/tmp/multipartBody4951335507155865916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_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/7/15/8a47c498dcda91f60639e3ffdb4088db.jpg","text":"TemporaryFile(/tmp/multipartBody7659153646330386977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_10_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd1d2ba5b7fb9cbda891b277001f88c0.jpg","text":"TemporaryFile(/tmp/multipartBody8345656401094457097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_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/7/15/ab33401445bfbfea0492cf725a897e04.jpg","text":"TemporaryFile(/tmp/multipartBody2982966999069240828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601183726,"filename":"image_15072025_16_58_19_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218276","file1":"1372218267","file0":"1372218262","file4":"1372218289","file5":"1372218294","file3":"1372218284"},"map_files_photo_id_array":[{"photo_id":"1372218294","filename":"file5"},{"photo_id":"1372218276","filename":"file2"},{"photo_id":"1372218289","filename":"file4"},{"photo_id":"1372218267","filename":"file1"},{"photo_id":"1372218262","filename":"file0"},{"photo_id":"1372218284","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218289":["hashtag1","hashtag2"]},{"1372218262":["hashtag1","hashtag2"]},{"1372218294":["hashtag1","hashtag2"]},{"1372218267":["hashtag1","hashtag2"]},{"1372218276":["hashtag1","hashtag2"]},{"1372218284":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218289, 1372218262, 1372218294, 1372218267, 1372218276, 1372218284)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 64.51022577285767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:40:02.995167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_40_3643.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_46_2948.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_55_2678.jpg', '/home/pi/Desktop/images/15072025/16/58/image_15072025_16_59_01_3675.jpg', '/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_16_2790.jpg', '/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_28_2998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_40_3643.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_46_2948.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_58_55_2678.jpg
/home/pi/Desktop/images/15072025/16/58/image_15072025_16_59_01_3675.jpg
/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_16_2790.jpg
/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_28_2998.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218335","1372218349","1372218352","1372218339","1372218344","1372218326"],"photo_ids_order":["1372218326","1372218335","1372218339","1372218344","1372218349","1372218352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66431f5891c32c31b8fa8425717a9b75.jpg","text":"TemporaryFile(/tmp/multipartBody6732020660746238766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_58_46_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/049c9c3c7d05d9ccd7590130ca58ef98.jpg","text":"TemporaryFile(/tmp/multipartBody8290547351135180334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_59_16_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b24f7895133fde7686d3cc039a991356.jpg","text":"TemporaryFile(/tmp/multipartBody2000575369099114815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_59_28_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f44d245816afaeff57b9f04e081e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8988926831614245411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_58_55_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb12de69364c0988fe5f77a3f43644a6.jpg","text":"TemporaryFile(/tmp/multipartBody9183207359314082992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_59_01_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a90b3521d16443cca164577901b16f3.jpg","text":"TemporaryFile(/tmp/multipartBody7438564936442116919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601266872,"filename":"image_15072025_16_58_40_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218339","file1":"1372218335","file0":"1372218326","file4":"1372218349","file5":"1372218352","file3":"1372218344"},"map_files_photo_id_array":[{"photo_id":"1372218352","filename":"file5"},{"photo_id":"1372218339","filename":"file2"},{"photo_id":"1372218349","filename":"file4"},{"photo_id":"1372218335","filename":"file1"},{"photo_id":"1372218326","filename":"file0"},{"photo_id":"1372218344","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218335":["hashtag1","hashtag2"]},{"1372218349":["hashtag1","hashtag2"]},{"1372218352":["hashtag1","hashtag2"]},{"1372218339":["hashtag1","hashtag2"]},{"1372218344":["hashtag1","hashtag2"]},{"1372218326":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218335, 1372218349, 1372218352, 1372218339, 1372218344, 1372218326)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.51702547073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:41:22.412633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_48_2602.jpg', '/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_55_2828.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_06_3011.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_10_3754.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_15_2687.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_31_2635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_48_2602.jpg
/home/pi/Desktop/images/15072025/16/59/image_15072025_16_59_55_2828.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_06_3011.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_10_3754.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_15_2687.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_31_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":["1372218390","1372218378","1372218393","1372218387","1372218369","1372218374"],"photo_ids_order":["1372218369","1372218374","1372218378","1372218387","1372218390","1372218393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3063181d8f492d2a2b11a4d85812929a.jpg","text":"TemporaryFile(/tmp/multipartBody5366382514347121255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_17_01_15_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1178828b5bfe406e69d0656f8a098cb.jpg","text":"TemporaryFile(/tmp/multipartBody2487329863527041159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_17_01_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/7/15/be514a735d166c57cd4d9b12be7a9c43.jpg","text":"TemporaryFile(/tmp/multipartBody2577105268886741219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_17_01_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/48e56290a5bd3f3b716fca41184e029d.jpg","text":"TemporaryFile(/tmp/multipartBody4904033089754451893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_17_01_10_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/37f601b95dbea4d373ff1789d5120329.jpg","text":"TemporaryFile(/tmp/multipartBody7243592670143936685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_16_59_48_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99716d4813a941dea9f227a8b735e664.jpg","text":"TemporaryFile(/tmp/multipartBody5361041634823763486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601343614,"filename":"image_15072025_16_59_55_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218378","file1":"1372218374","file0":"1372218369","file4":"1372218390","file5":"1372218393","file3":"1372218387"},"map_files_photo_id_array":[{"photo_id":"1372218393","filename":"file5"},{"photo_id":"1372218378","filename":"file2"},{"photo_id":"1372218390","filename":"file4"},{"photo_id":"1372218374","filename":"file1"},{"photo_id":"1372218369","filename":"file0"},{"photo_id":"1372218387","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218390":["hashtag1","hashtag2"]},{"1372218378":["hashtag1","hashtag2"]},{"1372218393":["hashtag1","hashtag2"]},{"1372218387":["hashtag1","hashtag2"]},{"1372218369":["hashtag1","hashtag2"]},{"1372218374":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218390, 1372218378, 1372218393, 1372218387, 1372218369, 1372218374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.917699575424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:42:23.854159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:42:43.740886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_33_2585.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_40_2689.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_46_3650.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_52_3574.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_57_2719.jpg', '/home/pi/Desktop/images/15072025/17/01/image_15072025_17_02_01_3693.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_33_2585.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_40_2689.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_46_3650.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_52_3574.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_01_57_2719.jpg
/home/pi/Desktop/images/15072025/17/01/image_15072025_17_02_01_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":["1372218448","1372218430","1372218420","1372218438","1372218417","1372218443"],"photo_ids_order":["1372218417","1372218420","1372218430","1372218438","1372218443","1372218448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12994bbd57429b817123d78db39ac66c.jpg","text":"TemporaryFile(/tmp/multipartBody2491638290436700711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_02_01_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/158611a2be2f8d834899c7c1d9b8027a.jpg","text":"TemporaryFile(/tmp/multipartBody4755355779530962850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_01_46_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e72e7d0d72b276e86ad541c42cc920fc.jpg","text":"TemporaryFile(/tmp/multipartBody7104026528079585610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_01_40_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e1d72a2b451556a9db26f0b52b9cdbb.jpg","text":"TemporaryFile(/tmp/multipartBody7279473314797560969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_01_52_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b5f3c4348c3023ab1d418e826ade382.jpg","text":"TemporaryFile(/tmp/multipartBody7402382516875007656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_01_33_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d02553661deeb2a22661e0fb96e2c20a.jpg","text":"TemporaryFile(/tmp/multipartBody1608136343590708760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601424911,"filename":"image_15072025_17_01_57_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218430","file1":"1372218420","file0":"1372218417","file4":"1372218443","file5":"1372218448","file3":"1372218438"},"map_files_photo_id_array":[{"photo_id":"1372218448","filename":"file5"},{"photo_id":"1372218430","filename":"file2"},{"photo_id":"1372218443","filename":"file4"},{"photo_id":"1372218420","filename":"file1"},{"photo_id":"1372218417","filename":"file0"},{"photo_id":"1372218438","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218448":["hashtag1","hashtag2"]},{"1372218430":["hashtag1","hashtag2"]},{"1372218420":["hashtag1","hashtag2"]},{"1372218438":["hashtag1","hashtag2"]},{"1372218417":["hashtag1","hashtag2"]},{"1372218443":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218448, 1372218430, 1372218420, 1372218438, 1372218417, 1372218443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.851805210113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:43:43.398279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_04_2818.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_09_2782.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_13_3570.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_25_2639.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_27_2748.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_31_3659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_04_2818.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_09_2782.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_13_3570.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_25_2639.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_27_2748.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_31_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":["1372218469","1372218460","1372218465","1372218459","1372218474","1372218461"],"photo_ids_order":["1372218459","1372218460","1372218461","1372218465","1372218469","1372218474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57085b4a6672c610b78e98d70b4604bb.jpg","text":"TemporaryFile(/tmp/multipartBody1272942494471868908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_27_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/956abe38942c820b0b89ffe85a12be0a.jpg","text":"TemporaryFile(/tmp/multipartBody1763856988193906251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_09_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38fa6b18a5f83f7159dde6a1ed494da2.jpg","text":"TemporaryFile(/tmp/multipartBody6821134419926012358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_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/7/15/7e5c77072d3c2432f7de3e4208f9dad4.jpg","text":"TemporaryFile(/tmp/multipartBody812202286396729959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_04_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb405eb0e5f577074ace8bec62f3b835.jpg","text":"TemporaryFile(/tmp/multipartBody5669414893591146525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_31_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8bd276e97ad2aa9fc560e2e836bd928.jpg","text":"TemporaryFile(/tmp/multipartBody4019572833083936553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601484564,"filename":"image_15072025_17_02_13_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218461","file1":"1372218460","file0":"1372218459","file4":"1372218469","file5":"1372218474","file3":"1372218465"},"map_files_photo_id_array":[{"photo_id":"1372218474","filename":"file5"},{"photo_id":"1372218461","filename":"file2"},{"photo_id":"1372218469","filename":"file4"},{"photo_id":"1372218460","filename":"file1"},{"photo_id":"1372218459","filename":"file0"},{"photo_id":"1372218465","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218469":["hashtag1","hashtag2"]},{"1372218460":["hashtag1","hashtag2"]},{"1372218465":["hashtag1","hashtag2"]},{"1372218459":["hashtag1","hashtag2"]},{"1372218474":["hashtag1","hashtag2"]},{"1372218461":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218469, 1372218460, 1372218465, 1372218459, 1372218474, 1372218461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82753944396973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:44:42.578642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_40_3642.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_43_2656.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_45_2656.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_49_3606.jpg', '/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_54_2728.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_01_2862.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_40_3642.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_43_2656.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_45_2656.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_49_3606.jpg
/home/pi/Desktop/images/15072025/17/02/image_15072025_17_02_54_2728.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_01_2862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218500","1372218493","1372218547","1372218514","1372218537","1372218488"],"photo_ids_order":["1372218488","1372218493","1372218500","1372218514","1372218537","1372218547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9e2fcb8fa78f67f5965043624732df0.jpg","text":"TemporaryFile(/tmp/multipartBody3743704973497529601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_02_45_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ecd780f172490ad89bca1719e3b02ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6653003657083621025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_02_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/596d61b8564855e1616920095ff07a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3103766394458738133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_03_01_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f7dffb724557621c6e692fe8a1f131e.jpg","text":"TemporaryFile(/tmp/multipartBody5247891279916239402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_02_49_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/13beb76425ee2927e073cfe09043c458.jpg","text":"TemporaryFile(/tmp/multipartBody2210313844374034114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_02_54_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/83531dc244394b6ef9f22a7a1c4a64ba.jpg","text":"TemporaryFile(/tmp/multipartBody6121406806624563412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601543704,"filename":"image_15072025_17_02_40_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218500","file1":"1372218493","file0":"1372218488","file4":"1372218537","file5":"1372218547","file3":"1372218514"},"map_files_photo_id_array":[{"photo_id":"1372218547","filename":"file5"},{"photo_id":"1372218500","filename":"file2"},{"photo_id":"1372218537","filename":"file4"},{"photo_id":"1372218493","filename":"file1"},{"photo_id":"1372218488","filename":"file0"},{"photo_id":"1372218514","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218500":["hashtag1","hashtag2"]},{"1372218493":["hashtag1","hashtag2"]},{"1372218547":["hashtag1","hashtag2"]},{"1372218514":["hashtag1","hashtag2"]},{"1372218537":["hashtag1","hashtag2"]},{"1372218488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218500, 1372218493, 1372218547, 1372218514, 1372218537, 1372218488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.148558139801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:45:42.300845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_04_2671.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_09_2789.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_13_3652.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_21_2562.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_27_2633.jpg', '/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_30_2708.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_04_2671.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_09_2789.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_13_3652.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_21_2562.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_27_2633.jpg
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_30_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218594","1372218585","1372218573","1372218590","1372218569","1372218578"],"photo_ids_order":["1372218569","1372218573","1372218578","1372218585","1372218590","1372218594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e0f416d1f6d0a00e617c096994ec5ee.jpg","text":"TemporaryFile(/tmp/multipartBody5266872139401247894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_30_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b281150c580274f15167f448df947d6.jpg","text":"TemporaryFile(/tmp/multipartBody65575844698680263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_21_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4be740e161a495e6bb7948ad52bdaa76.jpg","text":"TemporaryFile(/tmp/multipartBody9032676609768830422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_09_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/846118e5970972de9b5b13fa3cbcbfbd.jpg","text":"TemporaryFile(/tmp/multipartBody4371668510564533690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_27_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3fb14b157086113e20b3fee30243027e.jpg","text":"TemporaryFile(/tmp/multipartBody8857312404785483543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_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/7/15/c1d59d851415c82eaf643e236c7d0d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7909515342894300548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601603413,"filename":"image_15072025_17_03_13_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218578","file1":"1372218573","file0":"1372218569","file4":"1372218590","file5":"1372218594","file3":"1372218585"},"map_files_photo_id_array":[{"photo_id":"1372218594","filename":"file5"},{"photo_id":"1372218578","filename":"file2"},{"photo_id":"1372218590","filename":"file4"},{"photo_id":"1372218573","filename":"file1"},{"photo_id":"1372218569","filename":"file0"},{"photo_id":"1372218585","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218594":["hashtag1","hashtag2"]},{"1372218585":["hashtag1","hashtag2"]},{"1372218573":["hashtag1","hashtag2"]},{"1372218590":["hashtag1","hashtag2"]},{"1372218569":["hashtag1","hashtag2"]},{"1372218578":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218594, 1372218585, 1372218573, 1372218590, 1372218569, 1372218578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.16115617752075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:46:41.910621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_34_3667.jpg', '/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_06_2603.jpg', '/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_10_3668.jpg', '/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_33_2561.jpg', '/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_57_2739.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_11_3838.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/03/image_15072025_17_03_34_3667.jpg
/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_06_2603.jpg
/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_10_3668.jpg
/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_33_2561.jpg
/home/pi/Desktop/images/15072025/17/04/image_15072025_17_04_57_2739.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_11_3838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218634","1372218628","1372218672","1372218695","1372218653","1372218683"],"photo_ids_order":["1372218628","1372218634","1372218653","1372218672","1372218683","1372218695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/87a97b7e1426691004d86cb3834985fb.jpg","text":"TemporaryFile(/tmp/multipartBody8318190673453587583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_04_06_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/20589f9fe4284a4735caf373c5bfd555.jpg","text":"TemporaryFile(/tmp/multipartBody304097629811018770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_03_34_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c4323c971f7f0e99edfe883d75cb1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6596182041023657992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_04_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/7/15/f3d9f9df8115c25c5625b527dfae3414.jpg","text":"TemporaryFile(/tmp/multipartBody9093931454940616025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_05_11_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8c644a44168604a01c2c3e15f03c01d8.jpg","text":"TemporaryFile(/tmp/multipartBody639360858775925813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_04_10_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6e9f5deaaf11bc1db851e5756b4485e.jpg","text":"TemporaryFile(/tmp/multipartBody4883340463579258295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601663022,"filename":"image_15072025_17_04_57_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218653","file1":"1372218634","file0":"1372218628","file4":"1372218683","file5":"1372218695","file3":"1372218672"},"map_files_photo_id_array":[{"photo_id":"1372218695","filename":"file5"},{"photo_id":"1372218653","filename":"file2"},{"photo_id":"1372218683","filename":"file4"},{"photo_id":"1372218634","filename":"file1"},{"photo_id":"1372218628","filename":"file0"},{"photo_id":"1372218672","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218634":["hashtag1","hashtag2"]},{"1372218628":["hashtag1","hashtag2"]},{"1372218672":["hashtag1","hashtag2"]},{"1372218695":["hashtag1","hashtag2"]},{"1372218653":["hashtag1","hashtag2"]},{"1372218683":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218634, 1372218628, 1372218672, 1372218695, 1372218653, 1372218683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62789702415466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:47:42.082605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_14_2711.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_17_2760.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_19_2750.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_23_3691.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_26_2752.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_29_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_14_2711.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_17_2760.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_19_2750.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_23_3691.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_26_2752.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_29_2701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.688190221786499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:48:03.680021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_14_2711.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_17_2760.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_19_2750.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_23_3691.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_26_2752.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_29_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_14_2711.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_17_2760.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_19_2750.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_23_3691.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_26_2752.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_29_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218763","1372218765","1372218744","1372218738","1372218753","1372218758"],"photo_ids_order":["1372218738","1372218744","1372218753","1372218758","1372218763","1372218765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa4d154035e473b37c441c5be4f551cd.jpg","text":"TemporaryFile(/tmp/multipartBody8661095752706703475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_26_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc356b7c3fa3266cd164faec177a34de.jpg","text":"TemporaryFile(/tmp/multipartBody5900163619873910211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6895dfd5094b45c35d720edeffe8e0c9.jpg","text":"TemporaryFile(/tmp/multipartBody7704162057479965488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a7851ee662a1ceebdd3a70202493f860.jpg","text":"TemporaryFile(/tmp/multipartBody7562279315600346053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_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/7/15/2efc1ec42bdebeb1c1f57875b3b745c4.jpg","text":"TemporaryFile(/tmp/multipartBody8950436307058333554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_19_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f7ee0dc8994a250dce467a1e7b8aa724.jpg","text":"TemporaryFile(/tmp/multipartBody5234582213781608090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601745206,"filename":"image_15072025_17_05_23_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218753","file1":"1372218744","file0":"1372218738","file4":"1372218763","file5":"1372218765","file3":"1372218758"},"map_files_photo_id_array":[{"photo_id":"1372218765","filename":"file5"},{"photo_id":"1372218753","filename":"file2"},{"photo_id":"1372218763","filename":"file4"},{"photo_id":"1372218744","filename":"file1"},{"photo_id":"1372218738","filename":"file0"},{"photo_id":"1372218758","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218763":["hashtag1","hashtag2"]},{"1372218765":["hashtag1","hashtag2"]},{"1372218744":["hashtag1","hashtag2"]},{"1372218738":["hashtag1","hashtag2"]},{"1372218753":["hashtag1","hashtag2"]},{"1372218758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218763, 1372218765, 1372218744, 1372218738, 1372218753, 1372218758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88217782974243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:49:03.332787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_31_2812.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_35_3578.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_44_2804.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_49_2540.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_53_3706.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_56_2759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_31_2812.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_35_3578.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_44_2804.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_49_2540.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_53_3706.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_56_2759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1503162384033203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:49:22.294539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_31_2812.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_35_3578.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_44_2804.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_49_2540.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_53_3706.jpg', '/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_56_2759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_31_2812.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_35_3578.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_44_2804.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_49_2540.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_53_3706.jpg
/home/pi/Desktop/images/15072025/17/05/image_15072025_17_05_56_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218818","1372218847","1372218840","1372218837","1372218822","1372218827"],"photo_ids_order":["1372218818","1372218822","1372218827","1372218837","1372218840","1372218847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dcfb5c36838f6097d5f337d4614f5c1.jpg","text":"TemporaryFile(/tmp/multipartBody8270626048451576046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_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/7/15/ee519ee57927508a793a1721bc922f51.jpg","text":"TemporaryFile(/tmp/multipartBody2593016284784166562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_56_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0408afbe75f6beabc2009a7652131e6.jpg","text":"TemporaryFile(/tmp/multipartBody6933044713401010489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_53_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42f15ddaaf7670b064b762792586fe83.jpg","text":"TemporaryFile(/tmp/multipartBody2728858379087564827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_49_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/854e3eee3ff306445a068bf4fe8e1898.jpg","text":"TemporaryFile(/tmp/multipartBody5980998440967350545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_35_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/633d8b6388c6f7a961f2de4ec911c0fb.jpg","text":"TemporaryFile(/tmp/multipartBody8425133385609525780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601823430,"filename":"image_15072025_17_05_44_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218827","file1":"1372218822","file0":"1372218818","file4":"1372218840","file5":"1372218847","file3":"1372218837"},"map_files_photo_id_array":[{"photo_id":"1372218847","filename":"file5"},{"photo_id":"1372218827","filename":"file2"},{"photo_id":"1372218840","filename":"file4"},{"photo_id":"1372218822","filename":"file1"},{"photo_id":"1372218818","filename":"file0"},{"photo_id":"1372218837","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218818":["hashtag1","hashtag2"]},{"1372218847":["hashtag1","hashtag2"]},{"1372218840":["hashtag1","hashtag2"]},{"1372218837":["hashtag1","hashtag2"]},{"1372218822":["hashtag1","hashtag2"]},{"1372218827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218818, 1372218847, 1372218840, 1372218837, 1372218822, 1372218827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54141354560852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:50:23.920807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_05_2745.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_07_2519.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_14_2666.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_16_2752.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_20_3565.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_25_2667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_05_2745.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_07_2519.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_14_2666.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_16_2752.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_20_3565.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_25_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7149491310119629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:50:42.736126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_05_2745.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_07_2519.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_14_2666.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_16_2752.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_20_3565.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_25_2667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_05_2745.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_07_2519.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_14_2666.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_16_2752.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_20_3565.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_25_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218907","1372218924","1372218903","1372218932","1372218920","1372218914"],"photo_ids_order":["1372218903","1372218907","1372218914","1372218920","1372218924","1372218932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f95f7977e7c0386368d8446c933d8a50.jpg","text":"TemporaryFile(/tmp/multipartBody2603734834878958207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_07_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8ea8d90271afd5026e51ec7901f9942.jpg","text":"TemporaryFile(/tmp/multipartBody3995854750294363819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_20_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6a847e778c95935ebcbb96172be917a0.jpg","text":"TemporaryFile(/tmp/multipartBody286696927773969052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_05_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e61a15494daf7602e565b043a9a69d1.jpg","text":"TemporaryFile(/tmp/multipartBody1554302728919711494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_25_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b50d666594f53689509ae184294cda0.jpg","text":"TemporaryFile(/tmp/multipartBody3864510967285669656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_16_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d89d4913b90fc7fc85970a6b994dd81.jpg","text":"TemporaryFile(/tmp/multipartBody3607228589313569034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601903840,"filename":"image_15072025_17_06_14_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218914","file1":"1372218907","file0":"1372218903","file4":"1372218924","file5":"1372218932","file3":"1372218920"},"map_files_photo_id_array":[{"photo_id":"1372218932","filename":"file5"},{"photo_id":"1372218914","filename":"file2"},{"photo_id":"1372218924","filename":"file4"},{"photo_id":"1372218907","filename":"file1"},{"photo_id":"1372218903","filename":"file0"},{"photo_id":"1372218920","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218907":["hashtag1","hashtag2"]},{"1372218924":["hashtag1","hashtag2"]},{"1372218903":["hashtag1","hashtag2"]},{"1372218932":["hashtag1","hashtag2"]},{"1372218920":["hashtag1","hashtag2"]},{"1372218914":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218907, 1372218924, 1372218903, 1372218932, 1372218920, 1372218914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97889709472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:51:41.940340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_29_3664.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_38_3559.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_50_2835.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_59_3663.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_01_2546.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_13_2653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_29_3664.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_38_3559.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_50_2835.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_59_3663.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_01_2546.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_13_2653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.700282096862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:52:03.077003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_29_3664.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_38_3559.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_50_2835.jpg', '/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_59_3663.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_01_2546.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_13_2653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_29_3664.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_38_3559.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_50_2835.jpg
/home/pi/Desktop/images/15072025/17/06/image_15072025_17_06_59_3663.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_01_2546.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_13_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372218973","1372218982","1372218967","1372218978","1372218987","1372218962"],"photo_ids_order":["1372218962","1372218967","1372218973","1372218978","1372218982","1372218987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26716b4a6b31175b1e2be946ebcffb5b.jpg","text":"TemporaryFile(/tmp/multipartBody7135754588134533831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_06_50_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8eeb14b748225d035776dd20e76f4d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7249458788481597039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_07_01_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4b24ed997bb74b383b521deeab525ea.jpg","text":"TemporaryFile(/tmp/multipartBody6386471286994978144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_06_38_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47a0d52c880c767fb8223d3583c38fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3642890115395411178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_06_59_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3acd5bbc34ccc8181d7dabbec304a041.jpg","text":"TemporaryFile(/tmp/multipartBody3445995487044358997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_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/7/15/69d9c247cdb48377ecdfe617cc0cbc78.jpg","text":"TemporaryFile(/tmp/multipartBody5411435286396740290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752601984254,"filename":"image_15072025_17_06_29_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372218973","file1":"1372218967","file0":"1372218962","file4":"1372218982","file5":"1372218987","file3":"1372218978"},"map_files_photo_id_array":[{"photo_id":"1372218987","filename":"file5"},{"photo_id":"1372218973","filename":"file2"},{"photo_id":"1372218982","filename":"file4"},{"photo_id":"1372218967","filename":"file1"},{"photo_id":"1372218962","filename":"file0"},{"photo_id":"1372218978","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372218973":["hashtag1","hashtag2"]},{"1372218982":["hashtag1","hashtag2"]},{"1372218967":["hashtag1","hashtag2"]},{"1372218978":["hashtag1","hashtag2"]},{"1372218987":["hashtag1","hashtag2"]},{"1372218962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372218973, 1372218982, 1372218967, 1372218978, 1372218987, 1372218962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.674699783325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:53:02.668212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_19_2602.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_28_2539.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_31_2719.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_49_2597.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_01_2824.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_14_2804.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_19_2602.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_28_2539.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_31_2719.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_49_2597.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_01_2824.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_14_2804.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.834165096282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:53:21.905300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_19_2602.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_28_2539.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_31_2719.jpg', '/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_49_2597.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_01_2824.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_14_2804.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_19_2602.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_28_2539.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_31_2719.jpg
/home/pi/Desktop/images/15072025/17/07/image_15072025_17_07_49_2597.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_01_2824.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_14_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219029","1372219038","1372219023","1372219043","1372219040","1372219019"],"photo_ids_order":["1372219019","1372219023","1372219029","1372219038","1372219040","1372219043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ba318754a34b6363fd4b51a1189eae2.jpg","text":"TemporaryFile(/tmp/multipartBody6750019059354492918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_07_31_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0d758c3764a6013bf4ba05b97d565d2.jpg","text":"TemporaryFile(/tmp/multipartBody7512651504823235400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_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/7/15/1fa50a0485fe19fbd107429e81e3d789.jpg","text":"TemporaryFile(/tmp/multipartBody4880149360593101188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_07_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/7/15/c170416f024fc719233e0aea389a0d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1317114182174107803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_08_14_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a8beb66d686d4f94a5df7eda52cb4438.jpg","text":"TemporaryFile(/tmp/multipartBody4254159871665096873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_08_01_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4445a124f3965686868337a47b105354.jpg","text":"TemporaryFile(/tmp/multipartBody6537465713916814132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602063010,"filename":"image_15072025_17_07_19_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219029","file1":"1372219023","file0":"1372219019","file4":"1372219040","file5":"1372219043","file3":"1372219038"},"map_files_photo_id_array":[{"photo_id":"1372219043","filename":"file5"},{"photo_id":"1372219029","filename":"file2"},{"photo_id":"1372219040","filename":"file4"},{"photo_id":"1372219023","filename":"file1"},{"photo_id":"1372219019","filename":"file0"},{"photo_id":"1372219038","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219029":["hashtag1","hashtag2"]},{"1372219038":["hashtag1","hashtag2"]},{"1372219023":["hashtag1","hashtag2"]},{"1372219043":["hashtag1","hashtag2"]},{"1372219040":["hashtag1","hashtag2"]},{"1372219019":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219029, 1372219038, 1372219023, 1372219043, 1372219040, 1372219019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44681477546692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 19:54:22.144833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_16_2584.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_20_3585.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_23_2693.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_32_3580.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_37_2680.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_41_3698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_16_2584.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_20_3585.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_23_2693.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_32_3580.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_37_2680.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_41_3698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7037572860717773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:54:41.930823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_16_2584.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_20_3585.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_23_2693.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_32_3580.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_37_2680.jpg', '/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_41_3698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_16_2584.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_20_3585.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_23_2693.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_32_3580.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_37_2680.jpg
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_41_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219092","1372219101","1372219070","1372219073","1372219067","1372219112"],"photo_ids_order":["1372219067","1372219070","1372219073","1372219092","1372219101","1372219112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cb6385bcdbbb24fcf31bbc88f89c7a58.jpg","text":"TemporaryFile(/tmp/multipartBody1395500384849330227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_32_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1136eb5f9b852c78defc5a25d540bcec.jpg","text":"TemporaryFile(/tmp/multipartBody2239857072835165077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_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/7/15/8c3a37dafcb5563e33ccb62135dfd9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1726765941305225416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a2551630cb774b032383cca0abb6873.jpg","text":"TemporaryFile(/tmp/multipartBody6074903068999686196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_23_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccac2ac3a743d2c9e7a1197fd62444eb.jpg","text":"TemporaryFile(/tmp/multipartBody438954583580952509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_16_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66344b4d44ce4c15fe2cb5b8fc057f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7306190511322228187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602143055,"filename":"image_15072025_17_08_41_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219073","file1":"1372219070","file0":"1372219067","file4":"1372219101","file5":"1372219112","file3":"1372219092"},"map_files_photo_id_array":[{"photo_id":"1372219112","filename":"file5"},{"photo_id":"1372219073","filename":"file2"},{"photo_id":"1372219101","filename":"file4"},{"photo_id":"1372219070","filename":"file1"},{"photo_id":"1372219067","filename":"file0"},{"photo_id":"1372219092","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219092":["hashtag1","hashtag2"]},{"1372219101":["hashtag1","hashtag2"]},{"1372219070":["hashtag1","hashtag2"]},{"1372219073":["hashtag1","hashtag2"]},{"1372219067":["hashtag1","hashtag2"]},{"1372219112":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219092, 1372219101, 1372219070, 1372219073, 1372219067, 1372219112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1352972984314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 19:55:42.324798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_52_2518.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_01_2596.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_04_2686.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_10_2668.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_26_3684.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_53_3636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_52_2518.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_01_2596.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_04_2686.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_10_2668.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_26_3684.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_53_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7150938510894775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:56:02.531653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_52_2518.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_01_2596.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_04_2686.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_10_2668.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_26_3684.jpg', '/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_53_3636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/08/image_15072025_17_08_52_2518.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_01_2596.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_04_2686.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_10_2668.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_26_3684.jpg
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_53_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219159","1372219138","1372219147","1372219155","1372219143","1372219151"],"photo_ids_order":["1372219138","1372219143","1372219147","1372219151","1372219155","1372219159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f7d239b47e2ff44d4b673ff3f57abd38.jpg","text":"TemporaryFile(/tmp/multipartBody850920999484197909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_09_53_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40911cb8762e08c79785f04cb9c6cadb.jpg","text":"TemporaryFile(/tmp/multipartBody1514105070688062491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_08_52_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9e092da6dd07c86a5a8851b75700eaa5.jpg","text":"TemporaryFile(/tmp/multipartBody467929366212671732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_09_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/7/15/c660bcf4e98010698550f43905d5ca5c.jpg","text":"TemporaryFile(/tmp/multipartBody5122721645063466323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_09_26_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5416cebad166f036094ab82991f34682.jpg","text":"TemporaryFile(/tmp/multipartBody6481807289113566963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_09_01_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f5fa541ffd870fb257c863feb1c1d31.jpg","text":"TemporaryFile(/tmp/multipartBody2342637918846439765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602223748,"filename":"image_15072025_17_09_10_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219147","file1":"1372219143","file0":"1372219138","file4":"1372219155","file5":"1372219159","file3":"1372219151"},"map_files_photo_id_array":[{"photo_id":"1372219159","filename":"file5"},{"photo_id":"1372219147","filename":"file2"},{"photo_id":"1372219155","filename":"file4"},{"photo_id":"1372219143","filename":"file1"},{"photo_id":"1372219138","filename":"file0"},{"photo_id":"1372219151","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219159":["hashtag1","hashtag2"]},{"1372219138":["hashtag1","hashtag2"]},{"1372219147":["hashtag1","hashtag2"]},{"1372219155":["hashtag1","hashtag2"]},{"1372219143":["hashtag1","hashtag2"]},{"1372219151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219159, 1372219138, 1372219147, 1372219155, 1372219143, 1372219151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.05518436431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:57:05.163346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_58_2844.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_20_3696.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_23_2669.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_26_2603.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_32_2598.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_38_3713.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/09/image_15072025_17_09_58_2844.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_20_3696.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_23_2669.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_26_2603.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_32_2598.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_38_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219182","1372219179","1372219188","1372219193","1372219199","1372219184"],"photo_ids_order":["1372219179","1372219182","1372219184","1372219188","1372219193","1372219199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec4e27169d946c38350dfda7369c41b1.jpg","text":"TemporaryFile(/tmp/multipartBody7106872865371304378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_10_20_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c636394ec2d84f2d95a7185cf88bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody4161310933496209756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_09_58_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/08d6b5dfc04e9e7a3d1f6a4990b9cf25.jpg","text":"TemporaryFile(/tmp/multipartBody5842213438698323338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_10_26_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a0307762af29efc34a925d576344182.jpg","text":"TemporaryFile(/tmp/multipartBody691124650272950432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_10_32_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c683645c1ba14dfc030bde5676a655d.jpg","text":"TemporaryFile(/tmp/multipartBody4805080386490137026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_10_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/7/15/80667d4b0d9f370002ec6a389a6dbf7a.jpg","text":"TemporaryFile(/tmp/multipartBody2160980753845171853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602286661,"filename":"image_15072025_17_10_23_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219184","file1":"1372219182","file0":"1372219179","file4":"1372219193","file5":"1372219199","file3":"1372219188"},"map_files_photo_id_array":[{"photo_id":"1372219199","filename":"file5"},{"photo_id":"1372219184","filename":"file2"},{"photo_id":"1372219193","filename":"file4"},{"photo_id":"1372219182","filename":"file1"},{"photo_id":"1372219179","filename":"file0"},{"photo_id":"1372219188","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219182":["hashtag1","hashtag2"]},{"1372219179":["hashtag1","hashtag2"]},{"1372219188":["hashtag1","hashtag2"]},{"1372219193":["hashtag1","hashtag2"]},{"1372219199":["hashtag1","hashtag2"]},{"1372219184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219182, 1372219179, 1372219188, 1372219193, 1372219199, 1372219184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.89571738243103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 19:59:03.576455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_41_2839.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_44_2685.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_47_2669.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_50_3651.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_53_2594.jpg', '/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_56_2856.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_41_2839.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_44_2685.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_47_2669.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_50_3651.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_53_2594.jpg
/home/pi/Desktop/images/15072025/17/10/image_15072025_17_10_56_2856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219245","1372219239","1372219230","1372219236","1372219250","1372219264"],"photo_ids_order":["1372219230","1372219236","1372219239","1372219245","1372219250","1372219264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b0185a5630cca150439b04d3b21987a.jpg","text":"TemporaryFile(/tmp/multipartBody2485486772421120585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_50_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2a4198e9c6f28c5200cee321a31b2e15.jpg","text":"TemporaryFile(/tmp/multipartBody2535859134583261638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_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/7/15/7b64f8b0bc6c77e4314055c2da767404.jpg","text":"TemporaryFile(/tmp/multipartBody8255988381355417864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_41_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe347f66eeb7501c200a776ea78933d2.jpg","text":"TemporaryFile(/tmp/multipartBody9132402129014042092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_44_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2038e6f40d6e538ab37d38dd2d8f7a41.jpg","text":"TemporaryFile(/tmp/multipartBody4196954563013450975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_53_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7cfb3b72c5e8be808d30155863cc2278.jpg","text":"TemporaryFile(/tmp/multipartBody5983130644381066903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602404884,"filename":"image_15072025_17_10_56_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219239","file1":"1372219236","file0":"1372219230","file4":"1372219250","file5":"1372219264","file3":"1372219245"},"map_files_photo_id_array":[{"photo_id":"1372219264","filename":"file5"},{"photo_id":"1372219239","filename":"file2"},{"photo_id":"1372219250","filename":"file4"},{"photo_id":"1372219236","filename":"file1"},{"photo_id":"1372219230","filename":"file0"},{"photo_id":"1372219245","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219245":["hashtag1","hashtag2"]},{"1372219239":["hashtag1","hashtag2"]},{"1372219230":["hashtag1","hashtag2"]},{"1372219236":["hashtag1","hashtag2"]},{"1372219250":["hashtag1","hashtag2"]},{"1372219264":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219245, 1372219239, 1372219230, 1372219236, 1372219250, 1372219264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78238081932068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:00:03.264533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_02_3662.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_05_2619.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_08_3613.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_11_2664.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_14_2542.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_20_2798.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_02_3662.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_05_2619.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_08_3613.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_11_2664.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_14_2542.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_20_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219288","1372219293","1372219302","1372219274","1372219283","1372219297"],"photo_ids_order":["1372219274","1372219283","1372219288","1372219293","1372219297","1372219302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21faf7b315fb264c7038b3262df0fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody2100122893890674193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_08_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2653ef6ea87642e33738a3f055febdb4.jpg","text":"TemporaryFile(/tmp/multipartBody7593313558591453858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_11_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5db5d5c3c273ccb3c6058c212147e972.jpg","text":"TemporaryFile(/tmp/multipartBody755060213940809752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_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/7/15/d37ebf687af803974e9c7831c20716a4.jpg","text":"TemporaryFile(/tmp/multipartBody1285997385245044801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_02_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80bf45a7bf63def807fa1942dfb919c4.jpg","text":"TemporaryFile(/tmp/multipartBody4954579647181905721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_05_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d3f36818065ac1f056d7dde9612bd410.jpg","text":"TemporaryFile(/tmp/multipartBody7092817666349600334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602464480,"filename":"image_15072025_17_11_14_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219288","file1":"1372219283","file0":"1372219274","file4":"1372219297","file5":"1372219302","file3":"1372219293"},"map_files_photo_id_array":[{"photo_id":"1372219302","filename":"file5"},{"photo_id":"1372219288","filename":"file2"},{"photo_id":"1372219297","filename":"file4"},{"photo_id":"1372219283","filename":"file1"},{"photo_id":"1372219274","filename":"file0"},{"photo_id":"1372219293","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219288":["hashtag1","hashtag2"]},{"1372219293":["hashtag1","hashtag2"]},{"1372219302":["hashtag1","hashtag2"]},{"1372219274":["hashtag1","hashtag2"]},{"1372219283":["hashtag1","hashtag2"]},{"1372219297":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219288, 1372219293, 1372219302, 1372219274, 1372219283, 1372219297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.96592879295349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:01:02.967087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_23_2526.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_25_2683.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_38_2831.jpg', '/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_50_2687.jpg', '/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_02_2761.jpg', '/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_04_2746.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_23_2526.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_25_2683.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_38_2831.jpg
/home/pi/Desktop/images/15072025/17/11/image_15072025_17_11_50_2687.jpg
/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_02_2761.jpg
/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_04_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372219333","1372219327","1372219527","1372219320","1372219436","1372219619"],"photo_ids_order":["1372219320","1372219327","1372219333","1372219436","1372219527","1372219619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22913718495ccb6d8ef673499818e32f.jpg","text":"TemporaryFile(/tmp/multipartBody8918380883026391235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_11_38_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b7ffec2b95491842752437298beb95c.jpg","text":"TemporaryFile(/tmp/multipartBody4757744843060201825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_11_25_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7dc5eab3fb234ab7e8563329607cf905.jpg","text":"TemporaryFile(/tmp/multipartBody6636576497100544741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_12_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/7/15/a7507509d5ede9e5c57339a1c3d4a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody9172447762605041245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_11_23_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b33023cb47640b4f139a7b71158b10b6.jpg","text":"TemporaryFile(/tmp/multipartBody2071340361929701689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_11_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/7/15/e72f11c3c057538d23984dc03a306d8b.jpg","text":"TemporaryFile(/tmp/multipartBody957259382137411044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602524258,"filename":"image_15072025_17_12_04_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372219333","file1":"1372219327","file0":"1372219320","file4":"1372219527","file5":"1372219619","file3":"1372219436"},"map_files_photo_id_array":[{"photo_id":"1372219619","filename":"file5"},{"photo_id":"1372219333","filename":"file2"},{"photo_id":"1372219527","filename":"file4"},{"photo_id":"1372219327","filename":"file1"},{"photo_id":"1372219320","filename":"file0"},{"photo_id":"1372219436","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372219333":["hashtag1","hashtag2"]},{"1372219327":["hashtag1","hashtag2"]},{"1372219527":["hashtag1","hashtag2"]},{"1372219320":["hashtag1","hashtag2"]},{"1372219436":["hashtag1","hashtag2"]},{"1372219619":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372219333, 1372219327, 1372219527, 1372219320, 1372219436, 1372219619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81742453575134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:02:02.756635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_08_3598.jpg', '/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_13_2700.jpg', '/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_59_3625.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_04_2635.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_11_2851.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_17_3654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_08_3598.jpg
/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_13_2700.jpg
/home/pi/Desktop/images/15072025/17/12/image_15072025_17_12_59_3625.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_04_2635.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_11_2851.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_17_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372220284","1372220368","1372219983","1372220088","1372220189","1372219885"],"photo_ids_order":["1372219885","1372219983","1372220088","1372220189","1372220284","1372220368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db2c3ad2a3bf64fb58dcf05a5911d0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2069914144882316771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_13_11_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62bc9199068446333b236bb091f97fde.jpg","text":"TemporaryFile(/tmp/multipartBody4621364876106290704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_13_17_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/177ee858d684ee10e15b9af50098c457.jpg","text":"TemporaryFile(/tmp/multipartBody4307696796321672660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_12_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c2305fa7c0fee10c1f3ceaa4bec7a50.jpg","text":"TemporaryFile(/tmp/multipartBody4406021971287853753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_12_59_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c744ea054763ada1274f5378fb8f2ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2162152941391640484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_13_04_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f78daef59ebcda4d24e24ea63cb3d745.jpg","text":"TemporaryFile(/tmp/multipartBody7797964953429151604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602583930,"filename":"image_15072025_17_12_08_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372220088","file1":"1372219983","file0":"1372219885","file4":"1372220284","file5":"1372220368","file3":"1372220189"},"map_files_photo_id_array":[{"photo_id":"1372220368","filename":"file5"},{"photo_id":"1372220088","filename":"file2"},{"photo_id":"1372220284","filename":"file4"},{"photo_id":"1372219983","filename":"file1"},{"photo_id":"1372219885","filename":"file0"},{"photo_id":"1372220189","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372220284":["hashtag1","hashtag2"]},{"1372220368":["hashtag1","hashtag2"]},{"1372219983":["hashtag1","hashtag2"]},{"1372220088":["hashtag1","hashtag2"]},{"1372220189":["hashtag1","hashtag2"]},{"1372219885":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372220284, 1372220368, 1372219983, 1372220088, 1372220189, 1372219885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68443298339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:03:03.628116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_20_2729.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_22_2806.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_26_3627.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_34_2696.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_40_2656.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_43_2801.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_20_2729.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_22_2806.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_26_3627.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_34_2696.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_40_2656.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_43_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372220614","1372220496","1372220529","1372220588","1372220450","1372220552"],"photo_ids_order":["1372220450","1372220496","1372220529","1372220552","1372220588","1372220614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd49159f40844d4bb847df6b910ffd21.jpg","text":"TemporaryFile(/tmp/multipartBody6154641867849664232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_43_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/83942982bfd68c3a93021bbeb31e7861.jpg","text":"TemporaryFile(/tmp/multipartBody3992126238652982275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_22_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/29babc02e64c9eea040e204c33c2af22.jpg","text":"TemporaryFile(/tmp/multipartBody7898612571206621074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_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/7/15/12a7da5f84b3607a69335271ec104c93.jpg","text":"TemporaryFile(/tmp/multipartBody8848245997217756165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_40_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/673731d96121cde5cd757f29a26abb64.jpg","text":"TemporaryFile(/tmp/multipartBody6647820015005561925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_20_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4eb7ef844eec07cc8e114f0adfd1f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6423073591866642294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602644871,"filename":"image_15072025_17_13_34_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372220529","file1":"1372220496","file0":"1372220450","file4":"1372220588","file5":"1372220614","file3":"1372220552"},"map_files_photo_id_array":[{"photo_id":"1372220614","filename":"file5"},{"photo_id":"1372220529","filename":"file2"},{"photo_id":"1372220588","filename":"file4"},{"photo_id":"1372220496","filename":"file1"},{"photo_id":"1372220450","filename":"file0"},{"photo_id":"1372220552","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372220614":["hashtag1","hashtag2"]},{"1372220496":["hashtag1","hashtag2"]},{"1372220529":["hashtag1","hashtag2"]},{"1372220588":["hashtag1","hashtag2"]},{"1372220450":["hashtag1","hashtag2"]},{"1372220552":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372220614, 1372220496, 1372220529, 1372220588, 1372220450, 1372220552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.52805519104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:04:22.743933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_47_3686.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_52_2605.jpg', '/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_56_3593.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_01_2524.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_05_3778.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_07_2605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_47_3686.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_52_2605.jpg
/home/pi/Desktop/images/15072025/17/13/image_15072025_17_13_56_3593.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_01_2524.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_05_3778.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_07_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372221070","1372220906","1372221148","1372220844","1372221041","1372220972"],"photo_ids_order":["1372220844","1372220906","1372220972","1372221041","1372221070","1372221148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69e3e5b0ab2a1f79127c2b97f9e5ad4f.jpg","text":"TemporaryFile(/tmp/multipartBody6336073019778167573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_14_05_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64f498002b7f2f9a815043d5b0d7e097.jpg","text":"TemporaryFile(/tmp/multipartBody2872850281299598393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_13_52_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9973f1be93af40b1e157688579b13029.jpg","text":"TemporaryFile(/tmp/multipartBody1325129020014243569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_14_07_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a835f34ced90fadb377758003e968d08.jpg","text":"TemporaryFile(/tmp/multipartBody2712385591104490774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_13_47_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/13a5d876e8a1ffc5ec98fe499c36eaaf.jpg","text":"TemporaryFile(/tmp/multipartBody7563999800708000669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_14_01_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fb7aa1a538e54a7db1450ffc4a1d502f.jpg","text":"TemporaryFile(/tmp/multipartBody6475767449746188686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602723865,"filename":"image_15072025_17_13_56_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372220972","file1":"1372220906","file0":"1372220844","file4":"1372221070","file5":"1372221148","file3":"1372221041"},"map_files_photo_id_array":[{"photo_id":"1372221148","filename":"file5"},{"photo_id":"1372220972","filename":"file2"},{"photo_id":"1372221070","filename":"file4"},{"photo_id":"1372220906","filename":"file1"},{"photo_id":"1372220844","filename":"file0"},{"photo_id":"1372221041","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372221070":["hashtag1","hashtag2"]},{"1372220906":["hashtag1","hashtag2"]},{"1372221148":["hashtag1","hashtag2"]},{"1372220844":["hashtag1","hashtag2"]},{"1372221041":["hashtag1","hashtag2"]},{"1372220972":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372221070, 1372220906, 1372221148, 1372220844, 1372221041, 1372220972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.37328696250916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:05:42.343894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_10_2798.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_14_3666.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_19_2726.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_26_2742.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_28_2783.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_35_3714.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_10_2798.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_14_3666.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_19_2726.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_26_2742.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_28_2783.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_35_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372221541","1372221417","1372221603","1372221312","1372221638","1372221493"],"photo_ids_order":["1372221312","1372221417","1372221493","1372221541","1372221603","1372221638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f9828ebbfa12aa0a7390d673c5040007.jpg","text":"TemporaryFile(/tmp/multipartBody1188152082704308572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_26_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3373e19884e6827f4db0fe4ae59cf4d5.jpg","text":"TemporaryFile(/tmp/multipartBody4340877269642938169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_14_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92e7659adeff043185cc3cd63538bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7871524104540961326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_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/7/15/b852a9c63506668f2f170acb7d065398.jpg","text":"TemporaryFile(/tmp/multipartBody2685527069323272683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_10_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7bab959914336d92c888a74167ca7164.jpg","text":"TemporaryFile(/tmp/multipartBody2544865748654367176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_35_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a7050844ab326b1b83eb07a448d8977f.jpg","text":"TemporaryFile(/tmp/multipartBody3859593348404456323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602803490,"filename":"image_15072025_17_14_19_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372221493","file1":"1372221417","file0":"1372221312","file4":"1372221603","file5":"1372221638","file3":"1372221541"},"map_files_photo_id_array":[{"photo_id":"1372221638","filename":"file5"},{"photo_id":"1372221493","filename":"file2"},{"photo_id":"1372221603","filename":"file4"},{"photo_id":"1372221417","filename":"file1"},{"photo_id":"1372221312","filename":"file0"},{"photo_id":"1372221541","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372221541":["hashtag1","hashtag2"]},{"1372221417":["hashtag1","hashtag2"]},{"1372221603":["hashtag1","hashtag2"]},{"1372221312":["hashtag1","hashtag2"]},{"1372221638":["hashtag1","hashtag2"]},{"1372221493":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372221541, 1372221417, 1372221603, 1372221312, 1372221638, 1372221493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.054187297821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:06:42.021771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_40_2762.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_44_3520.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_49_2733.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_53_3548.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_56_2618.jpg', '/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_11_3564.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_40_2762.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_44_3520.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_49_2733.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_53_3548.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_56_2618.jpg
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_11_3564.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7287263870239258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:07:03.453738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_40_2762.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_44_3520.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_49_2733.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_53_3548.jpg', '/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_56_2618.jpg', '/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_11_3564.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_40_2762.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_44_3520.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_49_2733.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_53_3548.jpg
/home/pi/Desktop/images/15072025/17/14/image_15072025_17_14_56_2618.jpg
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_11_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372221673","1372221660","1372221684","1372221665","1372221676","1372221679"],"photo_ids_order":["1372221660","1372221665","1372221673","1372221676","1372221679","1372221684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed4f9fdf03c92fea664761c181b87e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3347773886518716991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_14_49_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1dd8afe6b56b8ea836d476b1aa146702.jpg","text":"TemporaryFile(/tmp/multipartBody3733108001262945244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_14_40_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0de5579e267165de58a8ad91233ca80.jpg","text":"TemporaryFile(/tmp/multipartBody2100565339816628902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_15_11_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bb74efcca2c8e0de7a4ce658aa258a6.jpg","text":"TemporaryFile(/tmp/multipartBody3865056275516187504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_14_44_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7b14aded67f109dea085bd298500bc7b.jpg","text":"TemporaryFile(/tmp/multipartBody1205931479496608006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_14_53_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3331e843a1dab6dab0614a0cd26b66db.jpg","text":"TemporaryFile(/tmp/multipartBody850667755005534822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602884678,"filename":"image_15072025_17_14_56_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372221673","file1":"1372221665","file0":"1372221660","file4":"1372221679","file5":"1372221684","file3":"1372221676"},"map_files_photo_id_array":[{"photo_id":"1372221684","filename":"file5"},{"photo_id":"1372221673","filename":"file2"},{"photo_id":"1372221679","filename":"file4"},{"photo_id":"1372221665","filename":"file1"},{"photo_id":"1372221660","filename":"file0"},{"photo_id":"1372221676","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372221673":["hashtag1","hashtag2"]},{"1372221660":["hashtag1","hashtag2"]},{"1372221684":["hashtag1","hashtag2"]},{"1372221665":["hashtag1","hashtag2"]},{"1372221676":["hashtag1","hashtag2"]},{"1372221679":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372221673, 1372221660, 1372221684, 1372221665, 1372221676, 1372221679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76126170158386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:08:03.215116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_17_3578.jpg', '/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_22_2734.jpg', '/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_26_3596.jpg', '/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_29_2707.jpg', '/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_01_2627.jpg', '/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_31_2778.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_17_3578.jpg
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_22_2734.jpg
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_26_3596.jpg
/home/pi/Desktop/images/15072025/17/15/image_15072025_17_15_29_2707.jpg
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_01_2627.jpg
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_31_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372221751","1372221712","1372221705","1372221717","1372221722","1372221728"],"photo_ids_order":["1372221705","1372221712","1372221717","1372221722","1372221728","1372221751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ced738594e26d682dc3c3743658e5a59.jpg","text":"TemporaryFile(/tmp/multipartBody1176677913574156030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_16_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/7/15/170cddf2c446cd6ec82525e97f1cd70a.jpg","text":"TemporaryFile(/tmp/multipartBody540217208812257261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_15_22_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61b55aa5c5f2554772a45ec838b44de3.jpg","text":"TemporaryFile(/tmp/multipartBody2609905181017149090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_15_17_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab407340d17c004efe3c2a826271a118.jpg","text":"TemporaryFile(/tmp/multipartBody7036662595279071444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_15_26_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9907742c2feefa553689fcb2892783bd.jpg","text":"TemporaryFile(/tmp/multipartBody4501408060894099843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_15_29_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ee047687fcbc49e41e905ffdec425331.jpg","text":"TemporaryFile(/tmp/multipartBody1593338158870352656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752602944393,"filename":"image_15072025_17_16_01_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372221717","file1":"1372221712","file0":"1372221705","file4":"1372221728","file5":"1372221751","file3":"1372221722"},"map_files_photo_id_array":[{"photo_id":"1372221751","filename":"file5"},{"photo_id":"1372221717","filename":"file2"},{"photo_id":"1372221728","filename":"file4"},{"photo_id":"1372221712","filename":"file1"},{"photo_id":"1372221705","filename":"file0"},{"photo_id":"1372221722","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372221751":["hashtag1","hashtag2"]},{"1372221712":["hashtag1","hashtag2"]},{"1372221705":["hashtag1","hashtag2"]},{"1372221717":["hashtag1","hashtag2"]},{"1372221722":["hashtag1","hashtag2"]},{"1372221728":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372221751, 1372221712, 1372221705, 1372221717, 1372221722, 1372221728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.28338623046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:09:02.968857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_47_3674.jpg', '/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_59_3860.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_02_2814.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_05_2717.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_25_2754.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_02_3661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_47_3674.jpg
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_59_3860.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_02_2814.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_05_2717.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_25_2754.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_02_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0374987125396729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:09:22.087259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_47_3674.jpg', '/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_59_3860.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_02_2814.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_05_2717.jpg', '/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_25_2754.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_02_3661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_47_3674.jpg
/home/pi/Desktop/images/15072025/17/16/image_15072025_17_16_59_3860.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_02_2814.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_05_2717.jpg
/home/pi/Desktop/images/15072025/17/17/image_15072025_17_17_25_2754.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_02_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222048","1372221981","1372222014","1372221986","1372222004","1372221976"],"photo_ids_order":["1372221976","1372221981","1372221986","1372222004","1372222014","1372222048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d812d4a9139979366bab2949110f12af.jpg","text":"TemporaryFile(/tmp/multipartBody1467892507560046166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_18_02_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a05a1729187d90425805b64dd60ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody5223173250842393242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_16_59_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/995f80dc24e96b0ef685a33c8b3f9823.jpg","text":"TemporaryFile(/tmp/multipartBody3839259997456880123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_17_25_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8fac235936dd1ec86c33edd45dc9afd.jpg","text":"TemporaryFile(/tmp/multipartBody1243136748621414288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_17_02_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdfd227ffde593d2df6f6c9242120886.jpg","text":"TemporaryFile(/tmp/multipartBody3019278927318089035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_17_05_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3562252b8ccc483f99c364cc075dc1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1537935453441634712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603023197,"filename":"image_15072025_17_16_47_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372221986","file1":"1372221981","file0":"1372221976","file4":"1372222014","file5":"1372222048","file3":"1372222004"},"map_files_photo_id_array":[{"photo_id":"1372222048","filename":"file5"},{"photo_id":"1372221986","filename":"file2"},{"photo_id":"1372222014","filename":"file4"},{"photo_id":"1372221981","filename":"file1"},{"photo_id":"1372221976","filename":"file0"},{"photo_id":"1372222004","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222048":["hashtag1","hashtag2"]},{"1372221981":["hashtag1","hashtag2"]},{"1372222014":["hashtag1","hashtag2"]},{"1372221986":["hashtag1","hashtag2"]},{"1372222004":["hashtag1","hashtag2"]},{"1372221976":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222048, 1372221981, 1372222014, 1372221986, 1372222004, 1372221976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8294723033905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:10:22.559456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_08_3644.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_38_3759.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_47_2820.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_05_3673.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_07_2585.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_22_2696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_08_3644.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_38_3759.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_47_2820.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_05_3673.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_07_2585.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_22_2696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7443335056304932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:10:42.517922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_08_3644.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_38_3759.jpg', '/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_47_2820.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_05_3673.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_07_2585.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_22_2696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_08_3644.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_38_3759.jpg
/home/pi/Desktop/images/15072025/17/18/image_15072025_17_18_47_2820.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_05_3673.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_07_2585.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_22_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":["1372222126","1372222185","1372222158","1372222169","1372222190","1372222153"],"photo_ids_order":["1372222126","1372222153","1372222158","1372222169","1372222185","1372222190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7edf5a07149c0ebe12bb985f19a0f032.jpg","text":"TemporaryFile(/tmp/multipartBody4803775580028562754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_18_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/7/15/c3d5e5fd035c91a528a53b9e7a781032.jpg","text":"TemporaryFile(/tmp/multipartBody8476824653891240113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_19_07_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/500837bf954125cbddc944f5b0957c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8451929019277155455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_18_47_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bb351d98c454342b322f3517f360593.jpg","text":"TemporaryFile(/tmp/multipartBody8558842954238855481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_19_05_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fa42b26def9c865f48c2bee6232273bf.jpg","text":"TemporaryFile(/tmp/multipartBody1765159960392847159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_19_22_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be9a7a599aa6d21c3ea92eb0b24a59c0.jpg","text":"TemporaryFile(/tmp/multipartBody5908418464951665963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603103627,"filename":"image_15072025_17_18_38_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222158","file1":"1372222153","file0":"1372222126","file4":"1372222185","file5":"1372222190","file3":"1372222169"},"map_files_photo_id_array":[{"photo_id":"1372222190","filename":"file5"},{"photo_id":"1372222158","filename":"file2"},{"photo_id":"1372222185","filename":"file4"},{"photo_id":"1372222153","filename":"file1"},{"photo_id":"1372222126","filename":"file0"},{"photo_id":"1372222169","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222126":["hashtag1","hashtag2"]},{"1372222185":["hashtag1","hashtag2"]},{"1372222158":["hashtag1","hashtag2"]},{"1372222169":["hashtag1","hashtag2"]},{"1372222190":["hashtag1","hashtag2"]},{"1372222153":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222126, 1372222185, 1372222158, 1372222169, 1372222190, 1372222153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56347584724426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:11:42.669819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_43_2772.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_49_2677.jpg', '/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_08_3011.jpg', '/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_41_2620.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_17_3691.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_23_2774.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_43_2772.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_49_2677.jpg
/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_08_3011.jpg
/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_41_2620.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_17_3691.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_23_2774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7416427135467529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:12:02.755888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_43_2772.jpg', '/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_49_2677.jpg', '/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_08_3011.jpg', '/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_41_2620.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_17_3691.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_23_2774.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_43_2772.jpg
/home/pi/Desktop/images/15072025/17/19/image_15072025_17_19_49_2677.jpg
/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_08_3011.jpg
/home/pi/Desktop/images/15072025/17/20/image_15072025_17_20_41_2620.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_17_3691.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_23_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222246","1372222230","1372222224","1372222240","1372222243","1372222237"],"photo_ids_order":["1372222224","1372222230","1372222237","1372222240","1372222243","1372222246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80e235234e223a8a363e4b3905b41a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1373633447026834762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_21_23_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e5daae7d28f7ed0266d821e2e021c04.jpg","text":"TemporaryFile(/tmp/multipartBody6721497337195485989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_19_49_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c9b6d4a14324d271e8afca90876afc0.jpg","text":"TemporaryFile(/tmp/multipartBody4120810565753523241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_19_43_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2cb87e5e4cd67c70a057209add893155.jpg","text":"TemporaryFile(/tmp/multipartBody5909630183410068733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_20_41_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40e1535d131725bffae4b8150e4c29eb.jpg","text":"TemporaryFile(/tmp/multipartBody5435800717887788087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_21_17_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67368d2cec1fce7ec4d28ada5561ba98.jpg","text":"TemporaryFile(/tmp/multipartBody3026997395533335202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603186440,"filename":"image_15072025_17_20_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222237","file1":"1372222230","file0":"1372222224","file4":"1372222243","file5":"1372222246","file3":"1372222240"},"map_files_photo_id_array":[{"photo_id":"1372222246","filename":"file5"},{"photo_id":"1372222237","filename":"file2"},{"photo_id":"1372222243","filename":"file4"},{"photo_id":"1372222230","filename":"file1"},{"photo_id":"1372222224","filename":"file0"},{"photo_id":"1372222240","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222246":["hashtag1","hashtag2"]},{"1372222230":["hashtag1","hashtag2"]},{"1372222224":["hashtag1","hashtag2"]},{"1372222240":["hashtag1","hashtag2"]},{"1372222243":["hashtag1","hashtag2"]},{"1372222237":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222246, 1372222230, 1372222224, 1372222240, 1372222243, 1372222237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20363926887512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:13:03.400797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_26_2877.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_29_3673.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_32_2714.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_35_2578.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_38_3754.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_41_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_26_2877.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_29_3673.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_32_2714.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_35_2578.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_38_3754.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_41_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8258206844329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:13:22.731417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_26_2877.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_29_3673.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_32_2714.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_35_2578.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_38_3754.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_41_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_26_2877.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_29_3673.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_32_2714.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_35_2578.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_38_3754.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_41_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222293","1372222295","1372222289","1372222297","1372222282","1372222276"],"photo_ids_order":["1372222276","1372222282","1372222289","1372222293","1372222295","1372222297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/50958750801e5f70a825719e8c5c6dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4011812754303627508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_35_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/189ddcf27295f0e891e26623f7382c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1292758290879903674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_38_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e067c054572a2ff82c65767211975e75.jpg","text":"TemporaryFile(/tmp/multipartBody7137970283480692193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_32_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04ce91a1251b4688882747157caf2349.jpg","text":"TemporaryFile(/tmp/multipartBody4833985314046807224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_41_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7a3ddc6ee95f6365a1deeaaa0e4d66d.jpg","text":"TemporaryFile(/tmp/multipartBody6276687111420412777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_29_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9c28973773823d310a39fdfa41b3cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8940417248756762815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603263847,"filename":"image_15072025_17_21_26_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222289","file1":"1372222282","file0":"1372222276","file4":"1372222295","file5":"1372222297","file3":"1372222293"},"map_files_photo_id_array":[{"photo_id":"1372222297","filename":"file5"},{"photo_id":"1372222289","filename":"file2"},{"photo_id":"1372222295","filename":"file4"},{"photo_id":"1372222282","filename":"file1"},{"photo_id":"1372222276","filename":"file0"},{"photo_id":"1372222293","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222293":["hashtag1","hashtag2"]},{"1372222295":["hashtag1","hashtag2"]},{"1372222289":["hashtag1","hashtag2"]},{"1372222297":["hashtag1","hashtag2"]},{"1372222282":["hashtag1","hashtag2"]},{"1372222276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222293, 1372222295, 1372222289, 1372222297, 1372222282, 1372222276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.198089361190796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:14:22.220865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_44_2745.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_46_2677.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_50_3838.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_53_2847.jpg', '/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_59_2624.jpg', '/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_02_3640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_44_2745.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_46_2677.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_50_3838.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_53_2847.jpg
/home/pi/Desktop/images/15072025/17/21/image_15072025_17_21_59_2624.jpg
/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_02_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222324","1372222329","1372222319","1372222336","1372222315","1372222309"],"photo_ids_order":["1372222309","1372222315","1372222319","1372222324","1372222329","1372222336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7881150985292a4fd1343f42691cb0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4141271888197978465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_21_53_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0b69c6963bca257689aebc11c904177.jpg","text":"TemporaryFile(/tmp/multipartBody3310576900062043570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_21_59_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6dc4ead12664ae998c3ebbb375658ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8113712324281752488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_21_50_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f5840fdc18b121a9b96d3106dfc6801.jpg","text":"TemporaryFile(/tmp/multipartBody2190897906951459257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_22_02_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3b2bd5d5180134fe7172e38060109b4.jpg","text":"TemporaryFile(/tmp/multipartBody3755000333577653769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_21_46_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/da38e960a19c5315dbcfb83a3209e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody281192666255387817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603323341,"filename":"image_15072025_17_21_44_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222319","file1":"1372222315","file0":"1372222309","file4":"1372222329","file5":"1372222336","file3":"1372222324"},"map_files_photo_id_array":[{"photo_id":"1372222336","filename":"file5"},{"photo_id":"1372222319","filename":"file2"},{"photo_id":"1372222329","filename":"file4"},{"photo_id":"1372222315","filename":"file1"},{"photo_id":"1372222309","filename":"file0"},{"photo_id":"1372222324","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222324":["hashtag1","hashtag2"]},{"1372222329":["hashtag1","hashtag2"]},{"1372222319":["hashtag1","hashtag2"]},{"1372222336":["hashtag1","hashtag2"]},{"1372222315":["hashtag1","hashtag2"]},{"1372222309":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222324, 1372222329, 1372222319, 1372222336, 1372222315, 1372222309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.912341356277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:15:21.922309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_25_2645.jpg', '/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_38_3646.jpg', '/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_08_3720.jpg', '/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_11_2697.jpg', '/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_14_2615.jpg', '/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_38_2813.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_25_2645.jpg
/home/pi/Desktop/images/15072025/17/22/image_15072025_17_22_38_3646.jpg
/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_08_3720.jpg
/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_11_2697.jpg
/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_14_2615.jpg
/home/pi/Desktop/images/15072025/17/23/image_15072025_17_23_38_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":["1372222380","1372222374","1372222362","1372222358","1372222384","1372222354"],"photo_ids_order":["1372222354","1372222358","1372222362","1372222374","1372222380","1372222384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e45d44960e2ed4fc068ad0172e0c32ed.jpg","text":"TemporaryFile(/tmp/multipartBody5995846512885283560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_23_14_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac79f23ee8914e52d33da824891939c0.jpg","text":"TemporaryFile(/tmp/multipartBody2195454229478904051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_23_11_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/13331b31aa30da078a2159a404cdc1b6.jpg","text":"TemporaryFile(/tmp/multipartBody5180677959232756304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_23_08_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/90d5b0f5e1cbc49a95eb0d063b3aa595.jpg","text":"TemporaryFile(/tmp/multipartBody5720634245029606177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_22_38_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7d6d6f0ed9c379ad3bcdbab8adce6cc.jpg","text":"TemporaryFile(/tmp/multipartBody9167956286759222208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_23_38_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/76821636c164eea01749359ee0f70774.jpg","text":"TemporaryFile(/tmp/multipartBody3608858669743683520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603383039,"filename":"image_15072025_17_22_25_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222362","file1":"1372222358","file0":"1372222354","file4":"1372222380","file5":"1372222384","file3":"1372222374"},"map_files_photo_id_array":[{"photo_id":"1372222384","filename":"file5"},{"photo_id":"1372222362","filename":"file2"},{"photo_id":"1372222380","filename":"file4"},{"photo_id":"1372222358","filename":"file1"},{"photo_id":"1372222354","filename":"file0"},{"photo_id":"1372222374","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222380":["hashtag1","hashtag2"]},{"1372222374":["hashtag1","hashtag2"]},{"1372222362":["hashtag1","hashtag2"]},{"1372222358":["hashtag1","hashtag2"]},{"1372222384":["hashtag1","hashtag2"]},{"1372222354":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222380, 1372222374, 1372222362, 1372222358, 1372222384, 1372222354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.805410385131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:16:22.632841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_02_3543.jpg', '/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_07_2754.jpg', '/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_17_2733.jpg', '/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_20_3621.jpg', '/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_25_2608.jpg', '/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_43_2717.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_02_3543.jpg
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_07_2754.jpg
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_17_2733.jpg
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_20_3621.jpg
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_25_2608.jpg
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_43_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222407","1372222401","1372222404","1372222418","1372222396","1372222409"],"photo_ids_order":["1372222396","1372222401","1372222404","1372222407","1372222409","1372222418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40b79108f66615a3b190fef9fc74531a.jpg","text":"TemporaryFile(/tmp/multipartBody4224101347833513317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_20_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97767f3daf9caf77d44ca917ac5a65ec.jpg","text":"TemporaryFile(/tmp/multipartBody4260433759328783468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_07_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03908bfc3d03d9228104ec0923906861.jpg","text":"TemporaryFile(/tmp/multipartBody3305115023319495961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_17_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/346900853e8391d8920476c5fce46c67.jpg","text":"TemporaryFile(/tmp/multipartBody4342400643420398895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_43_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/905fd4676acb60bdb7e3a2bc22e65446.jpg","text":"TemporaryFile(/tmp/multipartBody8302081454287364861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_02_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de4e2f0fb50a70141fa762f913bbc875.jpg","text":"TemporaryFile(/tmp/multipartBody1760452307953014621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603443742,"filename":"image_15072025_17_24_25_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222404","file1":"1372222401","file0":"1372222396","file4":"1372222409","file5":"1372222418","file3":"1372222407"},"map_files_photo_id_array":[{"photo_id":"1372222418","filename":"file5"},{"photo_id":"1372222404","filename":"file2"},{"photo_id":"1372222409","filename":"file4"},{"photo_id":"1372222401","filename":"file1"},{"photo_id":"1372222396","filename":"file0"},{"photo_id":"1372222407","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222407":["hashtag1","hashtag2"]},{"1372222401":["hashtag1","hashtag2"]},{"1372222404":["hashtag1","hashtag2"]},{"1372222418":["hashtag1","hashtag2"]},{"1372222396":["hashtag1","hashtag2"]},{"1372222409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222407, 1372222401, 1372222404, 1372222418, 1372222396, 1372222409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.36710286140442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:17:22.833823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_55_2819.jpg', '/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_14_2539.jpg', '/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_26_2797.jpg', '/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_32_3550.jpg', '/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_37_2655.jpg', '/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_42_4111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/24/image_15072025_17_24_55_2819.jpg
/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_14_2539.jpg
/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_26_2797.jpg
/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_32_3550.jpg
/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_37_2655.jpg
/home/pi/Desktop/images/15072025/17/25/image_15072025_17_25_42_4111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222440","1372222434","1372222448","1372222450","1372222444","1372222453"],"photo_ids_order":["1372222434","1372222440","1372222444","1372222448","1372222450","1372222453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca0afd79ac31de0656faa8f20393ab49.jpg","text":"TemporaryFile(/tmp/multipartBody501825460519754320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_25_14_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6104ea98b6c9a8e8a24af5a23b4651dd.jpg","text":"TemporaryFile(/tmp/multipartBody9219898105854942186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_24_55_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4fbba6f444457044daf08a653b9797a8.jpg","text":"TemporaryFile(/tmp/multipartBody1135479536451041069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_25_32_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e39d4e6f190d69db99ac13f0b9614db3.jpg","text":"TemporaryFile(/tmp/multipartBody6239274818496730343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_25_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/7/15/e16c2e6cfc9540075f10d664c46863e5.jpg","text":"TemporaryFile(/tmp/multipartBody478150549115379957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_25_26_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2479b71ad3dc502bf0a4b96b92c0f0dd.jpg","text":"TemporaryFile(/tmp/multipartBody681767413321755946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603503933,"filename":"image_15072025_17_25_42_4111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222444","file1":"1372222440","file0":"1372222434","file4":"1372222450","file5":"1372222453","file3":"1372222448"},"map_files_photo_id_array":[{"photo_id":"1372222453","filename":"file5"},{"photo_id":"1372222444","filename":"file2"},{"photo_id":"1372222450","filename":"file4"},{"photo_id":"1372222440","filename":"file1"},{"photo_id":"1372222434","filename":"file0"},{"photo_id":"1372222448","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222440":["hashtag1","hashtag2"]},{"1372222434":["hashtag1","hashtag2"]},{"1372222448":["hashtag1","hashtag2"]},{"1372222450":["hashtag1","hashtag2"]},{"1372222444":["hashtag1","hashtag2"]},{"1372222453":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222440, 1372222434, 1372222448, 1372222450, 1372222444, 1372222453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.04121208190918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:18:22.695961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_02_3611.jpg', '/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_07_2705.jpg', '/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_16_2809.jpg', '/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_35_3671.jpg', '/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_56_3641.jpg', '/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_11_2663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_02_3611.jpg
/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_07_2705.jpg
/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_16_2809.jpg
/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_35_3671.jpg
/home/pi/Desktop/images/15072025/17/26/image_15072025_17_26_56_3641.jpg
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_11_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":["1372222473","1372222490","1372222469","1372222463","1372222480","1372222477"],"photo_ids_order":["1372222463","1372222469","1372222473","1372222477","1372222480","1372222490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7bd9025a7fde1a3c06049562b13f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1865453243582679425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_26_16_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a17d8fc248c7a5c5e7bb6d18a801cce.jpg","text":"TemporaryFile(/tmp/multipartBody684920478765254150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_28_11_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/854988bbf028ab9e72d5fbaabe7d8eba.jpg","text":"TemporaryFile(/tmp/multipartBody9130513668235135885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_26_07_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33bc79460e2f9d9011c82707b02205c6.jpg","text":"TemporaryFile(/tmp/multipartBody1398477843513059920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_26_02_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/96b39e8fd3713b31416d7e24c870ff69.jpg","text":"TemporaryFile(/tmp/multipartBody7483048751059656013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_26_56_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0af49fc5e1f4f37f643451f04692e092.jpg","text":"TemporaryFile(/tmp/multipartBody1041576946693131390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603563795,"filename":"image_15072025_17_26_35_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222473","file1":"1372222469","file0":"1372222463","file4":"1372222480","file5":"1372222490","file3":"1372222477"},"map_files_photo_id_array":[{"photo_id":"1372222490","filename":"file5"},{"photo_id":"1372222473","filename":"file2"},{"photo_id":"1372222480","filename":"file4"},{"photo_id":"1372222469","filename":"file1"},{"photo_id":"1372222463","filename":"file0"},{"photo_id":"1372222477","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222473":["hashtag1","hashtag2"]},{"1372222490":["hashtag1","hashtag2"]},{"1372222469":["hashtag1","hashtag2"]},{"1372222463":["hashtag1","hashtag2"]},{"1372222480":["hashtag1","hashtag2"]},{"1372222477":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222473, 1372222490, 1372222469, 1372222463, 1372222480, 1372222477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.554126262664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:19:22.000878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_22_2636.jpg', '/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_29_3706.jpg', '/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_31_2695.jpg', '/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_38_3716.jpg', '/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_43_2653.jpg', '/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_07_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_22_2636.jpg
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_29_3706.jpg
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_31_2695.jpg
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_38_3716.jpg
/home/pi/Desktop/images/15072025/17/28/image_15072025_17_28_43_2653.jpg
/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_07_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222516","1372222536","1372222520","1372222532","1372222511","1372222540"],"photo_ids_order":["1372222511","1372222516","1372222520","1372222532","1372222536","1372222540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b35b6feee9017e22baab2ccb15668cf.jpg","text":"TemporaryFile(/tmp/multipartBody368348385393855836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_28_29_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c92688fe97d77b5a2520c23101bab0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5379573064987214044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_28_43_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1608f12e4832982d36fbd245d018e1c0.jpg","text":"TemporaryFile(/tmp/multipartBody2382768997882704025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_28_31_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/337e9488aee889bcb55cba563c8d3c71.jpg","text":"TemporaryFile(/tmp/multipartBody5621218505542772719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_28_38_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db81a6c255483f5d3aab9b40d1b3533b.jpg","text":"TemporaryFile(/tmp/multipartBody4475991220433221700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_28_22_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f5f16796b34f8ac95cf47ee65eae29b.jpg","text":"TemporaryFile(/tmp/multipartBody1699004462774789918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603623115,"filename":"image_15072025_17_29_07_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222520","file1":"1372222516","file0":"1372222511","file4":"1372222536","file5":"1372222540","file3":"1372222532"},"map_files_photo_id_array":[{"photo_id":"1372222540","filename":"file5"},{"photo_id":"1372222520","filename":"file2"},{"photo_id":"1372222536","filename":"file4"},{"photo_id":"1372222516","filename":"file1"},{"photo_id":"1372222511","filename":"file0"},{"photo_id":"1372222532","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222516":["hashtag1","hashtag2"]},{"1372222536":["hashtag1","hashtag2"]},{"1372222520":["hashtag1","hashtag2"]},{"1372222532":["hashtag1","hashtag2"]},{"1372222511":["hashtag1","hashtag2"]},{"1372222540":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222516, 1372222536, 1372222520, 1372222532, 1372222511, 1372222540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.57800006866455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:20:22.737319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_25_2660.jpg', '/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_49_2591.jpg', '/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_07_3011.jpg', '/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_44_2628.jpg', '/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_53_2618.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_02_2660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_25_2660.jpg
/home/pi/Desktop/images/15072025/17/29/image_15072025_17_29_49_2591.jpg
/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_07_3011.jpg
/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_44_2628.jpg
/home/pi/Desktop/images/15072025/17/30/image_15072025_17_30_53_2618.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_02_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":["1372222554","1372222571","1372222565","1372222568","1372222562","1372222582"],"photo_ids_order":["1372222554","1372222562","1372222565","1372222568","1372222571","1372222582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/850d0c8342af973a745a5fce6b0a6ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3925100260119549613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_29_25_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5abc909392645d6f8767f115a786399c.jpg","text":"TemporaryFile(/tmp/multipartBody2602000609905732067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_30_53_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a9e8b68a438738d125482083dc90b01f.jpg","text":"TemporaryFile(/tmp/multipartBody6219926232887584746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_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/7/15/9383d9301b8452ab5c0668de624cf46b.jpg","text":"TemporaryFile(/tmp/multipartBody1217106259810828055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_30_44_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/25fd409a1cdc35761830cb40a463494b.jpg","text":"TemporaryFile(/tmp/multipartBody6806652323703672361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_29_49_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cebe4a7d5f6baa79838fd8513612b0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6982722827910698844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603683862,"filename":"image_15072025_17_31_02_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222565","file1":"1372222562","file0":"1372222554","file4":"1372222571","file5":"1372222582","file3":"1372222568"},"map_files_photo_id_array":[{"photo_id":"1372222582","filename":"file5"},{"photo_id":"1372222565","filename":"file2"},{"photo_id":"1372222571","filename":"file4"},{"photo_id":"1372222562","filename":"file1"},{"photo_id":"1372222554","filename":"file0"},{"photo_id":"1372222568","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222554":["hashtag1","hashtag2"]},{"1372222571":["hashtag1","hashtag2"]},{"1372222565":["hashtag1","hashtag2"]},{"1372222568":["hashtag1","hashtag2"]},{"1372222562":["hashtag1","hashtag2"]},{"1372222582":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222554, 1372222571, 1372222565, 1372222568, 1372222562, 1372222582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.12950778007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:21:21.938994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_05_2636.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_08_3613.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_23_2757.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_26_3693.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_29_2706.jpg', '/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_35_3618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_05_2636.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_08_3613.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_23_2757.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_26_3693.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_29_2706.jpg
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_35_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222623","1372222605","1372222620","1372222613","1372222601","1372222625"],"photo_ids_order":["1372222601","1372222605","1372222613","1372222620","1372222623","1372222625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a6f1e263ba237746e6fe690006cde5a.jpg","text":"TemporaryFile(/tmp/multipartBody9107292304208841158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_29_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/93a18d71773e7853c690ab23da36f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2062019047832875447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_08_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f0deb821b6cc95216a8d70ef8701a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody6181157144602833801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_26_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0805746d1a34cb73183b2a83b19cb8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1932641372489487126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_23_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db4b208442cecfdc65f7c292641237a8.jpg","text":"TemporaryFile(/tmp/multipartBody7057875507022606311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_05_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8409cfe467fe1a69f4554cb1011814ab.jpg","text":"TemporaryFile(/tmp/multipartBody8921626692215906638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603743072,"filename":"image_15072025_17_31_35_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222613","file1":"1372222605","file0":"1372222601","file4":"1372222623","file5":"1372222625","file3":"1372222620"},"map_files_photo_id_array":[{"photo_id":"1372222625","filename":"file5"},{"photo_id":"1372222613","filename":"file2"},{"photo_id":"1372222623","filename":"file4"},{"photo_id":"1372222605","filename":"file1"},{"photo_id":"1372222601","filename":"file0"},{"photo_id":"1372222620","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222623":["hashtag1","hashtag2"]},{"1372222605":["hashtag1","hashtag2"]},{"1372222620":["hashtag1","hashtag2"]},{"1372222613":["hashtag1","hashtag2"]},{"1372222601":["hashtag1","hashtag2"]},{"1372222625":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222623, 1372222605, 1372222620, 1372222613, 1372222601, 1372222625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.924124002456665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:22:22.854592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_38_2654.jpg', '/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_02_3552.jpg', '/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_08_3635.jpg', '/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_17_3666.jpg', '/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_01_2554.jpg', '/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_44_2692.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/31/image_15072025_17_31_38_2654.jpg
/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_02_3552.jpg
/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_08_3635.jpg
/home/pi/Desktop/images/15072025/17/32/image_15072025_17_32_17_3666.jpg
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_01_2554.jpg
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_44_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222665","1372222656","1372222635","1372222650","1372222646","1372222640"],"photo_ids_order":["1372222635","1372222640","1372222646","1372222650","1372222656","1372222665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/96fe5cc35063eab28fd1c8b7aece44a3.jpg","text":"TemporaryFile(/tmp/multipartBody4673978780959797248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_33_44_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6141869147597d324a4beafdba4661e9.jpg","text":"TemporaryFile(/tmp/multipartBody8740945846938916230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_33_01_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4182da128b34b3fe2199036d2286e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7704603457955349259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_31_38_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdaf89b60448f2b23d48240f2761e4ef.jpg","text":"TemporaryFile(/tmp/multipartBody1961110139790753229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_32_17_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be2fd0bf206e62e3fcde6aad0b969a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8155880971199013049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_32_08_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42f3e007b706bd151319a778c8e22f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8887650787684066109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603803979,"filename":"image_15072025_17_32_02_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222646","file1":"1372222640","file0":"1372222635","file4":"1372222656","file5":"1372222665","file3":"1372222650"},"map_files_photo_id_array":[{"photo_id":"1372222665","filename":"file5"},{"photo_id":"1372222646","filename":"file2"},{"photo_id":"1372222656","filename":"file4"},{"photo_id":"1372222640","filename":"file1"},{"photo_id":"1372222635","filename":"file0"},{"photo_id":"1372222650","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222665":["hashtag1","hashtag2"]},{"1372222656":["hashtag1","hashtag2"]},{"1372222635":["hashtag1","hashtag2"]},{"1372222650":["hashtag1","hashtag2"]},{"1372222646":["hashtag1","hashtag2"]},{"1372222640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222665, 1372222656, 1372222635, 1372222650, 1372222646, 1372222640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.09094858169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:23:22.211958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_46_2751.jpg', '/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_50_3647.jpg', '/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_53_2700.jpg', '/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_55_2701.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_02_3613.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_04_2678.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_46_2751.jpg
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_50_3647.jpg
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_53_2700.jpg
/home/pi/Desktop/images/15072025/17/33/image_15072025_17_33_55_2701.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_02_3613.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_04_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222698","1372222695","1372222680","1372222700","1372222687","1372222675"],"photo_ids_order":["1372222675","1372222680","1372222687","1372222695","1372222698","1372222700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c20d37550ade4a1243562e1a8caf01dd.jpg","text":"TemporaryFile(/tmp/multipartBody2750225148351928931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_34_02_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36c73783991461cc4fd01ac3ed92e8d2.jpg","text":"TemporaryFile(/tmp/multipartBody6598588682380204828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_33_55_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/049ae0fb5899bae8445f66b16fa4f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody5832118883261469243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_33_50_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ebc2284a545f8dd8bc2eb5cab0b3fd46.jpg","text":"TemporaryFile(/tmp/multipartBody756683583843638290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_34_04_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/027492e47d1c6605d507739e470f62f0.jpg","text":"TemporaryFile(/tmp/multipartBody3802186578097727738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_33_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/7/15/f12822302dec4eeea4bffdcec46a561d.jpg","text":"TemporaryFile(/tmp/multipartBody1836168041055540709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603863336,"filename":"image_15072025_17_33_46_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222687","file1":"1372222680","file0":"1372222675","file4":"1372222698","file5":"1372222700","file3":"1372222695"},"map_files_photo_id_array":[{"photo_id":"1372222700","filename":"file5"},{"photo_id":"1372222687","filename":"file2"},{"photo_id":"1372222698","filename":"file4"},{"photo_id":"1372222680","filename":"file1"},{"photo_id":"1372222675","filename":"file0"},{"photo_id":"1372222695","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222698":["hashtag1","hashtag2"]},{"1372222695":["hashtag1","hashtag2"]},{"1372222680":["hashtag1","hashtag2"]},{"1372222700":["hashtag1","hashtag2"]},{"1372222687":["hashtag1","hashtag2"]},{"1372222675":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222698, 1372222695, 1372222680, 1372222700, 1372222687, 1372222675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81485080718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:24:22.062817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_25_2717.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_35_2689.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_37_2622.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_50_3655.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_55_2688.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_59_3731.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_25_2717.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_35_2689.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_37_2622.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_50_3655.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_55_2688.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_59_3731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.747617244720459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:24:42.047890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_25_2717.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_35_2689.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_37_2622.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_50_3655.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_55_2688.jpg', '/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_59_3731.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_25_2717.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_35_2689.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_37_2622.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_50_3655.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_55_2688.jpg
/home/pi/Desktop/images/15072025/17/34/image_15072025_17_34_59_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222728","1372222733","1372222759","1372222744","1372222723","1372222753"],"photo_ids_order":["1372222723","1372222728","1372222733","1372222744","1372222753","1372222759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f33e7836fba3e8640cc587ba97722f97.jpg","text":"TemporaryFile(/tmp/multipartBody1280588616427837885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_35_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a8ae8cfcb38cf798307826d42eced21f.jpg","text":"TemporaryFile(/tmp/multipartBody9013913670031081696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_37_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/562d22f4de510f7d4c184bf0f9ba0b07.jpg","text":"TemporaryFile(/tmp/multipartBody7262262173520014090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_59_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6cecabd361a592c6607b029810fe8f79.jpg","text":"TemporaryFile(/tmp/multipartBody7583525459711099365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_50_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc8f9049887228a38c1adcb5f484fa55.jpg","text":"TemporaryFile(/tmp/multipartBody4892120497547050861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_25_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f1cd1eab7ff2b7ce0744051611774136.jpg","text":"TemporaryFile(/tmp/multipartBody3634252668680904206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752603943172,"filename":"image_15072025_17_34_55_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222733","file1":"1372222728","file0":"1372222723","file4":"1372222753","file5":"1372222759","file3":"1372222744"},"map_files_photo_id_array":[{"photo_id":"1372222759","filename":"file5"},{"photo_id":"1372222733","filename":"file2"},{"photo_id":"1372222753","filename":"file4"},{"photo_id":"1372222728","filename":"file1"},{"photo_id":"1372222723","filename":"file0"},{"photo_id":"1372222744","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222728":["hashtag1","hashtag2"]},{"1372222733":["hashtag1","hashtag2"]},{"1372222759":["hashtag1","hashtag2"]},{"1372222744":["hashtag1","hashtag2"]},{"1372222723":["hashtag1","hashtag2"]},{"1372222753":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222728, 1372222733, 1372222759, 1372222744, 1372222723, 1372222753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.71154522895813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:25:42.604466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_07_3011.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_44_2668.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_49_2742.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_53_3697.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_56_2629.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_16_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_07_3011.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_44_2668.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_49_2742.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_53_3697.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_56_2629.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_16_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7233090400695801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:26:03.156763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_07_3011.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_44_2668.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_49_2742.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_53_3697.jpg', '/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_56_2629.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_16_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_07_3011.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_44_2668.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_49_2742.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_53_3697.jpg
/home/pi/Desktop/images/15072025/17/36/image_15072025_17_36_56_2629.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_16_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222779","1372222803","1372222793","1372222798","1372222789","1372222783"],"photo_ids_order":["1372222779","1372222783","1372222789","1372222793","1372222798","1372222803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67660960ca02bd44189e69ca3018d207.jpg","text":"TemporaryFile(/tmp/multipartBody8601614918657897584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_36_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/7/15/8c73effd71c482a88df4f33f6fb57fa4.jpg","text":"TemporaryFile(/tmp/multipartBody3056587320636640970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_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/7/15/4c8de07f45d0db0b083e7f7a79c85ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6591009974756411903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_36_53_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78616df55c3bc014ed3346deb03bcf0b.jpg","text":"TemporaryFile(/tmp/multipartBody3462967370859329874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_36_56_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/863ba210841742134168706095841d08.jpg","text":"TemporaryFile(/tmp/multipartBody6402154093482380290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_36_49_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bd350bacf1449c0ae23673668380461.jpg","text":"TemporaryFile(/tmp/multipartBody364791080175564547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604024364,"filename":"image_15072025_17_36_44_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222789","file1":"1372222783","file0":"1372222779","file4":"1372222798","file5":"1372222803","file3":"1372222793"},"map_files_photo_id_array":[{"photo_id":"1372222803","filename":"file5"},{"photo_id":"1372222789","filename":"file2"},{"photo_id":"1372222798","filename":"file4"},{"photo_id":"1372222783","filename":"file1"},{"photo_id":"1372222779","filename":"file0"},{"photo_id":"1372222793","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222779":["hashtag1","hashtag2"]},{"1372222803":["hashtag1","hashtag2"]},{"1372222793":["hashtag1","hashtag2"]},{"1372222798":["hashtag1","hashtag2"]},{"1372222789":["hashtag1","hashtag2"]},{"1372222783":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222779, 1372222803, 1372222793, 1372222798, 1372222789, 1372222783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.216509103775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:27:02.500368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_20_3768.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_23_2721.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_26_2703.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_41_2796.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_50_3637.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_53_2763.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_20_3768.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_23_2721.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_26_2703.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_41_2796.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_50_3637.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_53_2763.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8972907066345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:27:21.769890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_20_3768.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_23_2721.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_26_2703.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_41_2796.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_50_3637.jpg', '/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_53_2763.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_20_3768.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_23_2721.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_26_2703.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_41_2796.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_50_3637.jpg
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_53_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222834","1372222821","1372222850","1372222847","1372222843","1372222825"],"photo_ids_order":["1372222821","1372222825","1372222834","1372222843","1372222847","1372222850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc928296b99ab94be039580f68d1314b.jpg","text":"TemporaryFile(/tmp/multipartBody1983485416459442030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_26_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d0ec58e33d063ee4209c78634049a63c.jpg","text":"TemporaryFile(/tmp/multipartBody3841152337979375832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_20_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/564cf776b4b62c9fd30a37e7416ca4aa.jpg","text":"TemporaryFile(/tmp/multipartBody94296660372472238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_53_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1fbabd45e9bc1d3735b63025b951de56.jpg","text":"TemporaryFile(/tmp/multipartBody5529296297846784668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_50_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1ed91d3c0d29e1bde09626f3738e5ec.jpg","text":"TemporaryFile(/tmp/multipartBody512994122519353366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_41_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1db7d27c1ede0e9c627e9125ac59dd2.jpg","text":"TemporaryFile(/tmp/multipartBody624358868165714268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604102880,"filename":"image_15072025_17_37_23_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222834","file1":"1372222825","file0":"1372222821","file4":"1372222847","file5":"1372222850","file3":"1372222843"},"map_files_photo_id_array":[{"photo_id":"1372222850","filename":"file5"},{"photo_id":"1372222834","filename":"file2"},{"photo_id":"1372222847","filename":"file4"},{"photo_id":"1372222825","filename":"file1"},{"photo_id":"1372222821","filename":"file0"},{"photo_id":"1372222843","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222834":["hashtag1","hashtag2"]},{"1372222821":["hashtag1","hashtag2"]},{"1372222850":["hashtag1","hashtag2"]},{"1372222847":["hashtag1","hashtag2"]},{"1372222843":["hashtag1","hashtag2"]},{"1372222825":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222834, 1372222821, 1372222850, 1372222847, 1372222843, 1372222825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69588756561279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:28:22.080122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_55_2584.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_04_2647.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_08_3638.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_11_2719.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_20_3608.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_31_2631.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_55_2584.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_04_2647.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_08_3638.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_11_2719.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_20_3608.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_31_2631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7190370559692383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:28:42.070196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_55_2584.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_04_2647.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_08_3638.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_11_2719.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_20_3608.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_31_2631.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/37/image_15072025_17_37_55_2584.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_04_2647.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_08_3638.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_11_2719.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_20_3608.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_31_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222878","1372222893","1372222886","1372222897","1372222873","1372222903"],"photo_ids_order":["1372222873","1372222878","1372222886","1372222893","1372222897","1372222903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/53baef44d1829d9419973c3ba6de3ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3886253528073349978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_38_04_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bbe00d543de88820c48ca5e7a04c0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8821057820740790060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_38_11_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/73ee575f4271397905e630bec5795fad.jpg","text":"TemporaryFile(/tmp/multipartBody6820825894320341414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_38_08_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/782283c5ef39ea27f22cfead597ab280.jpg","text":"TemporaryFile(/tmp/multipartBody5764203215027443137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_38_20_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/156d3b42629cddf4f2a3b5b4172d1419.jpg","text":"TemporaryFile(/tmp/multipartBody1699414407340285512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_37_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/7/15/1ec469fef0bb43a76241651ab4671d12.jpg","text":"TemporaryFile(/tmp/multipartBody4294241789137515984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604183190,"filename":"image_15072025_17_38_31_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222886","file1":"1372222878","file0":"1372222873","file4":"1372222897","file5":"1372222903","file3":"1372222893"},"map_files_photo_id_array":[{"photo_id":"1372222903","filename":"file5"},{"photo_id":"1372222886","filename":"file2"},{"photo_id":"1372222897","filename":"file4"},{"photo_id":"1372222878","filename":"file1"},{"photo_id":"1372222873","filename":"file0"},{"photo_id":"1372222893","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222878":["hashtag1","hashtag2"]},{"1372222893":["hashtag1","hashtag2"]},{"1372222886":["hashtag1","hashtag2"]},{"1372222897":["hashtag1","hashtag2"]},{"1372222873":["hashtag1","hashtag2"]},{"1372222903":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222878, 1372222893, 1372222886, 1372222897, 1372222873, 1372222903)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.17373323440552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:30:02.460487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_44_3643.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_49_2625.jpg', '/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_58_2612.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_02_3618.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_05_2650.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_07_2640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_44_3643.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_49_2625.jpg
/home/pi/Desktop/images/15072025/17/38/image_15072025_17_38_58_2612.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_02_3618.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_05_2650.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_07_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222938","1372222943","1372222949","1372222934","1372222928","1372222930"],"photo_ids_order":["1372222928","1372222930","1372222934","1372222938","1372222943","1372222949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e30e4170fd495dc69171ee4927980a48.jpg","text":"TemporaryFile(/tmp/multipartBody1450220717764412229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_39_02_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86ea4b5b704f070345b3df0b1fd06833.jpg","text":"TemporaryFile(/tmp/multipartBody2105202730695024594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_39_05_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8e07e85ae5c8ea899b04df3135d77d16.jpg","text":"TemporaryFile(/tmp/multipartBody4570055250624677647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_39_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e14c3c39594a45dee5602a7a391450b.jpg","text":"TemporaryFile(/tmp/multipartBody7395570064216850571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_38_58_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e099121991bbeea8f5faa1883819c604.jpg","text":"TemporaryFile(/tmp/multipartBody904895696812631929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_38_44_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aefe8ca37a4a69da4b48ade1f6b07190.jpg","text":"TemporaryFile(/tmp/multipartBody810555956954480983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604263679,"filename":"image_15072025_17_38_49_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372222934","file1":"1372222930","file0":"1372222928","file4":"1372222943","file5":"1372222949","file3":"1372222938"},"map_files_photo_id_array":[{"photo_id":"1372222949","filename":"file5"},{"photo_id":"1372222934","filename":"file2"},{"photo_id":"1372222943","filename":"file4"},{"photo_id":"1372222930","filename":"file1"},{"photo_id":"1372222928","filename":"file0"},{"photo_id":"1372222938","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222938":["hashtag1","hashtag2"]},{"1372222943":["hashtag1","hashtag2"]},{"1372222949":["hashtag1","hashtag2"]},{"1372222934":["hashtag1","hashtag2"]},{"1372222928":["hashtag1","hashtag2"]},{"1372222930":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222938, 1372222943, 1372222949, 1372222934, 1372222928, 1372222930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64677309989929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:31:03.136758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_11_3435.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_28_3062.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_32_3663.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_59_2647.jpg', '/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_12_3805.jpg', '/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_26_2744.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_11_3435.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_28_3062.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_32_3663.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_59_2647.jpg
/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_12_3805.jpg
/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_26_2744.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8165514469146729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:31:22.233424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_11_3435.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_28_3062.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_32_3663.jpg', '/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_59_2647.jpg', '/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_12_3805.jpg', '/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_26_2744.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_11_3435.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_28_3062.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_32_3663.jpg
/home/pi/Desktop/images/15072025/17/39/image_15072025_17_39_59_2647.jpg
/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_12_3805.jpg
/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_26_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372222994","1372223000","1372223017","1372223011","1372223005","1372223014"],"photo_ids_order":["1372222994","1372223000","1372223005","1372223011","1372223014","1372223017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/50631e782363a4269898344224e0165c.jpg","text":"TemporaryFile(/tmp/multipartBody4787704615907301706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_39_11_3435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e3bd13e4aa956da413c5651c32e634a.jpg","text":"TemporaryFile(/tmp/multipartBody4595199405692189780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_39_28_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/624c8f529d042998d2d6e1ca1393e221.jpg","text":"TemporaryFile(/tmp/multipartBody3359603770224036477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_40_26_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2b830698d4ed666a3389bcd9c172da7.jpg","text":"TemporaryFile(/tmp/multipartBody8020775257514292096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_39_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/7/15/b9f381b085aa312744d635b309153267.jpg","text":"TemporaryFile(/tmp/multipartBody5441517934179471665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_39_32_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f93deaeae43dff724aafa8902f2508e.jpg","text":"TemporaryFile(/tmp/multipartBody112824475213881869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604343332,"filename":"image_15072025_17_40_12_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223005","file1":"1372223000","file0":"1372222994","file4":"1372223014","file5":"1372223017","file3":"1372223011"},"map_files_photo_id_array":[{"photo_id":"1372223017","filename":"file5"},{"photo_id":"1372223005","filename":"file2"},{"photo_id":"1372223014","filename":"file4"},{"photo_id":"1372223000","filename":"file1"},{"photo_id":"1372222994","filename":"file0"},{"photo_id":"1372223011","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372222994":["hashtag1","hashtag2"]},{"1372223000":["hashtag1","hashtag2"]},{"1372223017":["hashtag1","hashtag2"]},{"1372223011":["hashtag1","hashtag2"]},{"1372223005":["hashtag1","hashtag2"]},{"1372223014":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372222994, 1372223000, 1372223017, 1372223011, 1372223005, 1372223014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15203547477722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:32:22.455124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_53_2698.jpg', '/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_47_2703.jpg', '/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_56_2716.jpg', '/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_59_2629.jpg', '/home/pi/Desktop/images/15072025/17/42/image_15072025_17_42_26_2671.jpg', '/home/pi/Desktop/images/15072025/17/42/image_15072025_17_42_38_3517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/40/image_15072025_17_40_53_2698.jpg
/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_47_2703.jpg
/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_56_2716.jpg
/home/pi/Desktop/images/15072025/17/41/image_15072025_17_41_59_2629.jpg
/home/pi/Desktop/images/15072025/17/42/image_15072025_17_42_26_2671.jpg
/home/pi/Desktop/images/15072025/17/42/image_15072025_17_42_38_3517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223031","1372223042","1372223051","1372223045","1372223035","1372223038"],"photo_ids_order":["1372223031","1372223035","1372223038","1372223042","1372223045","1372223051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d1e9fe1cb8305d0776256d14a00e20c.jpg","text":"TemporaryFile(/tmp/multipartBody8792499320330054430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_40_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/7/15/c6284036bafbf123fe662609cb3df8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4655633163484354291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_41_59_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52d2e1ba9e2b238219fe8b46a91b42f1.jpg","text":"TemporaryFile(/tmp/multipartBody2859709425546949671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_42_38_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/182e88bb401681b4350e4cc0fa8a101d.jpg","text":"TemporaryFile(/tmp/multipartBody7909917732802402410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_42_26_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6818c648f6127ebd7fc79b4f3e38959d.jpg","text":"TemporaryFile(/tmp/multipartBody4411111656445477132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_41_47_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00882417745e23dbefde7ba4784dae99.jpg","text":"TemporaryFile(/tmp/multipartBody2018856082179362919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604403573,"filename":"image_15072025_17_41_56_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223038","file1":"1372223035","file0":"1372223031","file4":"1372223045","file5":"1372223051","file3":"1372223042"},"map_files_photo_id_array":[{"photo_id":"1372223051","filename":"file5"},{"photo_id":"1372223038","filename":"file2"},{"photo_id":"1372223045","filename":"file4"},{"photo_id":"1372223035","filename":"file1"},{"photo_id":"1372223031","filename":"file0"},{"photo_id":"1372223042","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223031":["hashtag1","hashtag2"]},{"1372223042":["hashtag1","hashtag2"]},{"1372223051":["hashtag1","hashtag2"]},{"1372223045":["hashtag1","hashtag2"]},{"1372223035":["hashtag1","hashtag2"]},{"1372223038":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223031, 1372223042, 1372223051, 1372223045, 1372223035, 1372223038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.712321281433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:33:21.776047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/43/image_15072025_17_43_41_2602.jpg', '/home/pi/Desktop/images/15072025/17/43/image_15072025_17_43_47_3680.jpg', '/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_02_3661.jpg', '/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_05_2611.jpg', '/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_08_2762.jpg', '/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_26_2624.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/43/image_15072025_17_43_41_2602.jpg
/home/pi/Desktop/images/15072025/17/43/image_15072025_17_43_47_3680.jpg
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_02_3661.jpg
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_05_2611.jpg
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_08_2762.jpg
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_26_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223079","1372223075","1372223069","1372223078","1372223065","1372223080"],"photo_ids_order":["1372223065","1372223069","1372223075","1372223078","1372223079","1372223080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b4138a0bf9253bca8f8f08ab6ca8fda.jpg","text":"TemporaryFile(/tmp/multipartBody7931043906013402294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_44_08_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/841940ef4f7314ee9f96af9e4cd2d039.jpg","text":"TemporaryFile(/tmp/multipartBody7937330908726759264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_44_02_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7ee9cefa3e51a0b8edfcdb9d5a2f5ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7066914959116425669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_43_47_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/367fda25bd6c36ebeea974074336e52c.jpg","text":"TemporaryFile(/tmp/multipartBody8963814593209889835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_44_05_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e0e0c79584893717bbf7a40f720cb97.jpg","text":"TemporaryFile(/tmp/multipartBody6584952314001306986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_43_41_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ec759494d844fc56799a8fb42ea36452.jpg","text":"TemporaryFile(/tmp/multipartBody320256516587281254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604462897,"filename":"image_15072025_17_44_26_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223075","file1":"1372223069","file0":"1372223065","file4":"1372223079","file5":"1372223080","file3":"1372223078"},"map_files_photo_id_array":[{"photo_id":"1372223080","filename":"file5"},{"photo_id":"1372223075","filename":"file2"},{"photo_id":"1372223079","filename":"file4"},{"photo_id":"1372223069","filename":"file1"},{"photo_id":"1372223065","filename":"file0"},{"photo_id":"1372223078","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223079":["hashtag1","hashtag2"]},{"1372223075":["hashtag1","hashtag2"]},{"1372223069":["hashtag1","hashtag2"]},{"1372223078":["hashtag1","hashtag2"]},{"1372223065":["hashtag1","hashtag2"]},{"1372223080":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223079, 1372223075, 1372223069, 1372223078, 1372223065, 1372223080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48578214645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:34:22.691069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_44_2752.jpg', '/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_59_3682.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_07_3010.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_11_3586.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_20_3667.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_31_2699.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_44_2752.jpg
/home/pi/Desktop/images/15072025/17/44/image_15072025_17_44_59_3682.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_07_3010.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_11_3586.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_20_3667.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_31_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223099","1372223093","1372223117","1372223114","1372223104","1372223107"],"photo_ids_order":["1372223093","1372223099","1372223104","1372223107","1372223114","1372223117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bca8c2f1442fd549e337be60190986d1.jpg","text":"TemporaryFile(/tmp/multipartBody6374907654085156312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_44_59_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9499fca619f69ad5318d8f9620e13b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1348976304150130837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_44_44_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e3792bfa3593072406552a9c04410e7.jpg","text":"TemporaryFile(/tmp/multipartBody5051852902435761390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_46_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8ce3386d6d0ac317a5c92fcfefb28ba.jpg","text":"TemporaryFile(/tmp/multipartBody8613961488559978381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_46_20_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1d9002d75bae06f151a919a2c9e8cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1453163015624370051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_46_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/7/15/a4faaa26e2d0207ef05673965e4a8471.jpg","text":"TemporaryFile(/tmp/multipartBody2364268480441532222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604523798,"filename":"image_15072025_17_46_11_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223104","file1":"1372223099","file0":"1372223093","file4":"1372223114","file5":"1372223117","file3":"1372223107"},"map_files_photo_id_array":[{"photo_id":"1372223117","filename":"file5"},{"photo_id":"1372223104","filename":"file2"},{"photo_id":"1372223114","filename":"file4"},{"photo_id":"1372223099","filename":"file1"},{"photo_id":"1372223093","filename":"file0"},{"photo_id":"1372223107","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223099":["hashtag1","hashtag2"]},{"1372223093":["hashtag1","hashtag2"]},{"1372223117":["hashtag1","hashtag2"]},{"1372223114":["hashtag1","hashtag2"]},{"1372223104":["hashtag1","hashtag2"]},{"1372223107":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223099, 1372223093, 1372223117, 1372223114, 1372223104, 1372223107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27056074142456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:35:22.179927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_40_2630.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_47_2656.jpg', '/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_58_2770.jpg', '/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_05_3739.jpg', '/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_17_2866.jpg', '/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_35_3758.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_40_2630.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_47_2656.jpg
/home/pi/Desktop/images/15072025/17/46/image_15072025_17_46_58_2770.jpg
/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_05_3739.jpg
/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_17_2866.jpg
/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_35_3758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223127","1372223138","1372223146","1372223149","1372223134","1372223143"],"photo_ids_order":["1372223127","1372223134","1372223138","1372223143","1372223146","1372223149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8036e17b4a7f9c9e83c44e2d4e6efb9d.jpg","text":"TemporaryFile(/tmp/multipartBody4920319388482369429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_46_40_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/446f963625a076310a0bca29e56041a7.jpg","text":"TemporaryFile(/tmp/multipartBody8008779439043333086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_46_58_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/190c99943516f53c6c04b1cef2724822.jpg","text":"TemporaryFile(/tmp/multipartBody5046531887633210098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_47_17_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/95006c78ec7277e8e41315c9f21f9d52.jpg","text":"TemporaryFile(/tmp/multipartBody5709752953845480720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_47_35_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9f5bdd13835999ea32a6f89bfcc90a76.jpg","text":"TemporaryFile(/tmp/multipartBody1358179189761099354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_46_47_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/73a5ac0f765ab828a2423d0695d05738.jpg","text":"TemporaryFile(/tmp/multipartBody4333428642092057126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604583307,"filename":"image_15072025_17_47_05_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223138","file1":"1372223134","file0":"1372223127","file4":"1372223146","file5":"1372223149","file3":"1372223143"},"map_files_photo_id_array":[{"photo_id":"1372223149","filename":"file5"},{"photo_id":"1372223138","filename":"file2"},{"photo_id":"1372223146","filename":"file4"},{"photo_id":"1372223134","filename":"file1"},{"photo_id":"1372223127","filename":"file0"},{"photo_id":"1372223143","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223127":["hashtag1","hashtag2"]},{"1372223138":["hashtag1","hashtag2"]},{"1372223146":["hashtag1","hashtag2"]},{"1372223149":["hashtag1","hashtag2"]},{"1372223134":["hashtag1","hashtag2"]},{"1372223143":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223127, 1372223138, 1372223146, 1372223149, 1372223134, 1372223143)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.37393140792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:36:41.988631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_49_2666.jpg', '/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_58_2769.jpg', '/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_04_2604.jpg', '/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_17_3657.jpg', '/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_22_2701.jpg', '/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_44_3573.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_49_2666.jpg
/home/pi/Desktop/images/15072025/17/47/image_15072025_17_47_58_2769.jpg
/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_04_2604.jpg
/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_17_3657.jpg
/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_22_2701.jpg
/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_44_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223220","1372223214","1372223225","1372223204","1372223194","1372223230"],"photo_ids_order":["1372223194","1372223204","1372223214","1372223220","1372223225","1372223230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02373e0b860376c78c5c1125cbee62e8.jpg","text":"TemporaryFile(/tmp/multipartBody8231483173904036991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_48_17_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4312c4401762b71ecdf4c10f33a04a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5798419042765648897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_48_04_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/51f858d56188751cfcc8f59240ea43d2.jpg","text":"TemporaryFile(/tmp/multipartBody8708300613408849952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_48_22_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ccd777302e4a417be5156e2ec1f2999e.jpg","text":"TemporaryFile(/tmp/multipartBody8067315387371060309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_47_58_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/745b7cb2ed08d0bcb4ae7e0f2cdc8dff.jpg","text":"TemporaryFile(/tmp/multipartBody7849348829431894396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_47_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b680a10e761523d9d224b12cbcdf342.jpg","text":"TemporaryFile(/tmp/multipartBody4656440516539473069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604663145,"filename":"image_15072025_17_48_44_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223214","file1":"1372223204","file0":"1372223194","file4":"1372223225","file5":"1372223230","file3":"1372223220"},"map_files_photo_id_array":[{"photo_id":"1372223230","filename":"file5"},{"photo_id":"1372223214","filename":"file2"},{"photo_id":"1372223225","filename":"file4"},{"photo_id":"1372223204","filename":"file1"},{"photo_id":"1372223194","filename":"file0"},{"photo_id":"1372223220","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223220":["hashtag1","hashtag2"]},{"1372223214":["hashtag1","hashtag2"]},{"1372223225":["hashtag1","hashtag2"]},{"1372223204":["hashtag1","hashtag2"]},{"1372223194":["hashtag1","hashtag2"]},{"1372223230":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223220, 1372223214, 1372223225, 1372223204, 1372223194, 1372223230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.06714725494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:37:46.096324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_58_2649.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_19_2562.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_25_2750.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_28_2724.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_34_3641.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_37_2811.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/48/image_15072025_17_48_58_2649.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_19_2562.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_25_2750.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_28_2724.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_34_3641.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_37_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223246","1372223261","1372223240","1372223237","1372223266","1372223254"],"photo_ids_order":["1372223237","1372223240","1372223246","1372223254","1372223261","1372223266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c89a78726dc5a731cc84de39e073cd36.jpg","text":"TemporaryFile(/tmp/multipartBody3645160430430171203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_49_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/7/15/2de41bc16eb171a835ce9c975a336d24.jpg","text":"TemporaryFile(/tmp/multipartBody5618950846526595888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_49_34_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4bf4731c8deeff718a0b31b0bbab8de4.jpg","text":"TemporaryFile(/tmp/multipartBody4661946841401486252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_49_19_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aef11d3ff641f3c9e458f30b1e37be33.jpg","text":"TemporaryFile(/tmp/multipartBody257162364532749823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_48_58_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe1ce756023491fa4492b87c9cb5e923.jpg","text":"TemporaryFile(/tmp/multipartBody1778015652958312013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_49_37_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0bf329af7c1b56f146922c97bffd2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1054319085928135408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604727254,"filename":"image_15072025_17_49_28_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223246","file1":"1372223240","file0":"1372223237","file4":"1372223261","file5":"1372223266","file3":"1372223254"},"map_files_photo_id_array":[{"photo_id":"1372223266","filename":"file5"},{"photo_id":"1372223246","filename":"file2"},{"photo_id":"1372223261","filename":"file4"},{"photo_id":"1372223240","filename":"file1"},{"photo_id":"1372223237","filename":"file0"},{"photo_id":"1372223254","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223246":["hashtag1","hashtag2"]},{"1372223261":["hashtag1","hashtag2"]},{"1372223240":["hashtag1","hashtag2"]},{"1372223237":["hashtag1","hashtag2"]},{"1372223266":["hashtag1","hashtag2"]},{"1372223254":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223246, 1372223261, 1372223240, 1372223237, 1372223266, 1372223254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.272825717926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:38:42.497158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_40_2624.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_43_2862.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_55_2628.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_20_2656.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_32_2660.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_35_2640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_40_2624.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_43_2862.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_55_2628.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_20_2656.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_32_2660.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_35_2640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7003989219665527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:39:03.098295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_40_2624.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_43_2862.jpg', '/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_55_2628.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_20_2656.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_32_2660.jpg', '/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_35_2640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_40_2624.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_43_2862.jpg
/home/pi/Desktop/images/15072025/17/49/image_15072025_17_49_55_2628.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_20_2656.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_32_2660.jpg
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_35_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223361","1372223340","1372223346","1372223334","1372223351","1372223327"],"photo_ids_order":["1372223327","1372223334","1372223340","1372223346","1372223351","1372223361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f160aa75b7f1b1c3ec6387a4f8034564.jpg","text":"TemporaryFile(/tmp/multipartBody7484268275056544742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_50_35_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ecff81b2c09bd37740de7287dab60c01.jpg","text":"TemporaryFile(/tmp/multipartBody5267500561794548312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_49_55_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b56d71f5a94f35892c6881775de64561.jpg","text":"TemporaryFile(/tmp/multipartBody4617007203534943468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_50_20_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb0c7a3f502c3a7dc1f9a47d26dbe412.jpg","text":"TemporaryFile(/tmp/multipartBody885813999270686624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_49_43_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f888431b2b2a7e8b3c9173e45b8e2eeb.jpg","text":"TemporaryFile(/tmp/multipartBody9033513614622623412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_50_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/7/15/18e1496dd3190955af06ca2d69fb9b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6111145643103332915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604804560,"filename":"image_15072025_17_49_40_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223340","file1":"1372223334","file0":"1372223327","file4":"1372223351","file5":"1372223361","file3":"1372223346"},"map_files_photo_id_array":[{"photo_id":"1372223361","filename":"file5"},{"photo_id":"1372223340","filename":"file2"},{"photo_id":"1372223351","filename":"file4"},{"photo_id":"1372223334","filename":"file1"},{"photo_id":"1372223327","filename":"file0"},{"photo_id":"1372223346","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223361":["hashtag1","hashtag2"]},{"1372223340":["hashtag1","hashtag2"]},{"1372223346":["hashtag1","hashtag2"]},{"1372223334":["hashtag1","hashtag2"]},{"1372223351":["hashtag1","hashtag2"]},{"1372223327":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223361, 1372223340, 1372223346, 1372223334, 1372223351, 1372223327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3354389667511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:40:03.098206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_38_3606.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_03_3743.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_05_2825.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_14_3661.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_17_2587.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_35_2687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_38_3606.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_03_3743.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_05_2825.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_14_3661.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_17_2587.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_35_2687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.2132112979888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:40:22.667197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_38_3606.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_03_3743.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_05_2825.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_14_3661.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_17_2587.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_35_2687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/50/image_15072025_17_50_38_3606.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_03_3743.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_05_2825.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_14_3661.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_17_2587.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_35_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223376","1372223396","1372223390","1372223387","1372223402","1372223383"],"photo_ids_order":["1372223376","1372223383","1372223387","1372223390","1372223396","1372223402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7609d869076ee47bd0bcd2079b3cf488.jpg","text":"TemporaryFile(/tmp/multipartBody848956541536234611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_50_38_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84142d53862017122ddf247ad140eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody1075498210771361974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_51_17_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6f004860b7e20e04ff18a969368354e.jpg","text":"TemporaryFile(/tmp/multipartBody308608151796419385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_51_14_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe9edb3d039d816a29c790b373acbba9.jpg","text":"TemporaryFile(/tmp/multipartBody2060783255144231968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_51_05_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9277153d8216fea233fe5d406bf2eacc.jpg","text":"TemporaryFile(/tmp/multipartBody6649835882156942653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_51_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/7/15/7387ff13ed779f49a7f88b70563ec976.jpg","text":"TemporaryFile(/tmp/multipartBody4890889081620578874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604883799,"filename":"image_15072025_17_51_03_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223387","file1":"1372223383","file0":"1372223376","file4":"1372223396","file5":"1372223402","file3":"1372223390"},"map_files_photo_id_array":[{"photo_id":"1372223402","filename":"file5"},{"photo_id":"1372223387","filename":"file2"},{"photo_id":"1372223396","filename":"file4"},{"photo_id":"1372223383","filename":"file1"},{"photo_id":"1372223376","filename":"file0"},{"photo_id":"1372223390","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223376":["hashtag1","hashtag2"]},{"1372223396":["hashtag1","hashtag2"]},{"1372223390":["hashtag1","hashtag2"]},{"1372223387":["hashtag1","hashtag2"]},{"1372223402":["hashtag1","hashtag2"]},{"1372223383":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223376, 1372223396, 1372223390, 1372223387, 1372223402, 1372223383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.245161056518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:41:21.869654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_44_2552.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_53_2640.jpg', '/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_59_3709.jpg', '/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_11_2683.jpg', '/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_23_2740.jpg', '/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_50_2679.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_44_2552.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_53_2640.jpg
/home/pi/Desktop/images/15072025/17/51/image_15072025_17_51_59_3709.jpg
/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_11_2683.jpg
/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_23_2740.jpg
/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_50_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":["1372223418","1372223426","1372223435","1372223414","1372223443","1372223440"],"photo_ids_order":["1372223414","1372223418","1372223426","1372223435","1372223440","1372223443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c94a80dff34bb603d84e494ecc898c7.jpg","text":"TemporaryFile(/tmp/multipartBody889558590774160356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_51_53_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22bfd00e8618e5a13cf662dff08cbe3c.jpg","text":"TemporaryFile(/tmp/multipartBody5279873193336651508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_51_59_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b62d86ddc39d437f6796082079fd5303.jpg","text":"TemporaryFile(/tmp/multipartBody4682249676481700871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_52_11_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdc949dd4a9ed527e593c8775f8f8fab.jpg","text":"TemporaryFile(/tmp/multipartBody2492339869574802788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_51_44_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ecfe81f968d6e7e2c589ef637658d349.jpg","text":"TemporaryFile(/tmp/multipartBody6818216906947795849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_52_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/7/15/f806d765b57459c1b5f8450211389fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7291830337772604893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752604942994,"filename":"image_15072025_17_52_23_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223426","file1":"1372223418","file0":"1372223414","file4":"1372223440","file5":"1372223443","file3":"1372223435"},"map_files_photo_id_array":[{"photo_id":"1372223443","filename":"file5"},{"photo_id":"1372223426","filename":"file2"},{"photo_id":"1372223440","filename":"file4"},{"photo_id":"1372223418","filename":"file1"},{"photo_id":"1372223414","filename":"file0"},{"photo_id":"1372223435","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223418":["hashtag1","hashtag2"]},{"1372223426":["hashtag1","hashtag2"]},{"1372223435":["hashtag1","hashtag2"]},{"1372223414":["hashtag1","hashtag2"]},{"1372223443":["hashtag1","hashtag2"]},{"1372223440":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223418, 1372223426, 1372223435, 1372223414, 1372223443, 1372223440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.544151067733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:42:22.783459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_59_2884.jpg', '/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_14_2746.jpg', '/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_56_2738.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_02_3560.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_05_2804.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_14_2611.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_59_2884.jpg
/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_14_2746.jpg
/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_56_2738.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_02_3560.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_05_2804.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_14_2611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7106623649597168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:42:42.737434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_59_2884.jpg', '/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_14_2746.jpg', '/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_56_2738.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_02_3560.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_05_2804.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_14_2611.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/52/image_15072025_17_52_59_2884.jpg
/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_14_2746.jpg
/home/pi/Desktop/images/15072025/17/53/image_15072025_17_53_56_2738.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_02_3560.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_05_2804.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_14_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223469","1372223489","1372223462","1372223479","1372223496","1372223493"],"photo_ids_order":["1372223462","1372223469","1372223479","1372223489","1372223493","1372223496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfbca8a4ecce267339544ebe01a7171a.jpg","text":"TemporaryFile(/tmp/multipartBody4653472404661431572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_53_14_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ba3c5430827626a0577b70da26e463c3.jpg","text":"TemporaryFile(/tmp/multipartBody6230985157144954508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_54_02_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6bfd377d9c3b61ec2e1504bf9d78421b.jpg","text":"TemporaryFile(/tmp/multipartBody855743853073428929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_52_59_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e34af4608f8123f94ab2d1ff1a27ca1c.jpg","text":"TemporaryFile(/tmp/multipartBody6523027515073622803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_53_56_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc4d219cf877bb0606d835e1108bc045.jpg","text":"TemporaryFile(/tmp/multipartBody8922745419784670968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_54_14_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/123b7169414ddffb8ef885e1668570df.jpg","text":"TemporaryFile(/tmp/multipartBody5963973438311372896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605023863,"filename":"image_15072025_17_54_05_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223479","file1":"1372223469","file0":"1372223462","file4":"1372223493","file5":"1372223496","file3":"1372223489"},"map_files_photo_id_array":[{"photo_id":"1372223496","filename":"file5"},{"photo_id":"1372223479","filename":"file2"},{"photo_id":"1372223493","filename":"file4"},{"photo_id":"1372223469","filename":"file1"},{"photo_id":"1372223462","filename":"file0"},{"photo_id":"1372223489","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223469":["hashtag1","hashtag2"]},{"1372223489":["hashtag1","hashtag2"]},{"1372223462":["hashtag1","hashtag2"]},{"1372223479":["hashtag1","hashtag2"]},{"1372223496":["hashtag1","hashtag2"]},{"1372223493":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223469, 1372223489, 1372223462, 1372223479, 1372223496, 1372223493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.2650306224823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 20:43:42.676935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_38_2811.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_56_2809.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_07_3011.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_19_2739.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_46_2674.jpg', '/home/pi/Desktop/images/15072025/17/57/image_15072025_17_57_19_3712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_38_2811.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_56_2809.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_07_3011.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_19_2739.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_46_2674.jpg
/home/pi/Desktop/images/15072025/17/57/image_15072025_17_57_19_3712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.763930082321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:44:03.348731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_38_2811.jpg', '/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_56_2809.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_07_3011.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_19_2739.jpg', '/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_46_2674.jpg', '/home/pi/Desktop/images/15072025/17/57/image_15072025_17_57_19_3712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_38_2811.jpg
/home/pi/Desktop/images/15072025/17/54/image_15072025_17_54_56_2809.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_07_3011.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_19_2739.jpg
/home/pi/Desktop/images/15072025/17/56/image_15072025_17_56_46_2674.jpg
/home/pi/Desktop/images/15072025/17/57/image_15072025_17_57_19_3712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223538","1372223517","1372223522","1372223545","1372223533","1372223527"],"photo_ids_order":["1372223517","1372223522","1372223527","1372223533","1372223538","1372223545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7ef72f0ffe502308be799008da66ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody8361280724446728363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_56_46_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4af1757ecdfaf99624e6b7493621f057.jpg","text":"TemporaryFile(/tmp/multipartBody9094503990643146047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_54_38_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cbacc7949a8d4b71d775ab73f5713c79.jpg","text":"TemporaryFile(/tmp/multipartBody3663957534919167972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_54_56_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2fbe5fac8d9f3a0b288302c24c3fe9d3.jpg","text":"TemporaryFile(/tmp/multipartBody3381272972183193998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_57_19_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9187ac5648f38dbcf06428aa5f9787b6.jpg","text":"TemporaryFile(/tmp/multipartBody7297125557735535680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_56_19_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09f6061c268a4de96c4852576775adb6.jpg","text":"TemporaryFile(/tmp/multipartBody2640036897781477241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605104607,"filename":"image_15072025_17_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223527","file1":"1372223522","file0":"1372223517","file4":"1372223538","file5":"1372223545","file3":"1372223533"},"map_files_photo_id_array":[{"photo_id":"1372223545","filename":"file5"},{"photo_id":"1372223527","filename":"file2"},{"photo_id":"1372223538","filename":"file4"},{"photo_id":"1372223522","filename":"file1"},{"photo_id":"1372223517","filename":"file0"},{"photo_id":"1372223533","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223538":["hashtag1","hashtag2"]},{"1372223517":["hashtag1","hashtag2"]},{"1372223522":["hashtag1","hashtag2"]},{"1372223545":["hashtag1","hashtag2"]},{"1372223533":["hashtag1","hashtag2"]},{"1372223527":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223538, 1372223517, 1372223522, 1372223545, 1372223533, 1372223527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.290053367614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:45:03.292387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_19_3037.jpg', '/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_22_2598.jpg', '/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_31_2796.jpg', '/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_58_2749.jpg', '/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_10_2712.jpg', '/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_15_2737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_19_3037.jpg
/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_22_2598.jpg
/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_31_2796.jpg
/home/pi/Desktop/images/15072025/17/58/image_15072025_17_58_58_2749.jpg
/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_10_2712.jpg
/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_15_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223562","1372223585","1372223599","1372223593","1372223569","1372223605"],"photo_ids_order":["1372223562","1372223569","1372223585","1372223593","1372223599","1372223605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9e16c164c653aed8c748fb43fb789f1.jpg","text":"TemporaryFile(/tmp/multipartBody3811843848037725873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_58_19_3037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e852bedb620897804d555b199980d87e.jpg","text":"TemporaryFile(/tmp/multipartBody2009972438176256800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_58_31_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad9aba885087e045991c37b318294961.jpg","text":"TemporaryFile(/tmp/multipartBody4384124449318286294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_59_10_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a55ef69059ca66ac2315d1e9ef562537.jpg","text":"TemporaryFile(/tmp/multipartBody4114333090574391956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_58_58_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eacaf3bad65a6406f44b1182a98fa9d1.jpg","text":"TemporaryFile(/tmp/multipartBody888583011364092000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_58_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c9295c21ffe0e65b6a8435820128328c.jpg","text":"TemporaryFile(/tmp/multipartBody9089743791225897639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605164590,"filename":"image_15072025_17_59_15_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223585","file1":"1372223569","file0":"1372223562","file4":"1372223599","file5":"1372223605","file3":"1372223593"},"map_files_photo_id_array":[{"photo_id":"1372223605","filename":"file5"},{"photo_id":"1372223585","filename":"file2"},{"photo_id":"1372223599","filename":"file4"},{"photo_id":"1372223569","filename":"file1"},{"photo_id":"1372223562","filename":"file0"},{"photo_id":"1372223593","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223562":["hashtag1","hashtag2"]},{"1372223585":["hashtag1","hashtag2"]},{"1372223599":["hashtag1","hashtag2"]},{"1372223593":["hashtag1","hashtag2"]},{"1372223569":["hashtag1","hashtag2"]},{"1372223605":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223562, 1372223585, 1372223599, 1372223593, 1372223569, 1372223605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54184365272522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:46:03.066822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_49_2708.jpg', '/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_55_3675.jpg', '/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_07_3011.jpg', '/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_46_3647.jpg', '/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_49_2841.jpg', '/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_56_3743.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_49_2708.jpg
/home/pi/Desktop/images/15072025/17/59/image_15072025_17_59_55_3675.jpg
/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_07_3011.jpg
/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_46_3647.jpg
/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_49_2841.jpg
/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_56_3743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223625","1372223642","1372223651","1372223630","1372223636","1372223647"],"photo_ids_order":["1372223625","1372223630","1372223636","1372223642","1372223647","1372223651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/88f71c4a2eaeff202d0827febe04226d.jpg","text":"TemporaryFile(/tmp/multipartBody851900643841452741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_17_59_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/7/15/71d48cec65c678e8fd19ebb2e48a2c9a.jpg","text":"TemporaryFile(/tmp/multipartBody8964665875058442052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_18_01_46_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84fd00f33165a4a9840538e04408c02c.jpg","text":"TemporaryFile(/tmp/multipartBody3699513852014316457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_18_01_56_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26f79d944ab0bedd1c923177496b5920.jpg","text":"TemporaryFile(/tmp/multipartBody8609983923239373141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_17_59_55_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b89b5acf61706f38ddec1f471ea63af4.jpg","text":"TemporaryFile(/tmp/multipartBody2903268076986929700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_18_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/7/15/bc5184732bed2c40f4d3f3913c20af27.jpg","text":"TemporaryFile(/tmp/multipartBody9078890431942436429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605224272,"filename":"image_15072025_18_01_49_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223636","file1":"1372223630","file0":"1372223625","file4":"1372223647","file5":"1372223651","file3":"1372223642"},"map_files_photo_id_array":[{"photo_id":"1372223651","filename":"file5"},{"photo_id":"1372223636","filename":"file2"},{"photo_id":"1372223647","filename":"file4"},{"photo_id":"1372223630","filename":"file1"},{"photo_id":"1372223625","filename":"file0"},{"photo_id":"1372223642","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223625":["hashtag1","hashtag2"]},{"1372223642":["hashtag1","hashtag2"]},{"1372223651":["hashtag1","hashtag2"]},{"1372223630":["hashtag1","hashtag2"]},{"1372223636":["hashtag1","hashtag2"]},{"1372223647":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223625, 1372223642, 1372223651, 1372223630, 1372223636, 1372223647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76280474662781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:47:03.140653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_58_2893.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_01_2635.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_04_2643.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_07_3558.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_10_2674.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_13_2753.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/01/image_15072025_18_01_58_2893.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_01_2635.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_04_2643.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_07_3558.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_10_2674.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_13_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223688","1372223702","1372223692","1372223665","1372223677","1372223682"],"photo_ids_order":["1372223665","1372223677","1372223682","1372223688","1372223692","1372223702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86a31b94fd305ceb0e6d1c3fa91d7e94.jpg","text":"TemporaryFile(/tmp/multipartBody6407687686034398597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_02_07_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aaa3c2bff48802962fa94949e4faa4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3433818508466294605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_02_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/7/15/bd9023457c224feccb4694d6c6c02091.jpg","text":"TemporaryFile(/tmp/multipartBody3135321668028545677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_02_10_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/af2f14d15bd1ce1062cd18d00f4147ba.jpg","text":"TemporaryFile(/tmp/multipartBody2787047660027252052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_01_58_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4b8eff319681f50c1efedf27b8ebf58.jpg","text":"TemporaryFile(/tmp/multipartBody7744290394160028696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_02_01_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/099eb743702ae0130f8985c9e57d71c4.jpg","text":"TemporaryFile(/tmp/multipartBody7764050848323889747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605284392,"filename":"image_15072025_18_02_04_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223682","file1":"1372223677","file0":"1372223665","file4":"1372223692","file5":"1372223702","file3":"1372223688"},"map_files_photo_id_array":[{"photo_id":"1372223702","filename":"file5"},{"photo_id":"1372223682","filename":"file2"},{"photo_id":"1372223692","filename":"file4"},{"photo_id":"1372223677","filename":"file1"},{"photo_id":"1372223665","filename":"file0"},{"photo_id":"1372223688","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223688":["hashtag1","hashtag2"]},{"1372223702":["hashtag1","hashtag2"]},{"1372223692":["hashtag1","hashtag2"]},{"1372223665":["hashtag1","hashtag2"]},{"1372223677":["hashtag1","hashtag2"]},{"1372223682":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223688, 1372223702, 1372223692, 1372223665, 1372223677, 1372223682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.83415365219116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:48:02.799808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_16_3573.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_19_2621.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_22_3575.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_25_2635.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_28_2596.jpg', '/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_40_3785.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_16_3573.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_19_2621.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_22_3575.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_25_2635.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_28_2596.jpg
/home/pi/Desktop/images/15072025/18/02/image_15072025_18_02_40_3785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223721","1372223715","1372223718","1372223729","1372223734","1372223737"],"photo_ids_order":["1372223715","1372223718","1372223721","1372223729","1372223734","1372223737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9834fe0c75e9d52ff3ad91ee1b369475.jpg","text":"TemporaryFile(/tmp/multipartBody6834325444995577230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_22_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/100328fc9248ece51b6912d930e79d08.jpg","text":"TemporaryFile(/tmp/multipartBody8473648488760004294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_16_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0628809f4528227be318c165a603e462.jpg","text":"TemporaryFile(/tmp/multipartBody9029808032305066243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_19_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/891189bc731de5bb376b693d0f004eb3.jpg","text":"TemporaryFile(/tmp/multipartBody4334644247951747792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_25_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/16b30dbfdf71d70fcec741bb8a3e9e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6550537267179021726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_28_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d874a45a23c8064343776e1e1542d00d.jpg","text":"TemporaryFile(/tmp/multipartBody678854860674361212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605343994,"filename":"image_15072025_18_02_40_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223721","file1":"1372223718","file0":"1372223715","file4":"1372223734","file5":"1372223737","file3":"1372223729"},"map_files_photo_id_array":[{"photo_id":"1372223737","filename":"file5"},{"photo_id":"1372223721","filename":"file2"},{"photo_id":"1372223734","filename":"file4"},{"photo_id":"1372223718","filename":"file1"},{"photo_id":"1372223715","filename":"file0"},{"photo_id":"1372223729","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223721":["hashtag1","hashtag2"]},{"1372223715":["hashtag1","hashtag2"]},{"1372223718":["hashtag1","hashtag2"]},{"1372223729":["hashtag1","hashtag2"]},{"1372223734":["hashtag1","hashtag2"]},{"1372223737":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223721, 1372223715, 1372223718, 1372223729, 1372223734, 1372223737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.51093077659607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:49:03.188927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_01_2667.jpg', '/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_34_3638.jpg', '/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_43_3696.jpg', '/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_25_2534.jpg', '/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_31_3638.jpg', '/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_46_2720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_01_2667.jpg
/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_34_3638.jpg
/home/pi/Desktop/images/15072025/18/03/image_15072025_18_03_43_3696.jpg
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_25_2534.jpg
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_31_3638.jpg
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_46_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":["1372223766","1372223771","1372223774","1372223785","1372223758","1372223778"],"photo_ids_order":["1372223758","1372223766","1372223771","1372223774","1372223778","1372223785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3931579aa65b03802ef004b9e0f494f.jpg","text":"TemporaryFile(/tmp/multipartBody8487626311874186332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_03_34_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0bb8661342a72106d5fb1c533271c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1912881995579881578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_03_43_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/77b9e799b4fff7f1d9fd74feb74adefd.jpg","text":"TemporaryFile(/tmp/multipartBody5354693879982469102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_04_25_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e8ed20a7caebf829d09a4ebc8641273.jpg","text":"TemporaryFile(/tmp/multipartBody2101280802646764201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_04_46_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30fe084fd733de7bd6107fbfa16501ce.jpg","text":"TemporaryFile(/tmp/multipartBody8021700679776553077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_03_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/7/15/5dfc047d26d85acda32cecba2883d609.jpg","text":"TemporaryFile(/tmp/multipartBody3857548724773553652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605404551,"filename":"image_15072025_18_04_31_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223771","file1":"1372223766","file0":"1372223758","file4":"1372223778","file5":"1372223785","file3":"1372223774"},"map_files_photo_id_array":[{"photo_id":"1372223785","filename":"file5"},{"photo_id":"1372223771","filename":"file2"},{"photo_id":"1372223778","filename":"file4"},{"photo_id":"1372223766","filename":"file1"},{"photo_id":"1372223758","filename":"file0"},{"photo_id":"1372223774","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223766":["hashtag1","hashtag2"]},{"1372223771":["hashtag1","hashtag2"]},{"1372223774":["hashtag1","hashtag2"]},{"1372223785":["hashtag1","hashtag2"]},{"1372223758":["hashtag1","hashtag2"]},{"1372223778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223766, 1372223771, 1372223774, 1372223785, 1372223758, 1372223778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.86828351020813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:50:03.152949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_55_2578.jpg', '/home/pi/Desktop/images/15072025/18/04/image_15072025_18_05_00_2793.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_09_2724.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_22_3684.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_25_2619.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_37_3672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_55_2578.jpg
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_05_00_2793.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_09_2724.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_22_3684.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_25_2619.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_37_3672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.80409836769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:50:22.607190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_55_2578.jpg', '/home/pi/Desktop/images/15072025/18/04/image_15072025_18_05_00_2793.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_09_2724.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_22_3684.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_25_2619.jpg', '/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_37_3672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_04_55_2578.jpg
/home/pi/Desktop/images/15072025/18/04/image_15072025_18_05_00_2793.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_09_2724.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_22_3684.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_25_2619.jpg
/home/pi/Desktop/images/15072025/18/05/image_15072025_18_05_37_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":["1372223808","1372223816","1372223831","1372223819","1372223821","1372223812"],"photo_ids_order":["1372223808","1372223812","1372223816","1372223819","1372223821","1372223831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/564ae11d8054fff6f0644d0a3e04b593.jpg","text":"TemporaryFile(/tmp/multipartBody7480196757498800617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_04_55_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/adf02f8a7b83ea4c8355b7125dcecbdb.jpg","text":"TemporaryFile(/tmp/multipartBody8362751432785209264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_05_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/7/15/6f4a2f8231253129e5044c030e86575c.jpg","text":"TemporaryFile(/tmp/multipartBody3500859505563212869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_05_37_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8eebf6c05e8a92d0452970ebf0ce58f.jpg","text":"TemporaryFile(/tmp/multipartBody1811918124701896648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_05_22_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ad852ae299dd3dfdcaff3fae089d203.jpg","text":"TemporaryFile(/tmp/multipartBody7657475034868426491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_05_25_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78b5eaa7175206a74160c5f36c1cc756.jpg","text":"TemporaryFile(/tmp/multipartBody3284515301196082526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605483713,"filename":"image_15072025_18_05_00_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223816","file1":"1372223812","file0":"1372223808","file4":"1372223821","file5":"1372223831","file3":"1372223819"},"map_files_photo_id_array":[{"photo_id":"1372223831","filename":"file5"},{"photo_id":"1372223816","filename":"file2"},{"photo_id":"1372223821","filename":"file4"},{"photo_id":"1372223812","filename":"file1"},{"photo_id":"1372223808","filename":"file0"},{"photo_id":"1372223819","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223808":["hashtag1","hashtag2"]},{"1372223816":["hashtag1","hashtag2"]},{"1372223831":["hashtag1","hashtag2"]},{"1372223819":["hashtag1","hashtag2"]},{"1372223821":["hashtag1","hashtag2"]},{"1372223812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223808, 1372223816, 1372223831, 1372223819, 1372223821, 1372223812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.818918228149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:51:22.443041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_01_2757.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_04_3529.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_22_2618.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_24_2661.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_37_3692.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_49_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_01_2757.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_04_3529.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_22_2618.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_24_2661.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_37_3692.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_49_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":["1372223859","1372223853","1372223847","1372223861","1372223858","1372223842"],"photo_ids_order":["1372223842","1372223847","1372223853","1372223858","1372223859","1372223861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4951c8fa12fbb34f277bef9d66185018.jpg","text":"TemporaryFile(/tmp/multipartBody9039230678142389508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_37_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65ea32e8cd141535c49aeb2ced675932.jpg","text":"TemporaryFile(/tmp/multipartBody8301572967883968728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_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/7/15/871077d361700b2aceb0080de5d60346.jpg","text":"TemporaryFile(/tmp/multipartBody5596968070452562610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_04_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0cac32e04f9b64531685760268a02e8.jpg","text":"TemporaryFile(/tmp/multipartBody6216030729129835117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_49_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2be4fbfc76081d957ec2d328b667d026.jpg","text":"TemporaryFile(/tmp/multipartBody1559010071958864524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_24_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a477ade5f98314aa76b7a74043fbc29b.jpg","text":"TemporaryFile(/tmp/multipartBody2237203899790865181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605543553,"filename":"image_15072025_18_06_01_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223853","file1":"1372223847","file0":"1372223842","file4":"1372223859","file5":"1372223861","file3":"1372223858"},"map_files_photo_id_array":[{"photo_id":"1372223861","filename":"file5"},{"photo_id":"1372223853","filename":"file2"},{"photo_id":"1372223859","filename":"file4"},{"photo_id":"1372223847","filename":"file1"},{"photo_id":"1372223842","filename":"file0"},{"photo_id":"1372223858","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223859":["hashtag1","hashtag2"]},{"1372223853":["hashtag1","hashtag2"]},{"1372223847":["hashtag1","hashtag2"]},{"1372223861":["hashtag1","hashtag2"]},{"1372223858":["hashtag1","hashtag2"]},{"1372223842":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223859, 1372223853, 1372223847, 1372223861, 1372223858, 1372223842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.010579347610474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:52:21.872700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_52_3677.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_55_2588.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_57_2687.jpg', '/home/pi/Desktop/images/15072025/18/06/image_15072025_18_07_00_2744.jpg', '/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_04_3843.jpg', '/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_13_3666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_52_3677.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_55_2588.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_06_57_2687.jpg
/home/pi/Desktop/images/15072025/18/06/image_15072025_18_07_00_2744.jpg
/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_04_3843.jpg
/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_13_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223891","1372223900","1372223884","1372223902","1372223911","1372223895"],"photo_ids_order":["1372223884","1372223891","1372223895","1372223900","1372223902","1372223911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a92e640d7e8b5b1b2b2545c32a4736c7.jpg","text":"TemporaryFile(/tmp/multipartBody1594136059569117723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_06_55_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b49253c0427e56c9d76bd2fe74e121c.jpg","text":"TemporaryFile(/tmp/multipartBody6011943668242735666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_07_00_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4fe6d709d5496faab10a2eda615581b.jpg","text":"TemporaryFile(/tmp/multipartBody2504375655472537210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_06_52_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66cf1b3d22e77bb4a05eb07d8e5c313c.jpg","text":"TemporaryFile(/tmp/multipartBody5094082036766397686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_07_04_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9b4a27a5c1a608e7e89dede8194c4b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2470108826901569552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_07_13_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6e0e2fdcd71dd9f9d687a1bd494bc58.jpg","text":"TemporaryFile(/tmp/multipartBody6635192272100063933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605602997,"filename":"image_15072025_18_06_57_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223895","file1":"1372223891","file0":"1372223884","file4":"1372223902","file5":"1372223911","file3":"1372223900"},"map_files_photo_id_array":[{"photo_id":"1372223911","filename":"file5"},{"photo_id":"1372223895","filename":"file2"},{"photo_id":"1372223902","filename":"file4"},{"photo_id":"1372223891","filename":"file1"},{"photo_id":"1372223884","filename":"file0"},{"photo_id":"1372223900","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223891":["hashtag1","hashtag2"]},{"1372223900":["hashtag1","hashtag2"]},{"1372223884":["hashtag1","hashtag2"]},{"1372223902":["hashtag1","hashtag2"]},{"1372223911":["hashtag1","hashtag2"]},{"1372223895":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223891, 1372223900, 1372223884, 1372223902, 1372223911, 1372223895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.84552478790283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:53:22.137801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_16_2620.jpg', '/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_18_2659.jpg', '/home/pi/Desktop/images/15072025/18/10/image_15072025_18_10_09_2566.jpg', '/home/pi/Desktop/images/15072025/18/10/image_15072025_18_10_22_3652.jpg', '/home/pi/Desktop/images/15072025/18/11/image_15072025_18_11_51_2547.jpg', '/home/pi/Desktop/images/15072025/18/13/image_15072025_18_13_06_2733.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_16_2620.jpg
/home/pi/Desktop/images/15072025/18/07/image_15072025_18_07_18_2659.jpg
/home/pi/Desktop/images/15072025/18/10/image_15072025_18_10_09_2566.jpg
/home/pi/Desktop/images/15072025/18/10/image_15072025_18_10_22_3652.jpg
/home/pi/Desktop/images/15072025/18/11/image_15072025_18_11_51_2547.jpg
/home/pi/Desktop/images/15072025/18/13/image_15072025_18_13_06_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372223933","1372223957","1372223936","1372223953","1372223929","1372223955"],"photo_ids_order":["1372223929","1372223933","1372223936","1372223953","1372223955","1372223957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b93669c82433b314a42ac0b753a8918f.jpg","text":"TemporaryFile(/tmp/multipartBody6417180182003186478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_07_18_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75a31f8fd1573089e3348c8aafaaa75a.jpg","text":"TemporaryFile(/tmp/multipartBody3094134975208506215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_13_06_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61a0ae93f4aef4d8f3d6ad2b61273f54.jpg","text":"TemporaryFile(/tmp/multipartBody6713616295972000325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_10_09_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ce6bb630ad763c83f434bf34589b843.jpg","text":"TemporaryFile(/tmp/multipartBody5223920079271279516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_10_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/7/15/e9b956a2ced01a46e13f31e1c28daafb.jpg","text":"TemporaryFile(/tmp/multipartBody7041891084984341375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_07_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14d11e26d82ab8e414313de8da6340fc.jpg","text":"TemporaryFile(/tmp/multipartBody4421030227922065287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605663257,"filename":"image_15072025_18_11_51_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223936","file1":"1372223933","file0":"1372223929","file4":"1372223955","file5":"1372223957","file3":"1372223953"},"map_files_photo_id_array":[{"photo_id":"1372223957","filename":"file5"},{"photo_id":"1372223936","filename":"file2"},{"photo_id":"1372223955","filename":"file4"},{"photo_id":"1372223933","filename":"file1"},{"photo_id":"1372223929","filename":"file0"},{"photo_id":"1372223953","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223933":["hashtag1","hashtag2"]},{"1372223957":["hashtag1","hashtag2"]},{"1372223936":["hashtag1","hashtag2"]},{"1372223953":["hashtag1","hashtag2"]},{"1372223929":["hashtag1","hashtag2"]},{"1372223955":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223933, 1372223957, 1372223936, 1372223953, 1372223929, 1372223955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.01657700538635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:54:22.005750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/13/image_15072025_18_13_21_2721.jpg', '/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_08_2701.jpg', '/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_38_2718.jpg', '/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_50_2693.jpg', '/home/pi/Desktop/images/15072025/18/20/image_15072025_18_20_50_2716.jpg', '/home/pi/Desktop/images/15072025/18/21/image_15072025_18_21_41_2621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/13/image_15072025_18_13_21_2721.jpg
/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_08_2701.jpg
/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_38_2718.jpg
/home/pi/Desktop/images/15072025/18/18/image_15072025_18_18_50_2693.jpg
/home/pi/Desktop/images/15072025/18/20/image_15072025_18_20_50_2716.jpg
/home/pi/Desktop/images/15072025/18/21/image_15072025_18_21_41_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":["1372223990","1372223987","1372223966","1372223971","1372223974","1372223982"],"photo_ids_order":["1372223966","1372223971","1372223974","1372223982","1372223987","1372223990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfb3010654339846d61dc4a992c07173.jpg","text":"TemporaryFile(/tmp/multipartBody4575630068769465873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_21_41_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9cdbcb8749dd81beb8abae7699bf5cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7005154001440830500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_20_50_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/861e6f5d500f6f3ebfbb24248823d11d.jpg","text":"TemporaryFile(/tmp/multipartBody8151753663625742655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_13_21_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d1e6f7b493bb47c23175652f7eb745b.jpg","text":"TemporaryFile(/tmp/multipartBody7569735794681380160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_18_08_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc357a53feea02af1407fc39c3bf560c.jpg","text":"TemporaryFile(/tmp/multipartBody9077351232773134418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_18_38_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c05b85b85db2643f6917f7c921c32d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2685636090037953004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605723122,"filename":"image_15072025_18_18_50_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372223974","file1":"1372223971","file0":"1372223966","file4":"1372223987","file5":"1372223990","file3":"1372223982"},"map_files_photo_id_array":[{"photo_id":"1372223990","filename":"file5"},{"photo_id":"1372223974","filename":"file2"},{"photo_id":"1372223987","filename":"file4"},{"photo_id":"1372223971","filename":"file1"},{"photo_id":"1372223966","filename":"file0"},{"photo_id":"1372223982","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372223990":["hashtag1","hashtag2"]},{"1372223987":["hashtag1","hashtag2"]},{"1372223966":["hashtag1","hashtag2"]},{"1372223971":["hashtag1","hashtag2"]},{"1372223974":["hashtag1","hashtag2"]},{"1372223982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372223990, 1372223987, 1372223966, 1372223971, 1372223974, 1372223982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.961029291152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:55:22.613134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_06_3677.jpg', '/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_15_3647.jpg', '/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_33_3622.jpg', '/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_35_2689.jpg', '/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_38_2587.jpg', '/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_51_3788.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_06_3677.jpg
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_15_3647.jpg
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_33_3622.jpg
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_35_2689.jpg
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_38_2587.jpg
/home/pi/Desktop/images/15072025/18/22/image_15072025_18_22_51_3788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224006","1372224021","1372224015","1372224009","1372224017","1372224011"],"photo_ids_order":["1372224006","1372224009","1372224011","1372224015","1372224017","1372224021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5da199553beec9b3ccce9e6ad9692752.jpg","text":"TemporaryFile(/tmp/multipartBody1046967304569294886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_06_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b748a3486a2b7ca72cffe55bf040556.jpg","text":"TemporaryFile(/tmp/multipartBody1265161069106282208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_51_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86047e1d2e5f50f8fe032642e5e6a278.jpg","text":"TemporaryFile(/tmp/multipartBody2166102494607754250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_35_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/220f3a6070fbc883d01a5df8abc13d12.jpg","text":"TemporaryFile(/tmp/multipartBody859257357894416506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_15_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1eae602db8ed43a063b054d13a4fbdee.jpg","text":"TemporaryFile(/tmp/multipartBody7406827757773552917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_38_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b272ba9006f8eeebd3f71e49a8fd5d70.jpg","text":"TemporaryFile(/tmp/multipartBody2109470041507003434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605783726,"filename":"image_15072025_18_22_33_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224011","file1":"1372224009","file0":"1372224006","file4":"1372224017","file5":"1372224021","file3":"1372224015"},"map_files_photo_id_array":[{"photo_id":"1372224021","filename":"file5"},{"photo_id":"1372224011","filename":"file2"},{"photo_id":"1372224017","filename":"file4"},{"photo_id":"1372224009","filename":"file1"},{"photo_id":"1372224006","filename":"file0"},{"photo_id":"1372224015","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224006":["hashtag1","hashtag2"]},{"1372224021":["hashtag1","hashtag2"]},{"1372224015":["hashtag1","hashtag2"]},{"1372224009":["hashtag1","hashtag2"]},{"1372224017":["hashtag1","hashtag2"]},{"1372224011":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224006, 1372224021, 1372224015, 1372224009, 1372224017, 1372224011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.423863649368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:56:22.248481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_11_3668.jpg', '/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_26_2680.jpg', '/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_35_2754.jpg', '/home/pi/Desktop/images/15072025/18/24/image_15072025_18_24_08_2695.jpg', '/home/pi/Desktop/images/15072025/18/24/image_15072025_18_24_35_2670.jpg', '/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_20_2797.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_11_3668.jpg
/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_26_2680.jpg
/home/pi/Desktop/images/15072025/18/23/image_15072025_18_23_35_2754.jpg
/home/pi/Desktop/images/15072025/18/24/image_15072025_18_24_08_2695.jpg
/home/pi/Desktop/images/15072025/18/24/image_15072025_18_24_35_2670.jpg
/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_20_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224061","1372224052","1372224049","1372224063","1372224057","1372224045"],"photo_ids_order":["1372224045","1372224049","1372224052","1372224057","1372224061","1372224063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d26e15b26cd7da4fc409b2b73f463ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7178620099370268983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_24_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/7/15/2b67f52f2f5b5f84439c6053512acd6f.jpg","text":"TemporaryFile(/tmp/multipartBody8071125779665404932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_23_35_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd6033591661ab48bafb0e4e461ad37f.jpg","text":"TemporaryFile(/tmp/multipartBody728851430590319957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_23_26_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92e352970d8545edd1c83d029bbbbf28.jpg","text":"TemporaryFile(/tmp/multipartBody5673606316336303293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_25_20_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40ca643aad4b5d040bbfad98ccbef4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8276432873930891158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_24_08_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72dec4b91d8aa3dfe68c922fcdc40c58.jpg","text":"TemporaryFile(/tmp/multipartBody6850869829131767664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605843367,"filename":"image_15072025_18_23_11_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224052","file1":"1372224049","file0":"1372224045","file4":"1372224061","file5":"1372224063","file3":"1372224057"},"map_files_photo_id_array":[{"photo_id":"1372224063","filename":"file5"},{"photo_id":"1372224052","filename":"file2"},{"photo_id":"1372224061","filename":"file4"},{"photo_id":"1372224049","filename":"file1"},{"photo_id":"1372224045","filename":"file0"},{"photo_id":"1372224057","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224061":["hashtag1","hashtag2"]},{"1372224052":["hashtag1","hashtag2"]},{"1372224049":["hashtag1","hashtag2"]},{"1372224063":["hashtag1","hashtag2"]},{"1372224057":["hashtag1","hashtag2"]},{"1372224045":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224061, 1372224052, 1372224049, 1372224063, 1372224057, 1372224045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.964141845703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 20:57:22.658702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_44_2628.jpg', '/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_50_3591.jpg', '/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_59_3534.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_08_2884.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_14_2620.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_19_2720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_44_2628.jpg
/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_50_3591.jpg
/home/pi/Desktop/images/15072025/18/25/image_15072025_18_25_59_3534.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_08_2884.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_14_2620.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_19_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224098","1372224101","1372224076","1372224084","1372224096","1372224081"],"photo_ids_order":["1372224076","1372224081","1372224084","1372224096","1372224098","1372224101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/318722e066d5f3acc38bf2e93dbb9fce.jpg","text":"TemporaryFile(/tmp/multipartBody7793637670013136751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_26_14_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fba2eceeab9cf0c7f63ef90a50be4fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5590534431501340316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_26_19_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e42e69de481e3ebf8414564f746852e7.jpg","text":"TemporaryFile(/tmp/multipartBody2484774782211055992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_25_44_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a3751c61168242a47e53f7a15c02c3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8258473018972326203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_25_59_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33ee6a564806f591c63156906423e2dd.jpg","text":"TemporaryFile(/tmp/multipartBody4708927955339902700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_26_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/7/15/90715aa55a44861208d00a51d0038719.jpg","text":"TemporaryFile(/tmp/multipartBody6945596457065259116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752605903769,"filename":"image_15072025_18_25_50_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224084","file1":"1372224081","file0":"1372224076","file4":"1372224098","file5":"1372224101","file3":"1372224096"},"map_files_photo_id_array":[{"photo_id":"1372224101","filename":"file5"},{"photo_id":"1372224084","filename":"file2"},{"photo_id":"1372224098","filename":"file4"},{"photo_id":"1372224081","filename":"file1"},{"photo_id":"1372224076","filename":"file0"},{"photo_id":"1372224096","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224098":["hashtag1","hashtag2"]},{"1372224101":["hashtag1","hashtag2"]},{"1372224076":["hashtag1","hashtag2"]},{"1372224084":["hashtag1","hashtag2"]},{"1372224096":["hashtag1","hashtag2"]},{"1372224081":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224098, 1372224101, 1372224076, 1372224084, 1372224096, 1372224081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44099307060242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 20:59:03.316118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_35_2748.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_37_2651.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_44_2636.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_46_2663.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_53_2620.jpg', '/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_59_3805.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_35_2748.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_37_2651.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_44_2636.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_46_2663.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_53_2620.jpg
/home/pi/Desktop/images/15072025/18/26/image_15072025_18_26_59_3805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224132","1372224158","1372224137","1372224142","1372224127","1372224147"],"photo_ids_order":["1372224127","1372224132","1372224137","1372224142","1372224147","1372224158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4fc0f0bca44a9650fba2f35b864fee0e.jpg","text":"TemporaryFile(/tmp/multipartBody8994222484944185469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_37_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ae440c9f49ab6fabd816076ab9309189.jpg","text":"TemporaryFile(/tmp/multipartBody7638170964903450897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_59_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3e7c791af88e6165a88545531bf8df4.jpg","text":"TemporaryFile(/tmp/multipartBody3359812429030190263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_44_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1bc352695992e9f4d37bb8f18564543.jpg","text":"TemporaryFile(/tmp/multipartBody773166662515096937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_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/7/15/e858a6134fc779b9ef41347f7740f230.jpg","text":"TemporaryFile(/tmp/multipartBody4545842599525927134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_35_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/25fbc72e7ead6c027e7a1e09104d2492.jpg","text":"TemporaryFile(/tmp/multipartBody5334453335497755984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606004698,"filename":"image_15072025_18_26_53_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224137","file1":"1372224132","file0":"1372224127","file4":"1372224147","file5":"1372224158","file3":"1372224142"},"map_files_photo_id_array":[{"photo_id":"1372224158","filename":"file5"},{"photo_id":"1372224137","filename":"file2"},{"photo_id":"1372224147","filename":"file4"},{"photo_id":"1372224132","filename":"file1"},{"photo_id":"1372224127","filename":"file0"},{"photo_id":"1372224142","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224132":["hashtag1","hashtag2"]},{"1372224158":["hashtag1","hashtag2"]},{"1372224137":["hashtag1","hashtag2"]},{"1372224142":["hashtag1","hashtag2"]},{"1372224127":["hashtag1","hashtag2"]},{"1372224147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224132, 1372224158, 1372224137, 1372224142, 1372224127, 1372224147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26739287376404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:00:03.077517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_02_2640.jpg', '/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_11_2506.jpg', '/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_26_3603.jpg', '/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_34_2562.jpg', '/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_41_2550.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_13_2642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_02_2640.jpg
/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_11_2506.jpg
/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_26_3603.jpg
/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_34_2562.jpg
/home/pi/Desktop/images/15072025/18/27/image_15072025_18_27_41_2550.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_13_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224359","1372224308","1372224415","1372224166","1372224202","1372224252"],"photo_ids_order":["1372224166","1372224202","1372224252","1372224308","1372224359","1372224415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2bb106b9b0c87bea5b96406517e993df.jpg","text":"TemporaryFile(/tmp/multipartBody4967805357126766326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_27_41_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4c6a1c35d1c70c9badcc52703164bac.jpg","text":"TemporaryFile(/tmp/multipartBody7928611531665196233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_27_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d79842972591fcb8ec5a9fdb1774fc8c.jpg","text":"TemporaryFile(/tmp/multipartBody3042729840837282618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_28_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0db9458017819760e9a723447d5447d9.jpg","text":"TemporaryFile(/tmp/multipartBody7003353717074479311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_27_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/7/15/1b761a8b01830b5c409efb5cde2ea41c.jpg","text":"TemporaryFile(/tmp/multipartBody2126729536660730526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_27_11_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b236e8b793a9eedf49fb722889eb633.jpg","text":"TemporaryFile(/tmp/multipartBody1052630399762021703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606064250,"filename":"image_15072025_18_27_26_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224252","file1":"1372224202","file0":"1372224166","file4":"1372224359","file5":"1372224415","file3":"1372224308"},"map_files_photo_id_array":[{"photo_id":"1372224415","filename":"file5"},{"photo_id":"1372224252","filename":"file2"},{"photo_id":"1372224359","filename":"file4"},{"photo_id":"1372224202","filename":"file1"},{"photo_id":"1372224166","filename":"file0"},{"photo_id":"1372224308","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224359":["hashtag1","hashtag2"]},{"1372224308":["hashtag1","hashtag2"]},{"1372224415":["hashtag1","hashtag2"]},{"1372224166":["hashtag1","hashtag2"]},{"1372224202":["hashtag1","hashtag2"]},{"1372224252":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224359, 1372224308, 1372224415, 1372224166, 1372224202, 1372224252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.539570331573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:01:03.455099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_16_2783.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_20_3681.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_25_2836.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_28_2677.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_32_3702.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_35_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_16_2783.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_20_3681.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_25_2836.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_28_2677.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_32_3702.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_35_2705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8205513954162598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:01:22.666112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_16_2783.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_20_3681.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_25_2836.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_28_2677.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_32_3702.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_35_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_16_2783.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_20_3681.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_25_2836.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_28_2677.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_32_3702.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_35_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372224828","1372224620","1372224935","1372224713","1372224883","1372224766"],"photo_ids_order":["1372224620","1372224713","1372224766","1372224828","1372224883","1372224935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/282d58d6f5897a90380b81abbfad9993.jpg","text":"TemporaryFile(/tmp/multipartBody3999990774553434438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_28_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a865086607370c306a939db4beaf9c61.jpg","text":"TemporaryFile(/tmp/multipartBody9158726455331025559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_16_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac217b75117a47eca83285ab4a4efdda.jpg","text":"TemporaryFile(/tmp/multipartBody7236099743356662202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_35_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2ee7dd433dfb2746e5703895227c8240.jpg","text":"TemporaryFile(/tmp/multipartBody6199271340682540857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_20_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e572ba3c72857f823b8e3a59ce6b3ab4.jpg","text":"TemporaryFile(/tmp/multipartBody9125095874953605770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_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/7/15/fddd809ac8ac8f4842319d18e6184d64.jpg","text":"TemporaryFile(/tmp/multipartBody6755762279237114096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606143755,"filename":"image_15072025_18_28_25_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372224766","file1":"1372224713","file0":"1372224620","file4":"1372224883","file5":"1372224935","file3":"1372224828"},"map_files_photo_id_array":[{"photo_id":"1372224935","filename":"file5"},{"photo_id":"1372224766","filename":"file2"},{"photo_id":"1372224883","filename":"file4"},{"photo_id":"1372224713","filename":"file1"},{"photo_id":"1372224620","filename":"file0"},{"photo_id":"1372224828","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372224828":["hashtag1","hashtag2"]},{"1372224620":["hashtag1","hashtag2"]},{"1372224935":["hashtag1","hashtag2"]},{"1372224713":["hashtag1","hashtag2"]},{"1372224883":["hashtag1","hashtag2"]},{"1372224766":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372224828, 1372224620, 1372224935, 1372224713, 1372224883, 1372224766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.40448832511902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:02:22.420465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_37_2958.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_40_2822.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_44_3672.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_47_2571.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_49_2878.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_52_2649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_37_2958.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_40_2822.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_44_3672.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_47_2571.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_49_2878.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_52_2649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7503695487976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:02:42.374830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_37_2958.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_40_2822.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_44_3672.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_47_2571.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_49_2878.jpg', '/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_52_2649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_37_2958.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_40_2822.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_44_3672.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_47_2571.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_49_2878.jpg
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_52_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":["1372225220","1372225165","1372225162","1372225173","1372225140","1372225169"],"photo_ids_order":["1372225140","1372225162","1372225165","1372225169","1372225173","1372225220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea530d90b13514891b91bed0da248210.jpg","text":"TemporaryFile(/tmp/multipartBody6505176269581798182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8c28e4bbb5ebea3520d6691eeec3c969.jpg","text":"TemporaryFile(/tmp/multipartBody3105981531277719044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_44_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a336588e277fa0c3704219013db3434e.jpg","text":"TemporaryFile(/tmp/multipartBody8116103339768837307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_40_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3df99ca791a3ce227a9f6863a7dc71ec.jpg","text":"TemporaryFile(/tmp/multipartBody5351202534489000550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_49_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5a9abb37e2ecf79fec861cc74d89343.jpg","text":"TemporaryFile(/tmp/multipartBody1683038549812070597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_37_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/473dce6f10515e2358ad948bad93cbac.jpg","text":"TemporaryFile(/tmp/multipartBody1554929811947956548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606223489,"filename":"image_15072025_18_28_47_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372225165","file1":"1372225162","file0":"1372225140","file4":"1372225173","file5":"1372225220","file3":"1372225169"},"map_files_photo_id_array":[{"photo_id":"1372225220","filename":"file5"},{"photo_id":"1372225165","filename":"file2"},{"photo_id":"1372225173","filename":"file4"},{"photo_id":"1372225162","filename":"file1"},{"photo_id":"1372225140","filename":"file0"},{"photo_id":"1372225169","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372225220":["hashtag1","hashtag2"]},{"1372225165":["hashtag1","hashtag2"]},{"1372225162":["hashtag1","hashtag2"]},{"1372225173":["hashtag1","hashtag2"]},{"1372225140":["hashtag1","hashtag2"]},{"1372225169":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372225220, 1372225165, 1372225162, 1372225173, 1372225140, 1372225169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.386913537979126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:03:42.689894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_56_3736.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_05_3642.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_11_3603.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_32_2728.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_34_2763.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_37_2811.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_56_3736.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_05_3642.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_11_3603.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_32_2728.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_34_2763.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_37_2811.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6945147514343262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:04:03.047698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_56_3736.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_05_3642.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_11_3603.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_32_2728.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_34_2763.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_37_2811.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/28/image_15072025_18_28_56_3736.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_05_3642.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_11_3603.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_32_2728.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_34_2763.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_37_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372225853","1372225507","1372225797","1372225557","1372225605","1372225691"],"photo_ids_order":["1372225507","1372225557","1372225605","1372225691","1372225797","1372225853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d1829a8ecdf38f06011aaaed751f558.jpg","text":"TemporaryFile(/tmp/multipartBody5572685876791381321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_29_37_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2c3f72bf8bf06e67158cb2b039a02860.jpg","text":"TemporaryFile(/tmp/multipartBody917534464654443057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_28_56_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/178caacc91f433daf06d0e46a2ca9be8.jpg","text":"TemporaryFile(/tmp/multipartBody5401603613206443857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_29_34_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/02c02261a508ec3f0e35b4cd03ddf96c.jpg","text":"TemporaryFile(/tmp/multipartBody292370189649415723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_29_05_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a702478d2913962562db52ecc67a970a.jpg","text":"TemporaryFile(/tmp/multipartBody3819675955197441782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_29_11_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea809976b59a55861f9f63737e7c9a66.jpg","text":"TemporaryFile(/tmp/multipartBody8535834153130574564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606304283,"filename":"image_15072025_18_29_32_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372225605","file1":"1372225557","file0":"1372225507","file4":"1372225797","file5":"1372225853","file3":"1372225691"},"map_files_photo_id_array":[{"photo_id":"1372225853","filename":"file5"},{"photo_id":"1372225605","filename":"file2"},{"photo_id":"1372225797","filename":"file4"},{"photo_id":"1372225557","filename":"file1"},{"photo_id":"1372225507","filename":"file0"},{"photo_id":"1372225691","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372225853":["hashtag1","hashtag2"]},{"1372225507":["hashtag1","hashtag2"]},{"1372225797":["hashtag1","hashtag2"]},{"1372225557":["hashtag1","hashtag2"]},{"1372225605":["hashtag1","hashtag2"]},{"1372225691":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372225853, 1372225507, 1372225797, 1372225557, 1372225605, 1372225691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.5743670463562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:05:03.084617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_43_2598.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_46_2620.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_08_3011.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_24_2645.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_44_2772.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_47_2716.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_43_2598.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_46_2620.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_08_3011.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_24_2645.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_44_2772.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_47_2716.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8662850856781006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:05:22.132196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_43_2598.jpg', '/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_46_2620.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_08_3011.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_24_2645.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_44_2772.jpg', '/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_47_2716.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_43_2598.jpg
/home/pi/Desktop/images/15072025/18/29/image_15072025_18_29_46_2620.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_08_3011.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_24_2645.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_44_2772.jpg
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_30_47_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226149","1372226128","1372226154","1372226133","1372226156","1372226138"],"photo_ids_order":["1372226128","1372226133","1372226138","1372226149","1372226154","1372226156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cee2027c7c2985e85b3424855bdb7239.jpg","text":"TemporaryFile(/tmp/multipartBody4896594197306418043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_30_24_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7cad668523129152d31debb6e3f75e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8261556254015382272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_29_43_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8d9b4492e0089cc4c6a33f65ba9d12b.jpg","text":"TemporaryFile(/tmp/multipartBody7819053090001562678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_30_44_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8505078724c4059f69e99ed2828ca951.jpg","text":"TemporaryFile(/tmp/multipartBody293851586865628961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_29_46_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/370b50777424f4e540900bd1d1de398b.jpg","text":"TemporaryFile(/tmp/multipartBody4346195558264072945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_30_47_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ed2871cc2b95ec2c061c8fd065e85be.jpg","text":"TemporaryFile(/tmp/multipartBody2406055087971356089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606383239,"filename":"image_15072025_18_30_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226138","file1":"1372226133","file0":"1372226128","file4":"1372226154","file5":"1372226156","file3":"1372226149"},"map_files_photo_id_array":[{"photo_id":"1372226156","filename":"file5"},{"photo_id":"1372226138","filename":"file2"},{"photo_id":"1372226154","filename":"file4"},{"photo_id":"1372226133","filename":"file1"},{"photo_id":"1372226128","filename":"file0"},{"photo_id":"1372226149","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226149":["hashtag1","hashtag2"]},{"1372226128":["hashtag1","hashtag2"]},{"1372226154":["hashtag1","hashtag2"]},{"1372226133":["hashtag1","hashtag2"]},{"1372226156":["hashtag1","hashtag2"]},{"1372226138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226149, 1372226128, 1372226154, 1372226133, 1372226156, 1372226138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.78350234031677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:06:22.031727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/30/image_15072025_18_31_00_2714.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_05_2808.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_09_3612.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_12_2613.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_20_2627.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_23_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_31_00_2714.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_05_2808.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_09_3612.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_12_2613.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_20_2627.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_23_2567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.712752103805542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:06:41.934291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/30/image_15072025_18_31_00_2714.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_05_2808.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_09_3612.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_12_2613.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_20_2627.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_23_2567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/30/image_15072025_18_31_00_2714.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_05_2808.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_09_3612.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_12_2613.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_20_2627.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_23_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226210","1372226197","1372226179","1372226200","1372226190","1372226184"],"photo_ids_order":["1372226179","1372226184","1372226190","1372226197","1372226200","1372226210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d9a4e09ec65a02985fdb262fed1848b.jpg","text":"TemporaryFile(/tmp/multipartBody1844475495887637251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_23_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c271fa02c44a241e84804230ec7971cf.jpg","text":"TemporaryFile(/tmp/multipartBody1538677140808567394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_12_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/96ee1f2ab18cd4ee27b9837f20828135.jpg","text":"TemporaryFile(/tmp/multipartBody8770322226187315285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_00_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b12ccc5739f6144faef32eb0399e1d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6287127973430666176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_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/7/15/115916eb0d990002149ac967aa60d46c.jpg","text":"TemporaryFile(/tmp/multipartBody57755441552045651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_09_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a25e20f3b8b0d44610c6b2a2dbdccc75.jpg","text":"TemporaryFile(/tmp/multipartBody171063523913409679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606463044,"filename":"image_15072025_18_31_05_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226190","file1":"1372226184","file0":"1372226179","file4":"1372226200","file5":"1372226210","file3":"1372226197"},"map_files_photo_id_array":[{"photo_id":"1372226210","filename":"file5"},{"photo_id":"1372226190","filename":"file2"},{"photo_id":"1372226200","filename":"file4"},{"photo_id":"1372226184","filename":"file1"},{"photo_id":"1372226179","filename":"file0"},{"photo_id":"1372226197","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226210":["hashtag1","hashtag2"]},{"1372226197":["hashtag1","hashtag2"]},{"1372226179":["hashtag1","hashtag2"]},{"1372226200":["hashtag1","hashtag2"]},{"1372226190":["hashtag1","hashtag2"]},{"1372226184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226210, 1372226197, 1372226179, 1372226200, 1372226190, 1372226184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.9741997718811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:07:42.150381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_29_2701.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_36_2758.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_45_2657.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_51_3564.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_54_2829.jpg', '/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_56_2575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_29_2701.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_36_2758.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_45_2657.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_51_3564.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_54_2829.jpg
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_56_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226451","1372226442","1372226424","1372226412","1372226447","1372226360"],"photo_ids_order":["1372226360","1372226412","1372226424","1372226442","1372226447","1372226451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/251e922b966483a2a3db6c33f3b9cba5.jpg","text":"TemporaryFile(/tmp/multipartBody3947840443459892135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_56_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/831354d1c11ca95cb74a92579ee231a9.jpg","text":"TemporaryFile(/tmp/multipartBody3188182725840072770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_51_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b30233bbf42fd3e8703e9f34d12b267.jpg","text":"TemporaryFile(/tmp/multipartBody7023450781344048428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_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/7/15/b22a305a073901d37a0f47d40e181344.jpg","text":"TemporaryFile(/tmp/multipartBody6452796380247395901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_36_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8a82b1dc5e9c0e72623dd15e8b3a142.jpg","text":"TemporaryFile(/tmp/multipartBody1803328153767053340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_54_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f996dcfaa88459fddf183577178e3db3.jpg","text":"TemporaryFile(/tmp/multipartBody4557152835810962829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606523265,"filename":"image_15072025_18_31_29_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226424","file1":"1372226412","file0":"1372226360","file4":"1372226447","file5":"1372226451","file3":"1372226442"},"map_files_photo_id_array":[{"photo_id":"1372226451","filename":"file5"},{"photo_id":"1372226424","filename":"file2"},{"photo_id":"1372226447","filename":"file4"},{"photo_id":"1372226412","filename":"file1"},{"photo_id":"1372226360","filename":"file0"},{"photo_id":"1372226442","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226451":["hashtag1","hashtag2"]},{"1372226442":["hashtag1","hashtag2"]},{"1372226424":["hashtag1","hashtag2"]},{"1372226412":["hashtag1","hashtag2"]},{"1372226447":["hashtag1","hashtag2"]},{"1372226360":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226451, 1372226442, 1372226424, 1372226412, 1372226447, 1372226360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4116632938385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:08:42.125222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_59_2702.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_03_3747.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_15_2688.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_17_2645.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_21_3646.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_24_2644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/31/image_15072025_18_31_59_2702.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_03_3747.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_15_2688.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_17_2645.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_21_3646.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_24_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226548","1372226524","1372226518","1372226503","1372226509","1372226585"],"photo_ids_order":["1372226503","1372226509","1372226518","1372226524","1372226548","1372226585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3be4dd6e1d4bbc2ac86b7ad8ff6ce71c.jpg","text":"TemporaryFile(/tmp/multipartBody9493871053400795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_32_21_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/57577fa7e8dbc1579fdc568b8e336600.jpg","text":"TemporaryFile(/tmp/multipartBody7171395590774297415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_32_17_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4aaf405ecf65e3b44bdd7f6a57dd967a.jpg","text":"TemporaryFile(/tmp/multipartBody8112954374744186468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_32_15_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9eee534faec0008f7c1f6dd3fd58771.jpg","text":"TemporaryFile(/tmp/multipartBody4383613527241590844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_31_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/7/15/f715e39010095ae063302cd780de36ed.jpg","text":"TemporaryFile(/tmp/multipartBody1522071590466730021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_32_03_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c86f2b1aff626d9bf980a42f3da10d5.jpg","text":"TemporaryFile(/tmp/multipartBody4010662876414677528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606583224,"filename":"image_15072025_18_32_24_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226518","file1":"1372226509","file0":"1372226503","file4":"1372226548","file5":"1372226585","file3":"1372226524"},"map_files_photo_id_array":[{"photo_id":"1372226585","filename":"file5"},{"photo_id":"1372226518","filename":"file2"},{"photo_id":"1372226548","filename":"file4"},{"photo_id":"1372226509","filename":"file1"},{"photo_id":"1372226503","filename":"file0"},{"photo_id":"1372226524","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226548":["hashtag1","hashtag2"]},{"1372226524":["hashtag1","hashtag2"]},{"1372226518":["hashtag1","hashtag2"]},{"1372226503":["hashtag1","hashtag2"]},{"1372226509":["hashtag1","hashtag2"]},{"1372226585":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226548, 1372226524, 1372226518, 1372226503, 1372226509, 1372226585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.46485090255737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:09:42.621723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_26_2715.jpg', '/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_30_3697.jpg', '/home/pi/Desktop/images/15072025/18/34/image_15072025_18_34_41_2629.jpg', '/home/pi/Desktop/images/15072025/18/34/image_15072025_18_34_54_3673.jpg', '/home/pi/Desktop/images/15072025/18/35/image_15072025_18_35_32_2542.jpg', '/home/pi/Desktop/images/15072025/18/36/image_15072025_18_36_18_3641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_26_2715.jpg
/home/pi/Desktop/images/15072025/18/32/image_15072025_18_32_30_3697.jpg
/home/pi/Desktop/images/15072025/18/34/image_15072025_18_34_41_2629.jpg
/home/pi/Desktop/images/15072025/18/34/image_15072025_18_34_54_3673.jpg
/home/pi/Desktop/images/15072025/18/35/image_15072025_18_35_32_2542.jpg
/home/pi/Desktop/images/15072025/18/36/image_15072025_18_36_18_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226609","1372226620","1372226617","1372226605","1372226613","1372226607"],"photo_ids_order":["1372226605","1372226607","1372226609","1372226613","1372226617","1372226620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38e60072cb0008e54761ede81a82a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2191184485439065240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_34_41_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f2e947fa9356e83cfe4700fcfbf894fd.jpg","text":"TemporaryFile(/tmp/multipartBody5748897745067673960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_36_18_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/385bba2cacf6ea9cbb7473340446eab5.jpg","text":"TemporaryFile(/tmp/multipartBody1896259777468274054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_35_32_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9101169154da2f06ac1cc1a7204807db.jpg","text":"TemporaryFile(/tmp/multipartBody6789739679602402520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_32_26_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92d8f89c49e43823134443f56a1a4d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6254005263017080321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_34_54_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fef4577398a63ef195b70e81380e8164.jpg","text":"TemporaryFile(/tmp/multipartBody1949055150797615257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606643763,"filename":"image_15072025_18_32_30_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226609","file1":"1372226607","file0":"1372226605","file4":"1372226617","file5":"1372226620","file3":"1372226613"},"map_files_photo_id_array":[{"photo_id":"1372226620","filename":"file5"},{"photo_id":"1372226609","filename":"file2"},{"photo_id":"1372226617","filename":"file4"},{"photo_id":"1372226607","filename":"file1"},{"photo_id":"1372226605","filename":"file0"},{"photo_id":"1372226613","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226609":["hashtag1","hashtag2"]},{"1372226620":["hashtag1","hashtag2"]},{"1372226617":["hashtag1","hashtag2"]},{"1372226605":["hashtag1","hashtag2"]},{"1372226613":["hashtag1","hashtag2"]},{"1372226607":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226609, 1372226620, 1372226617, 1372226605, 1372226613, 1372226607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.4384446144104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:10:41.897215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/36/image_15072025_18_36_44_3666.jpg', '/home/pi/Desktop/images/15072025/18/37/image_15072025_18_37_56_3681.jpg', '/home/pi/Desktop/images/15072025/18/38/image_15072025_18_38_11_2588.jpg', '/home/pi/Desktop/images/15072025/18/38/image_15072025_18_38_29_3697.jpg', '/home/pi/Desktop/images/15072025/18/40/image_15072025_18_40_05_2765.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_02_2590.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/36/image_15072025_18_36_44_3666.jpg
/home/pi/Desktop/images/15072025/18/37/image_15072025_18_37_56_3681.jpg
/home/pi/Desktop/images/15072025/18/38/image_15072025_18_38_11_2588.jpg
/home/pi/Desktop/images/15072025/18/38/image_15072025_18_38_29_3697.jpg
/home/pi/Desktop/images/15072025/18/40/image_15072025_18_40_05_2765.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_02_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226641","1372226635","1372226661","1372226654","1372226657","1372226630"],"photo_ids_order":["1372226630","1372226635","1372226641","1372226654","1372226657","1372226661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f89cbbd68dd7d046a0ce95cbe934334.jpg","text":"TemporaryFile(/tmp/multipartBody6979768527047889429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_38_11_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b972ae798fadaba23d93a24718ddead.jpg","text":"TemporaryFile(/tmp/multipartBody6097811116201120421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_37_56_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ecfab74df257362f9a09ba513438c12.jpg","text":"TemporaryFile(/tmp/multipartBody8288798081843721802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_42_02_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4dc426121313982c9333f431a46efb00.jpg","text":"TemporaryFile(/tmp/multipartBody6508259748726049433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_38_29_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/520e3efa5a3a6e42bb007b52e514c213.jpg","text":"TemporaryFile(/tmp/multipartBody4226373690596703476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_40_05_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/48696f718ae37cf90a5286ba0daf0436.jpg","text":"TemporaryFile(/tmp/multipartBody5317529684356917982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606703040,"filename":"image_15072025_18_36_44_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226641","file1":"1372226635","file0":"1372226630","file4":"1372226657","file5":"1372226661","file3":"1372226654"},"map_files_photo_id_array":[{"photo_id":"1372226661","filename":"file5"},{"photo_id":"1372226641","filename":"file2"},{"photo_id":"1372226657","filename":"file4"},{"photo_id":"1372226635","filename":"file1"},{"photo_id":"1372226630","filename":"file0"},{"photo_id":"1372226654","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226641":["hashtag1","hashtag2"]},{"1372226635":["hashtag1","hashtag2"]},{"1372226661":["hashtag1","hashtag2"]},{"1372226654":["hashtag1","hashtag2"]},{"1372226657":["hashtag1","hashtag2"]},{"1372226630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226641, 1372226635, 1372226661, 1372226654, 1372226657, 1372226630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.28021430969238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:11:42.122243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_04_2563.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_28_2625.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_44_3657.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_46_2683.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_49_2624.jpg', '/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_53_3620.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_04_2563.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_28_2625.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_44_3657.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_46_2683.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_49_2624.jpg
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_53_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226701","1372226707","1372226712","1372226687","1372226696","1372226678"],"photo_ids_order":["1372226678","1372226687","1372226696","1372226701","1372226707","1372226712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34e76b17128297e411997815cf9edcc9.jpg","text":"TemporaryFile(/tmp/multipartBody2369217493009996429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_46_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd0696f6479cf358a6be73286d7b00eb.jpg","text":"TemporaryFile(/tmp/multipartBody2537515644398061778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_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/7/15/168e176b58020c028a015d5baf8230bb.jpg","text":"TemporaryFile(/tmp/multipartBody6596876304442186726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_53_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b665f91822f1100883ff2add26b8ecf8.jpg","text":"TemporaryFile(/tmp/multipartBody7740976125810152198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/82fa2dea740f2d9be624d79c6732497a.jpg","text":"TemporaryFile(/tmp/multipartBody1500103134429000833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_44_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f364fae8605d6f4ffc129ed3b1be005.jpg","text":"TemporaryFile(/tmp/multipartBody4548670075109059941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606763220,"filename":"image_15072025_18_42_04_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226696","file1":"1372226687","file0":"1372226678","file4":"1372226707","file5":"1372226712","file3":"1372226701"},"map_files_photo_id_array":[{"photo_id":"1372226712","filename":"file5"},{"photo_id":"1372226696","filename":"file2"},{"photo_id":"1372226707","filename":"file4"},{"photo_id":"1372226687","filename":"file1"},{"photo_id":"1372226678","filename":"file0"},{"photo_id":"1372226701","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226701":["hashtag1","hashtag2"]},{"1372226707":["hashtag1","hashtag2"]},{"1372226712":["hashtag1","hashtag2"]},{"1372226687":["hashtag1","hashtag2"]},{"1372226696":["hashtag1","hashtag2"]},{"1372226678":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226701, 1372226707, 1372226712, 1372226687, 1372226696, 1372226678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.443076610565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:12:41.920472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_55_2637.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_01_2657.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_08_3681.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_10_2576.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_13_2539.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_17_3640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/42/image_15072025_18_42_55_2637.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_01_2657.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_08_3681.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_10_2576.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_13_2539.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_17_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226728","1372226742","1372226748","1372226733","1372226738","1372226723"],"photo_ids_order":["1372226723","1372226728","1372226733","1372226738","1372226742","1372226748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79937c0a8bcd25019d95f050cf2a0d55.jpg","text":"TemporaryFile(/tmp/multipartBody4106232905703334039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_43_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/7/15/df8149c1d88c62359821b3a966941fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3955314934235672171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_43_13_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e64a65eeafc716a2e4532014f9f035f8.jpg","text":"TemporaryFile(/tmp/multipartBody1415315447035165419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_43_17_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/90a52bf1856756fce56d001e2d98dd19.jpg","text":"TemporaryFile(/tmp/multipartBody4448258357916279050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_43_08_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e639a01043c0c60b380148c5ea05a0c2.jpg","text":"TemporaryFile(/tmp/multipartBody3480847140417554193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_43_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/7/15/87f2eccbe81622a340d1c643640a9610.jpg","text":"TemporaryFile(/tmp/multipartBody3040991216426979734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606823001,"filename":"image_15072025_18_42_55_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226733","file1":"1372226728","file0":"1372226723","file4":"1372226742","file5":"1372226748","file3":"1372226738"},"map_files_photo_id_array":[{"photo_id":"1372226748","filename":"file5"},{"photo_id":"1372226733","filename":"file2"},{"photo_id":"1372226742","filename":"file4"},{"photo_id":"1372226728","filename":"file1"},{"photo_id":"1372226723","filename":"file0"},{"photo_id":"1372226738","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226728":["hashtag1","hashtag2"]},{"1372226742":["hashtag1","hashtag2"]},{"1372226748":["hashtag1","hashtag2"]},{"1372226733":["hashtag1","hashtag2"]},{"1372226738":["hashtag1","hashtag2"]},{"1372226723":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226728, 1372226742, 1372226748, 1372226733, 1372226738, 1372226723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82844948768616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:13:42.322734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_19_2583.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_22_2754.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_26_3673.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_28_2573.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_32_3597.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_34_2669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_19_2583.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_22_2754.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_26_3673.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_28_2573.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_32_3597.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_34_2669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.671405553817749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:14:03.133306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_19_2583.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_22_2754.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_26_3673.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_28_2573.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_32_3597.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_34_2669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_19_2583.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_22_2754.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_26_3673.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_28_2573.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_32_3597.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_34_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226782","1372226770","1372226787","1372226792","1372226774","1372226777"],"photo_ids_order":["1372226770","1372226774","1372226777","1372226782","1372226787","1372226792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8676e76b98eab4f2f38435024952ca26.jpg","text":"TemporaryFile(/tmp/multipartBody41015678764156167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_28_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e20961f93a9522c125825503211067b3.jpg","text":"TemporaryFile(/tmp/multipartBody8379161704620837586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_19_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5cec7356dbf092d1de39267073b4a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7779944555174655977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_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/7/15/c7a5600681674c2ba1cd5493baf5df0e.jpg","text":"TemporaryFile(/tmp/multipartBody8784317570527387709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0a0e9395bbffa3758fb5bf5463e0a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5040331560075959422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_22_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ec71e1c133f8ce396d6231c3c617c73.jpg","text":"TemporaryFile(/tmp/multipartBody4933455314652605301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606904371,"filename":"image_15072025_18_43_26_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226777","file1":"1372226774","file0":"1372226770","file4":"1372226787","file5":"1372226792","file3":"1372226782"},"map_files_photo_id_array":[{"photo_id":"1372226792","filename":"file5"},{"photo_id":"1372226777","filename":"file2"},{"photo_id":"1372226787","filename":"file4"},{"photo_id":"1372226774","filename":"file1"},{"photo_id":"1372226770","filename":"file0"},{"photo_id":"1372226782","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226782":["hashtag1","hashtag2"]},{"1372226770":["hashtag1","hashtag2"]},{"1372226787":["hashtag1","hashtag2"]},{"1372226792":["hashtag1","hashtag2"]},{"1372226774":["hashtag1","hashtag2"]},{"1372226777":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226782, 1372226770, 1372226787, 1372226792, 1372226774, 1372226777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.91071605682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:15:03.076709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_37_2683.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_41_3575.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_43_2636.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_46_2600.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_49_2887.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_53_3692.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_37_2683.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_41_3575.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_43_2636.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_46_2600.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_49_2887.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_53_3692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.799597978591919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:15:22.574208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_37_2683.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_41_3575.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_43_2636.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_46_2600.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_49_2887.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_53_3692.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_37_2683.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_41_3575.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_43_2636.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_46_2600.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_49_2887.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_53_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226830","1372226860","1372226842","1372226853","1372226858","1372226837"],"photo_ids_order":["1372226830","1372226837","1372226842","1372226853","1372226858","1372226860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b96a649d43e2ae5c40d0da9f21edae8e.jpg","text":"TemporaryFile(/tmp/multipartBody4927801576122361932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_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/7/15/88242942b48b8f5f9ae2570ac3695f92.jpg","text":"TemporaryFile(/tmp/multipartBody1890589709876757988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_53_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1554e498132644812eac6b0b402d68e4.jpg","text":"TemporaryFile(/tmp/multipartBody7302885115418215238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_43_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/858efbc9e13280f3699b18235bc70b73.jpg","text":"TemporaryFile(/tmp/multipartBody6951108077379079327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_46_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6583cd337cf40ab406ae3245e97c127.jpg","text":"TemporaryFile(/tmp/multipartBody391428287826792610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_49_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ecce314cdaf227afb9895e8d1bc39221.jpg","text":"TemporaryFile(/tmp/multipartBody396054067865234157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752606983619,"filename":"image_15072025_18_43_41_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226842","file1":"1372226837","file0":"1372226830","file4":"1372226858","file5":"1372226860","file3":"1372226853"},"map_files_photo_id_array":[{"photo_id":"1372226860","filename":"file5"},{"photo_id":"1372226842","filename":"file2"},{"photo_id":"1372226858","filename":"file4"},{"photo_id":"1372226837","filename":"file1"},{"photo_id":"1372226830","filename":"file0"},{"photo_id":"1372226853","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226830":["hashtag1","hashtag2"]},{"1372226860":["hashtag1","hashtag2"]},{"1372226842":["hashtag1","hashtag2"]},{"1372226853":["hashtag1","hashtag2"]},{"1372226858":["hashtag1","hashtag2"]},{"1372226837":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226830, 1372226860, 1372226842, 1372226853, 1372226858, 1372226837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.04967474937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:16:22.427313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_55_2611.jpg', '/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_58_2839.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_02_3557.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_04_2791.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_07_2617.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_11_3674.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_55_2611.jpg
/home/pi/Desktop/images/15072025/18/43/image_15072025_18_43_58_2839.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_02_3557.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_04_2791.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_07_2617.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_11_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372226896","1372226881","1372226878","1372226887","1372226902","1372226871"],"photo_ids_order":["1372226871","1372226878","1372226881","1372226887","1372226896","1372226902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8a0871c8e646a325041f56d486e87911.jpg","text":"TemporaryFile(/tmp/multipartBody2193689648387098797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_44_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/7/15/09eaa2ddde92a3171b4d52cc11819589.jpg","text":"TemporaryFile(/tmp/multipartBody6401249944999623960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_44_02_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f7232f0a80f43ae1cb76595bb5e6333.jpg","text":"TemporaryFile(/tmp/multipartBody843855972377359792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_43_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/7/15/ed5b27472f01720da1f500e675262ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2136285078509939858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_44_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/7/15/e5faf170dbb91b0c178c41e401e692a5.jpg","text":"TemporaryFile(/tmp/multipartBody274504169106506495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_44_11_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47cefb0ee9c19831d297e0aa8060c029.jpg","text":"TemporaryFile(/tmp/multipartBody1721839627284120048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607043464,"filename":"image_15072025_18_43_55_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226881","file1":"1372226878","file0":"1372226871","file4":"1372226896","file5":"1372226902","file3":"1372226887"},"map_files_photo_id_array":[{"photo_id":"1372226902","filename":"file5"},{"photo_id":"1372226881","filename":"file2"},{"photo_id":"1372226896","filename":"file4"},{"photo_id":"1372226878","filename":"file1"},{"photo_id":"1372226871","filename":"file0"},{"photo_id":"1372226887","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226896":["hashtag1","hashtag2"]},{"1372226881":["hashtag1","hashtag2"]},{"1372226878":["hashtag1","hashtag2"]},{"1372226887":["hashtag1","hashtag2"]},{"1372226902":["hashtag1","hashtag2"]},{"1372226871":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226896, 1372226881, 1372226878, 1372226887, 1372226902, 1372226871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.500149726867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:17:22.924666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_13_2757.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_16_2644.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_19_2779.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_23_3761.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_25_2565.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_28_2654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_13_2757.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_16_2644.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_19_2779.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_23_3761.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_25_2565.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_28_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":["1372226912","1372226935","1372226931","1372226919","1372226928","1372226915"],"photo_ids_order":["1372226912","1372226915","1372226919","1372226928","1372226931","1372226935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c2c1a177a558d56daed7822c70ce30e.jpg","text":"TemporaryFile(/tmp/multipartBody722969134695735664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_13_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0275c18b4460f5c401033f0f8b5d4d01.jpg","text":"TemporaryFile(/tmp/multipartBody4627149945560227260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_28_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/056201ebb4acd4575411136496308c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4743149316446148695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_25_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c9d3215bbc12e6c74d98ed41153a6d2c.jpg","text":"TemporaryFile(/tmp/multipartBody991905378120931144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_19_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8dcec3bf4c7e4b66c09a5be422ea16d6.jpg","text":"TemporaryFile(/tmp/multipartBody8738707521040529703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_23_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/013af0b9d2b18dc20255b15962ed55ed.jpg","text":"TemporaryFile(/tmp/multipartBody5189553010807252701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607103983,"filename":"image_15072025_18_44_16_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226919","file1":"1372226915","file0":"1372226912","file4":"1372226931","file5":"1372226935","file3":"1372226928"},"map_files_photo_id_array":[{"photo_id":"1372226935","filename":"file5"},{"photo_id":"1372226919","filename":"file2"},{"photo_id":"1372226931","filename":"file4"},{"photo_id":"1372226915","filename":"file1"},{"photo_id":"1372226912","filename":"file0"},{"photo_id":"1372226928","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226912":["hashtag1","hashtag2"]},{"1372226935":["hashtag1","hashtag2"]},{"1372226931":["hashtag1","hashtag2"]},{"1372226919":["hashtag1","hashtag2"]},{"1372226928":["hashtag1","hashtag2"]},{"1372226915":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226912, 1372226935, 1372226931, 1372226919, 1372226928, 1372226915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.03839468955994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:18:22.482253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_32_3856.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_34_2779.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_40_2559.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_44_3879.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_46_2595.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_49_2728.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_32_3856.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_34_2779.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_40_2559.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_44_3879.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_46_2595.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_49_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":["1372226962","1372226965","1372226949","1372226958","1372226952","1372226945"],"photo_ids_order":["1372226945","1372226949","1372226952","1372226958","1372226962","1372226965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/718ee4a9b30ca31c55891fbef2ea96df.jpg","text":"TemporaryFile(/tmp/multipartBody6888507073525114039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_46_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d20ef2143f64a1f10488d3d43291f271.jpg","text":"TemporaryFile(/tmp/multipartBody6472635687244851925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_49_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c8524506948b5effc649cc71776bd672.jpg","text":"TemporaryFile(/tmp/multipartBody6316609329226040436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_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/7/15/d0590f6c739cdb28316239885ee0a3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6573876144655117167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_44_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f11d4c018b35b5e6d6b4d4c1eb25e43.jpg","text":"TemporaryFile(/tmp/multipartBody9082036721137360571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_40_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd2bc3fa54f88741dbdfa0fac2b002e2.jpg","text":"TemporaryFile(/tmp/multipartBody8631464564000953891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607163552,"filename":"image_15072025_18_44_32_3856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226952","file1":"1372226949","file0":"1372226945","file4":"1372226962","file5":"1372226965","file3":"1372226958"},"map_files_photo_id_array":[{"photo_id":"1372226965","filename":"file5"},{"photo_id":"1372226952","filename":"file2"},{"photo_id":"1372226962","filename":"file4"},{"photo_id":"1372226949","filename":"file1"},{"photo_id":"1372226945","filename":"file0"},{"photo_id":"1372226958","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226962":["hashtag1","hashtag2"]},{"1372226965":["hashtag1","hashtag2"]},{"1372226949":["hashtag1","hashtag2"]},{"1372226958":["hashtag1","hashtag2"]},{"1372226952":["hashtag1","hashtag2"]},{"1372226945":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226962, 1372226965, 1372226949, 1372226958, 1372226952, 1372226945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.194748640060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:19:21.882168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_52_2773.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_55_3757.jpg', '/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_58_2739.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_01_2608.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_05_3804.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_07_2679.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_52_2773.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_55_3757.jpg
/home/pi/Desktop/images/15072025/18/44/image_15072025_18_44_58_2739.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_01_2608.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_05_3804.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_07_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":["1372226980","1372226986","1372227001","1372227006","1372227009","1372226984"],"photo_ids_order":["1372226980","1372226984","1372226986","1372227001","1372227006","1372227009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b5f578bebc64891c8a18667270398e49.jpg","text":"TemporaryFile(/tmp/multipartBody5895656696398858194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_44_52_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2918637fd6f071287aa98454e1904a38.jpg","text":"TemporaryFile(/tmp/multipartBody3461504542123425446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_44_58_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1a2f4975a7bb3791a57fdb785e6f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3717942249697198503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_45_01_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/68567cff3897111958e4bf457056df17.jpg","text":"TemporaryFile(/tmp/multipartBody9085689091823532979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_45_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/7/15/072ddf610167a1d08af0f17d3211fcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2661017742838792839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_45_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/7/15/68b72d699ea21a29586e13c88f8e84fa.jpg","text":"TemporaryFile(/tmp/multipartBody7441648118414028673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607222981,"filename":"image_15072025_18_44_55_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372226986","file1":"1372226984","file0":"1372226980","file4":"1372227006","file5":"1372227009","file3":"1372227001"},"map_files_photo_id_array":[{"photo_id":"1372227009","filename":"file5"},{"photo_id":"1372226986","filename":"file2"},{"photo_id":"1372227006","filename":"file4"},{"photo_id":"1372226984","filename":"file1"},{"photo_id":"1372226980","filename":"file0"},{"photo_id":"1372227001","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372226980":["hashtag1","hashtag2"]},{"1372226986":["hashtag1","hashtag2"]},{"1372227001":["hashtag1","hashtag2"]},{"1372227006":["hashtag1","hashtag2"]},{"1372227009":["hashtag1","hashtag2"]},{"1372226984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372226980, 1372226986, 1372227001, 1372227006, 1372227009, 1372226984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01872944831848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:20:22.220381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_10_2599.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_13_2819.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_16_3546.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_19_2630.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_22_3563.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_25_2687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_10_2599.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_13_2819.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_16_3546.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_19_2630.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_22_3563.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_25_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227049","1372227033","1372227041","1372227029","1372227038","1372227023"],"photo_ids_order":["1372227023","1372227029","1372227033","1372227038","1372227041","1372227049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/438f5c9df601ac2d9e70a6842a4e70ae.jpg","text":"TemporaryFile(/tmp/multipartBody3894461340435302574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_25_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/970cfbee66c4824cfab2981e58266006.jpg","text":"TemporaryFile(/tmp/multipartBody6540916651940481863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_16_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd70bb24031265e97d2bf7d8480cfd01.jpg","text":"TemporaryFile(/tmp/multipartBody3742508673780686811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_22_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3146b7ae72fd3830289ba4f289fce743.jpg","text":"TemporaryFile(/tmp/multipartBody3798060788558249584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_13_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9a74a8e2cb86a9bb74e4b5c9752c84e1.jpg","text":"TemporaryFile(/tmp/multipartBody3572716357068104997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_19_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b112aec0cbe3ec20230aa3b46265e50.jpg","text":"TemporaryFile(/tmp/multipartBody6903729028474555006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607283320,"filename":"image_15072025_18_45_10_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227033","file1":"1372227029","file0":"1372227023","file4":"1372227041","file5":"1372227049","file3":"1372227038"},"map_files_photo_id_array":[{"photo_id":"1372227049","filename":"file5"},{"photo_id":"1372227033","filename":"file2"},{"photo_id":"1372227041","filename":"file4"},{"photo_id":"1372227029","filename":"file1"},{"photo_id":"1372227023","filename":"file0"},{"photo_id":"1372227038","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227049":["hashtag1","hashtag2"]},{"1372227033":["hashtag1","hashtag2"]},{"1372227041":["hashtag1","hashtag2"]},{"1372227029":["hashtag1","hashtag2"]},{"1372227038":["hashtag1","hashtag2"]},{"1372227023":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227049, 1372227033, 1372227041, 1372227029, 1372227038, 1372227023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.66334342956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:21:22.631774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_31_2734.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_34_3614.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_43_3592.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_46_2684.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_49_2983.jpg', '/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_52_2572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_31_2734.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_34_3614.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_43_3592.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_46_2684.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_49_2983.jpg
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_52_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227084","1372227063","1372227080","1372227077","1372227074","1372227068"],"photo_ids_order":["1372227063","1372227068","1372227074","1372227077","1372227080","1372227084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70eb1a9a9b8396d107474b74595130f0.jpg","text":"TemporaryFile(/tmp/multipartBody204434757908624474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_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/7/15/bf6c328e89ea583247aa2046cc2b1c18.jpg","text":"TemporaryFile(/tmp/multipartBody2964463969023838615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_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/7/15/e9dd1a93312a34bb2109f69b34261c86.jpg","text":"TemporaryFile(/tmp/multipartBody1413154295300639657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_49_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/98c26f84ea2fd609c5ee70d9c5e9fa95.jpg","text":"TemporaryFile(/tmp/multipartBody1746795447088136365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_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/7/15/e1d0d989a7d211722acef875766ec79c.jpg","text":"TemporaryFile(/tmp/multipartBody8449850628898588397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_43_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/034acc34aa3970ee778a5cdf48785a06.jpg","text":"TemporaryFile(/tmp/multipartBody2572299369402135816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607343737,"filename":"image_15072025_18_45_34_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227074","file1":"1372227068","file0":"1372227063","file4":"1372227080","file5":"1372227084","file3":"1372227077"},"map_files_photo_id_array":[{"photo_id":"1372227084","filename":"file5"},{"photo_id":"1372227074","filename":"file2"},{"photo_id":"1372227080","filename":"file4"},{"photo_id":"1372227068","filename":"file1"},{"photo_id":"1372227063","filename":"file0"},{"photo_id":"1372227077","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227084":["hashtag1","hashtag2"]},{"1372227063":["hashtag1","hashtag2"]},{"1372227080":["hashtag1","hashtag2"]},{"1372227077":["hashtag1","hashtag2"]},{"1372227074":["hashtag1","hashtag2"]},{"1372227068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227084, 1372227063, 1372227080, 1372227077, 1372227074, 1372227068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90073871612549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:22:22.171063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_55_3620.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_01_2604.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_04_3737.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_07_2761.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_10_2662.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_13_2794.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/45/image_15072025_18_45_55_3620.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_01_2604.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_04_3737.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_07_2761.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_10_2662.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_13_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":["1372227106","1372227102","1372227111","1372227114","1372227098","1372227122"],"photo_ids_order":["1372227098","1372227102","1372227106","1372227111","1372227114","1372227122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dfc95ae938cef14ae22a8d4ece81eeb4.jpg","text":"TemporaryFile(/tmp/multipartBody27573678025671381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_46_04_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc8e69f542b3edd1c731b9326eb0dddd.jpg","text":"TemporaryFile(/tmp/multipartBody6946406218060035659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_46_01_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81ecd08ae19398c473aaba32ed010239.jpg","text":"TemporaryFile(/tmp/multipartBody7746192496232914544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_46_07_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ad2c8d8220566a2e0e66aec0097fec9.jpg","text":"TemporaryFile(/tmp/multipartBody4357502578480990326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_46_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/7/15/5e971ea892cbd6f0dd965c9a72f120f8.jpg","text":"TemporaryFile(/tmp/multipartBody4692328750224883662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_45_55_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/19a402819daac9f08f76c9c703495df6.jpg","text":"TemporaryFile(/tmp/multipartBody8370853504754432815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607403295,"filename":"image_15072025_18_46_13_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227106","file1":"1372227102","file0":"1372227098","file4":"1372227114","file5":"1372227122","file3":"1372227111"},"map_files_photo_id_array":[{"photo_id":"1372227122","filename":"file5"},{"photo_id":"1372227106","filename":"file2"},{"photo_id":"1372227114","filename":"file4"},{"photo_id":"1372227102","filename":"file1"},{"photo_id":"1372227098","filename":"file0"},{"photo_id":"1372227111","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227106":["hashtag1","hashtag2"]},{"1372227102":["hashtag1","hashtag2"]},{"1372227111":["hashtag1","hashtag2"]},{"1372227114":["hashtag1","hashtag2"]},{"1372227098":["hashtag1","hashtag2"]},{"1372227122":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227106, 1372227102, 1372227111, 1372227114, 1372227098, 1372227122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26214575767517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:23:22.489872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_17_3815.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_19_2758.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_22_2607.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_25_3544.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_28_2598.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_31_2603.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_17_3815.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_19_2758.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_22_2607.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_25_3544.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_28_2598.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_31_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227168","1372227141","1372227164","1372227146","1372227137","1372227160"],"photo_ids_order":["1372227137","1372227141","1372227146","1372227160","1372227164","1372227168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed8e45492d3111053c793501f0139dff.jpg","text":"TemporaryFile(/tmp/multipartBody9121257709331418411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_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/7/15/cbdce493d833156c5d6804b984ab3b22.jpg","text":"TemporaryFile(/tmp/multipartBody3187023985013882678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_19_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a46c6cb237a6cdf65a133792fefb5224.jpg","text":"TemporaryFile(/tmp/multipartBody6486739143284960307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_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/7/15/a20500c7e823105e7c8b6e7d5bfe1dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2343373728222830812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_22_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea9cc1e336c226098b2aaff4c3a90a92.jpg","text":"TemporaryFile(/tmp/multipartBody334296928487557402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_17_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fdb3cd4447f92c53896257a88e7f1166.jpg","text":"TemporaryFile(/tmp/multipartBody1630038417587918344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607463595,"filename":"image_15072025_18_46_25_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227146","file1":"1372227141","file0":"1372227137","file4":"1372227164","file5":"1372227168","file3":"1372227160"},"map_files_photo_id_array":[{"photo_id":"1372227168","filename":"file5"},{"photo_id":"1372227146","filename":"file2"},{"photo_id":"1372227164","filename":"file4"},{"photo_id":"1372227141","filename":"file1"},{"photo_id":"1372227137","filename":"file0"},{"photo_id":"1372227160","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227168":["hashtag1","hashtag2"]},{"1372227141":["hashtag1","hashtag2"]},{"1372227164":["hashtag1","hashtag2"]},{"1372227146":["hashtag1","hashtag2"]},{"1372227137":["hashtag1","hashtag2"]},{"1372227160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227168, 1372227141, 1372227164, 1372227146, 1372227137, 1372227160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41587281227112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:24:22.077311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_34_3684.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_37_2808.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_40_2742.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_43_2747.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_46_3616.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_49_2858.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_34_3684.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_37_2808.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_40_2742.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_43_2747.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_46_3616.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_49_2858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227195","1372227183","1372227188","1372227191","1372227179","1372227206"],"photo_ids_order":["1372227179","1372227183","1372227188","1372227191","1372227195","1372227206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a12ac8467f7bc62c1d22b996c506fad.jpg","text":"TemporaryFile(/tmp/multipartBody111608552539804415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_46_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/292964d2cfce888930d52209c6c90a24.jpg","text":"TemporaryFile(/tmp/multipartBody6334902916778884854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_37_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a82bcb2ee44227b599c9d5422735058.jpg","text":"TemporaryFile(/tmp/multipartBody7764446722563767504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_40_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1cced0aa992140fb8034f03f08091e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4074699171939002754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_43_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2dacc5d25aae61c31c58e87623d7cde.jpg","text":"TemporaryFile(/tmp/multipartBody5438129930768397625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_34_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2df8bce260a558e4dcd6e2c73f7dc32a.jpg","text":"TemporaryFile(/tmp/multipartBody8210331641343078304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607523238,"filename":"image_15072025_18_46_49_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227188","file1":"1372227183","file0":"1372227179","file4":"1372227195","file5":"1372227206","file3":"1372227191"},"map_files_photo_id_array":[{"photo_id":"1372227206","filename":"file5"},{"photo_id":"1372227188","filename":"file2"},{"photo_id":"1372227195","filename":"file4"},{"photo_id":"1372227183","filename":"file1"},{"photo_id":"1372227179","filename":"file0"},{"photo_id":"1372227191","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227195":["hashtag1","hashtag2"]},{"1372227183":["hashtag1","hashtag2"]},{"1372227188":["hashtag1","hashtag2"]},{"1372227191":["hashtag1","hashtag2"]},{"1372227179":["hashtag1","hashtag2"]},{"1372227206":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227195, 1372227183, 1372227188, 1372227191, 1372227179, 1372227206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.72486352920532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:25:22.571261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_52_2656.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_55_2817.jpg', '/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_58_3821.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_04_2696.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_07_2884.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_10_3560.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_52_2656.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_55_2817.jpg
/home/pi/Desktop/images/15072025/18/46/image_15072025_18_46_58_3821.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_04_2696.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_07_2884.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_10_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":["1372227226","1372227243","1372227239","1372227230","1372227236","1372227221"],"photo_ids_order":["1372227221","1372227226","1372227230","1372227236","1372227239","1372227243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/423baf1be5767b652bb0552d6df87a6d.jpg","text":"TemporaryFile(/tmp/multipartBody831771203348467950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_46_55_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e36ebf24f18783193fb0f5609f64b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody72411957280845944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_47_10_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4df84a3e9e0934c6b56b550e20448f0.jpg","text":"TemporaryFile(/tmp/multipartBody2774526472235187533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_47_07_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/167d2f52345bcbae6cb8d63ab5bd4052.jpg","text":"TemporaryFile(/tmp/multipartBody6923355671275902691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_46_58_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bb6e88e9aa89693cce6ed25e4c1647bb.jpg","text":"TemporaryFile(/tmp/multipartBody4620072152687337709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_47_04_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e0bf72ab5374410416fc4e1406c7c6b.jpg","text":"TemporaryFile(/tmp/multipartBody5889524646400715075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607583693,"filename":"image_15072025_18_46_52_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227230","file1":"1372227226","file0":"1372227221","file4":"1372227239","file5":"1372227243","file3":"1372227236"},"map_files_photo_id_array":[{"photo_id":"1372227243","filename":"file5"},{"photo_id":"1372227230","filename":"file2"},{"photo_id":"1372227239","filename":"file4"},{"photo_id":"1372227226","filename":"file1"},{"photo_id":"1372227221","filename":"file0"},{"photo_id":"1372227236","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227226":["hashtag1","hashtag2"]},{"1372227243":["hashtag1","hashtag2"]},{"1372227239":["hashtag1","hashtag2"]},{"1372227230":["hashtag1","hashtag2"]},{"1372227236":["hashtag1","hashtag2"]},{"1372227221":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227226, 1372227243, 1372227239, 1372227230, 1372227236, 1372227221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.0325083732605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:26:22.262785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_16_2548.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_19_3623.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_31_2671.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_34_2742.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_40_3697.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_52_2775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_16_2548.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_19_3623.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_31_2671.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_34_2742.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_40_3697.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_52_2775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7137305736541748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:26:42.240321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_16_2548.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_19_3623.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_31_2671.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_34_2742.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_40_3697.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_52_2775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_16_2548.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_19_3623.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_31_2671.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_34_2742.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_40_3697.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_52_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227277","1372227284","1372227271","1372227289","1372227280","1372227268"],"photo_ids_order":["1372227268","1372227271","1372227277","1372227280","1372227284","1372227289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17a8271e6fdb32da22902a2f64dd21f9.jpg","text":"TemporaryFile(/tmp/multipartBody7730014273136088892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_31_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ec3603aaecb3b383fe143ff9e20521c.jpg","text":"TemporaryFile(/tmp/multipartBody4998375805355702834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_40_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6b6848f0bf65b8920028fe0599ad8e36.jpg","text":"TemporaryFile(/tmp/multipartBody5790254789719853557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_19_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/be83c9e86d4edfb9bf6d51a145399a99.jpg","text":"TemporaryFile(/tmp/multipartBody4346797702070616030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_52_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1bfbeedc67c81e563b9766398c2182de.jpg","text":"TemporaryFile(/tmp/multipartBody2536841713811821293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_34_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31e18cbbe75c09a68ceab2213848e38c.jpg","text":"TemporaryFile(/tmp/multipartBody2146371999637947310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607663399,"filename":"image_15072025_18_47_16_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227277","file1":"1372227271","file0":"1372227268","file4":"1372227284","file5":"1372227289","file3":"1372227280"},"map_files_photo_id_array":[{"photo_id":"1372227289","filename":"file5"},{"photo_id":"1372227277","filename":"file2"},{"photo_id":"1372227284","filename":"file4"},{"photo_id":"1372227271","filename":"file1"},{"photo_id":"1372227268","filename":"file0"},{"photo_id":"1372227280","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227277":["hashtag1","hashtag2"]},{"1372227284":["hashtag1","hashtag2"]},{"1372227271":["hashtag1","hashtag2"]},{"1372227289":["hashtag1","hashtag2"]},{"1372227280":["hashtag1","hashtag2"]},{"1372227268":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227277, 1372227284, 1372227271, 1372227289, 1372227280, 1372227268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45192813873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:27:42.487811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_55_2662.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_58_3592.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_01_2679.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_04_2734.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_07_2750.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_10_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_55_2662.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_58_3592.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_01_2679.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_04_2734.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_07_2750.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_10_3592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7105286121368408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:28:02.898421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_55_2662.jpg', '/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_58_3592.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_01_2679.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_04_2734.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_07_2750.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_10_3592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_55_2662.jpg
/home/pi/Desktop/images/15072025/18/47/image_15072025_18_47_58_3592.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_01_2679.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_04_2734.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_07_2750.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_10_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227331","1372227339","1372227327","1372227315","1372227324","1372227320"],"photo_ids_order":["1372227315","1372227320","1372227324","1372227327","1372227331","1372227339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a8605a54c16e54638d734c6f5aa36b3.jpg","text":"TemporaryFile(/tmp/multipartBody3676897760358917377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_48_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/7/15/f085a5a7776815fe0ad8e14b55484970.jpg","text":"TemporaryFile(/tmp/multipartBody7353731105457912194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_48_10_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40093ef026b1b02c22f437966f967c92.jpg","text":"TemporaryFile(/tmp/multipartBody2600388904942545672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_48_04_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09ef9807e151bcfa28276256b947f4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6378725811670220859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_47_55_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d8c7ec0d31c0879b207688f925315a5.jpg","text":"TemporaryFile(/tmp/multipartBody7271907833355462727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_48_01_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/790dc5ed170ad503da0ecaf4aa55d4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6314366842544716096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607744073,"filename":"image_15072025_18_47_58_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227324","file1":"1372227320","file0":"1372227315","file4":"1372227331","file5":"1372227339","file3":"1372227327"},"map_files_photo_id_array":[{"photo_id":"1372227339","filename":"file5"},{"photo_id":"1372227324","filename":"file2"},{"photo_id":"1372227331","filename":"file4"},{"photo_id":"1372227320","filename":"file1"},{"photo_id":"1372227315","filename":"file0"},{"photo_id":"1372227327","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227331":["hashtag1","hashtag2"]},{"1372227339":["hashtag1","hashtag2"]},{"1372227327":["hashtag1","hashtag2"]},{"1372227315":["hashtag1","hashtag2"]},{"1372227324":["hashtag1","hashtag2"]},{"1372227320":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227331, 1372227339, 1372227327, 1372227315, 1372227324, 1372227320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30184841156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:29:03.840970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_13_2662.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_15_2618.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_19_3515.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_25_3646.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_43_3509.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_46_2582.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_13_2662.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_15_2618.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_19_3515.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_25_3646.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_43_3509.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_46_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227376","1372227355","1372227366","1372227351","1372227360","1372227348"],"photo_ids_order":["1372227348","1372227351","1372227355","1372227360","1372227366","1372227376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1afa1ebd62dcb61836a22a704db29404.jpg","text":"TemporaryFile(/tmp/multipartBody6808828976730174319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_46_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b91360c0408bbb70b495eb4670ad46ad.jpg","text":"TemporaryFile(/tmp/multipartBody7053580389407489118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_19_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e518db96f965eff6625d121ccada025.jpg","text":"TemporaryFile(/tmp/multipartBody8923105052713884288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_43_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b6bfd47f7c45a554dca0f6a495308e0.jpg","text":"TemporaryFile(/tmp/multipartBody8610455397629883820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_15_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/53eb35f2ae514fb61af08ef109a3b988.jpg","text":"TemporaryFile(/tmp/multipartBody7657364128906678987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_25_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1ffa43937569d6f8257b1541ca5bd522.jpg","text":"TemporaryFile(/tmp/multipartBody8834888758756619047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607805173,"filename":"image_15072025_18_48_13_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227355","file1":"1372227351","file0":"1372227348","file4":"1372227366","file5":"1372227376","file3":"1372227360"},"map_files_photo_id_array":[{"photo_id":"1372227376","filename":"file5"},{"photo_id":"1372227355","filename":"file2"},{"photo_id":"1372227366","filename":"file4"},{"photo_id":"1372227351","filename":"file1"},{"photo_id":"1372227348","filename":"file0"},{"photo_id":"1372227360","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227376":["hashtag1","hashtag2"]},{"1372227355":["hashtag1","hashtag2"]},{"1372227366":["hashtag1","hashtag2"]},{"1372227351":["hashtag1","hashtag2"]},{"1372227360":["hashtag1","hashtag2"]},{"1372227348":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227376, 1372227355, 1372227366, 1372227351, 1372227360, 1372227348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.874727964401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:30:02.828486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_48_2729.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_52_3650.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_55_2632.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_49_00_2830.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_10_3679.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_34_2730.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_48_2729.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_52_3650.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_55_2632.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_49_00_2830.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_10_3679.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_34_2730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.781259298324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:30:22.176038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_48_2729.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_52_3650.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_55_2632.jpg', '/home/pi/Desktop/images/15072025/18/48/image_15072025_18_49_00_2830.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_10_3679.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_34_2730.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_48_2729.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_52_3650.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_48_55_2632.jpg
/home/pi/Desktop/images/15072025/18/48/image_15072025_18_49_00_2830.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_10_3679.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_34_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227427","1372227430","1372227435","1372227417","1372227422","1372227431"],"photo_ids_order":["1372227417","1372227422","1372227427","1372227430","1372227431","1372227435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9067e374a7ed10dbf82e3846e1f5074a.jpg","text":"TemporaryFile(/tmp/multipartBody8133112147753635002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_48_55_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c4af2e485275cb5377bf34caed8452c7.jpg","text":"TemporaryFile(/tmp/multipartBody4969243986090388424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_49_00_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dc4a22329e0bfbc5830eb30eab2c0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4261786021569019471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_49_34_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/37999fc5199cb012cf0a4e6ee4dc3535.jpg","text":"TemporaryFile(/tmp/multipartBody5461494699220106811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_48_48_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3bc53e9d4188c5bdfd8088ceaa9c6b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6323744801697732924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_48_52_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f6aac86f6a63ee2e33c429443b1e0949.jpg","text":"TemporaryFile(/tmp/multipartBody3002834204148262335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607883327,"filename":"image_15072025_18_49_10_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227427","file1":"1372227422","file0":"1372227417","file4":"1372227431","file5":"1372227435","file3":"1372227430"},"map_files_photo_id_array":[{"photo_id":"1372227435","filename":"file5"},{"photo_id":"1372227427","filename":"file2"},{"photo_id":"1372227431","filename":"file4"},{"photo_id":"1372227422","filename":"file1"},{"photo_id":"1372227417","filename":"file0"},{"photo_id":"1372227430","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227427":["hashtag1","hashtag2"]},{"1372227430":["hashtag1","hashtag2"]},{"1372227435":["hashtag1","hashtag2"]},{"1372227417":["hashtag1","hashtag2"]},{"1372227422":["hashtag1","hashtag2"]},{"1372227431":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227427, 1372227430, 1372227435, 1372227417, 1372227422, 1372227431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.351146936416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:31:22.735707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_36_2719.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_43_2670.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_46_2769.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_52_3796.jpg', '/home/pi/Desktop/images/15072025/18/49/image_15072025_18_50_00_2687.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_07_2908.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_36_2719.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_43_2670.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_46_2769.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_49_52_3796.jpg
/home/pi/Desktop/images/15072025/18/49/image_15072025_18_50_00_2687.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_07_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":["1372227460","1372227448","1372227453","1372227461","1372227464","1372227458"],"photo_ids_order":["1372227448","1372227453","1372227458","1372227460","1372227461","1372227464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04a93c39a51633221171d230e4c8e81a.jpg","text":"TemporaryFile(/tmp/multipartBody8693011285608735410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_49_52_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62a3f33c3b2276639d695eee116fcb41.jpg","text":"TemporaryFile(/tmp/multipartBody704943421711131388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_49_36_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2be6953fbb37d300e591a4822fc610b1.jpg","text":"TemporaryFile(/tmp/multipartBody2843629833500481787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_49_43_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7c7cc4c5e1fd1a4ae8289e980a1339d.jpg","text":"TemporaryFile(/tmp/multipartBody7623669219605165879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_50_00_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03998692b6ea37d56450ccb884b829b2.jpg","text":"TemporaryFile(/tmp/multipartBody3040097499024758861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_50_07_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9019b02295483406f53516ccbc791cb9.jpg","text":"TemporaryFile(/tmp/multipartBody3249843984090284715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752607943852,"filename":"image_15072025_18_49_46_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227458","file1":"1372227453","file0":"1372227448","file4":"1372227461","file5":"1372227464","file3":"1372227460"},"map_files_photo_id_array":[{"photo_id":"1372227464","filename":"file5"},{"photo_id":"1372227458","filename":"file2"},{"photo_id":"1372227461","filename":"file4"},{"photo_id":"1372227453","filename":"file1"},{"photo_id":"1372227448","filename":"file0"},{"photo_id":"1372227460","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227460":["hashtag1","hashtag2"]},{"1372227448":["hashtag1","hashtag2"]},{"1372227453":["hashtag1","hashtag2"]},{"1372227461":["hashtag1","hashtag2"]},{"1372227464":["hashtag1","hashtag2"]},{"1372227458":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227460, 1372227448, 1372227453, 1372227461, 1372227464, 1372227458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.137272357940674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:32:22.358205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_12_2845.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_25_3540.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_28_2563.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_30_2757.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_58_3036.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_07_3670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_12_2845.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_25_3540.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_28_2563.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_30_2757.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_58_3036.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_07_3670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7290568351745605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:32:42.307568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_12_2845.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_25_3540.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_28_2563.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_30_2757.jpg', '/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_58_3036.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_07_3670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_12_2845.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_25_3540.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_28_2563.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_30_2757.jpg
/home/pi/Desktop/images/15072025/18/50/image_15072025_18_50_58_3036.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_07_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227514","1372227489","1372227510","1372227506","1372227499","1372227493"],"photo_ids_order":["1372227489","1372227493","1372227499","1372227506","1372227510","1372227514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/85a63ac63f1c4ec6f791459129415af8.jpg","text":"TemporaryFile(/tmp/multipartBody5180168140140617102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_51_07_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fad34c7fedd8791486a6638e08b578d1.jpg","text":"TemporaryFile(/tmp/multipartBody1043782074885503285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_50_12_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a69e0d57f373501abec5120b7a40795d.jpg","text":"TemporaryFile(/tmp/multipartBody9077289638914728065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_50_58_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c826d5573c8e543cd83105cecef1821f.jpg","text":"TemporaryFile(/tmp/multipartBody4804026819738570466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_50_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/7/15/492cee702a0ff7226a12d4e4692daf4d.jpg","text":"TemporaryFile(/tmp/multipartBody2722081405991513677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_50_28_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f37cf5076b52cf4b5b8ac8cedf6905f9.jpg","text":"TemporaryFile(/tmp/multipartBody7816324626982455265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608023434,"filename":"image_15072025_18_50_25_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227499","file1":"1372227493","file0":"1372227489","file4":"1372227510","file5":"1372227514","file3":"1372227506"},"map_files_photo_id_array":[{"photo_id":"1372227514","filename":"file5"},{"photo_id":"1372227499","filename":"file2"},{"photo_id":"1372227510","filename":"file4"},{"photo_id":"1372227493","filename":"file1"},{"photo_id":"1372227489","filename":"file0"},{"photo_id":"1372227506","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227514":["hashtag1","hashtag2"]},{"1372227489":["hashtag1","hashtag2"]},{"1372227510":["hashtag1","hashtag2"]},{"1372227506":["hashtag1","hashtag2"]},{"1372227499":["hashtag1","hashtag2"]},{"1372227493":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227514, 1372227489, 1372227510, 1372227506, 1372227499, 1372227493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45559334754944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:33:42.100961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_12_2777.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_16_3596.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_21_2687.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_25_3681.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_27_2549.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_30_2605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_12_2777.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_16_3596.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_21_2687.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_25_3681.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_27_2549.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_30_2605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7268052101135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:34:02.752119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_12_2777.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_16_3596.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_21_2687.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_25_3681.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_27_2549.jpg', '/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_30_2605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_12_2777.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_16_3596.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_21_2687.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_25_3681.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_27_2549.jpg
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_30_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227556","1372227552","1372227549","1372227540","1372227536","1372227545"],"photo_ids_order":["1372227536","1372227540","1372227545","1372227549","1372227552","1372227556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0afca8787c65570e8d4d1f13fcc73ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3464796967147851619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_30_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0ee7b971251e44cb5ded9f93f5c55c40.jpg","text":"TemporaryFile(/tmp/multipartBody1624583394469277814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_27_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdf15971fb4f5052304f87c14b7ac810.jpg","text":"TemporaryFile(/tmp/multipartBody3208346598514346455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_25_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dcdea1f01c334104142c28ff9df57701.jpg","text":"TemporaryFile(/tmp/multipartBody8488976713017679232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_16_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72bd9783af7b2247b7f3439ddc2d67a5.jpg","text":"TemporaryFile(/tmp/multipartBody5847094457154504004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_12_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e354dc63000924e3dd3cf440f20786a1.jpg","text":"TemporaryFile(/tmp/multipartBody6840666119501731832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608103978,"filename":"image_15072025_18_51_21_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227545","file1":"1372227540","file0":"1372227536","file4":"1372227552","file5":"1372227556","file3":"1372227549"},"map_files_photo_id_array":[{"photo_id":"1372227556","filename":"file5"},{"photo_id":"1372227545","filename":"file2"},{"photo_id":"1372227552","filename":"file4"},{"photo_id":"1372227540","filename":"file1"},{"photo_id":"1372227536","filename":"file0"},{"photo_id":"1372227549","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227556":["hashtag1","hashtag2"]},{"1372227552":["hashtag1","hashtag2"]},{"1372227549":["hashtag1","hashtag2"]},{"1372227540":["hashtag1","hashtag2"]},{"1372227536":["hashtag1","hashtag2"]},{"1372227545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227556, 1372227552, 1372227549, 1372227540, 1372227536, 1372227545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.781089544296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:35:02.691854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_34_3851.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_10_3758.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_13_2708.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_19_3565.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_22_2730.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_28_3554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_34_3851.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_10_3758.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_13_2708.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_19_3565.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_22_2730.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_28_3554.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8780226707458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:35:21.990751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_34_3851.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_10_3758.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_13_2708.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_19_3565.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_22_2730.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_28_3554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/51/image_15072025_18_51_34_3851.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_10_3758.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_13_2708.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_19_3565.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_22_2730.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_28_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227607","1372227585","1372227596","1372227600","1372227603","1372227592"],"photo_ids_order":["1372227585","1372227592","1372227596","1372227600","1372227603","1372227607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72676d1a73522ad16c6b17610b79e275.jpg","text":"TemporaryFile(/tmp/multipartBody2580797938465929373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_52_28_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d532793874caa6852a103a04f8c1574.jpg","text":"TemporaryFile(/tmp/multipartBody9164543433775316690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_51_34_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8616a29594879f5961e11a1cce3cfc9e.jpg","text":"TemporaryFile(/tmp/multipartBody7872622932100121699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_52_13_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f594e161d107010c4058f662fdaec481.jpg","text":"TemporaryFile(/tmp/multipartBody978563307879976170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_52_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/7/15/b7aa513a83ef81451e574ba404413d77.jpg","text":"TemporaryFile(/tmp/multipartBody8204327323874205162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_52_22_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c5e2fe3b3e25269423a43e4b442aa6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3411134265860366905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608183102,"filename":"image_15072025_18_52_10_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227596","file1":"1372227592","file0":"1372227585","file4":"1372227603","file5":"1372227607","file3":"1372227600"},"map_files_photo_id_array":[{"photo_id":"1372227607","filename":"file5"},{"photo_id":"1372227596","filename":"file2"},{"photo_id":"1372227603","filename":"file4"},{"photo_id":"1372227592","filename":"file1"},{"photo_id":"1372227585","filename":"file0"},{"photo_id":"1372227600","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227607":["hashtag1","hashtag2"]},{"1372227585":["hashtag1","hashtag2"]},{"1372227596":["hashtag1","hashtag2"]},{"1372227600":["hashtag1","hashtag2"]},{"1372227603":["hashtag1","hashtag2"]},{"1372227592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227607, 1372227585, 1372227596, 1372227600, 1372227603, 1372227592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.11302876472473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:36:22.121320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_33_2630.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_36_2898.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_45_2693.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_55_3554.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_57_2599.jpg', '/home/pi/Desktop/images/15072025/18/52/image_15072025_18_53_00_2684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_33_2630.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_36_2898.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_45_2693.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_55_3554.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_52_57_2599.jpg
/home/pi/Desktop/images/15072025/18/52/image_15072025_18_53_00_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227634","1372227637","1372227642","1372227645","1372227648","1372227626"],"photo_ids_order":["1372227626","1372227634","1372227637","1372227642","1372227645","1372227648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e29c17ce4d16c5eb5a752a854cb24611.jpg","text":"TemporaryFile(/tmp/multipartBody4010255159220903841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_52_36_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12c779dca97465c116d5fc873644858c.jpg","text":"TemporaryFile(/tmp/multipartBody300259424472421549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_52_45_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/387923443730abfc1bca9bd11c42b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody2612555535787816156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_52_55_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f1f7be380267f3e04b24307f9c5ae5e.jpg","text":"TemporaryFile(/tmp/multipartBody5272688934641680911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_52_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/7/15/5861e9564c5c39800e2a692387f2c2ca.jpg","text":"TemporaryFile(/tmp/multipartBody18150866972661641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_53_00_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0a43a30b5bd31444d2e617b5c3441f00.jpg","text":"TemporaryFile(/tmp/multipartBody3262456034784394797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608243242,"filename":"image_15072025_18_52_33_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227637","file1":"1372227634","file0":"1372227626","file4":"1372227645","file5":"1372227648","file3":"1372227642"},"map_files_photo_id_array":[{"photo_id":"1372227648","filename":"file5"},{"photo_id":"1372227637","filename":"file2"},{"photo_id":"1372227645","filename":"file4"},{"photo_id":"1372227634","filename":"file1"},{"photo_id":"1372227626","filename":"file0"},{"photo_id":"1372227642","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227634":["hashtag1","hashtag2"]},{"1372227637":["hashtag1","hashtag2"]},{"1372227642":["hashtag1","hashtag2"]},{"1372227645":["hashtag1","hashtag2"]},{"1372227648":["hashtag1","hashtag2"]},{"1372227626":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227634, 1372227637, 1372227642, 1372227645, 1372227648, 1372227626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.64021635055542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:37:22.490792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_04_3771.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_07_2703.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_09_2888.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_12_2727.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_21_2544.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_27_2631.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_04_3771.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_07_2703.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_09_2888.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_12_2727.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_21_2544.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_27_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227673","1372227687","1372227681","1372227684","1372227678","1372227691"],"photo_ids_order":["1372227673","1372227678","1372227681","1372227684","1372227687","1372227691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab709bd6d9fd93864e239b15aedc90ba.jpg","text":"TemporaryFile(/tmp/multipartBody2331557236972728755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_04_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea867c5fc79c632025b445018fa9d0ac.jpg","text":"TemporaryFile(/tmp/multipartBody5123489122042286758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_21_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d061b538cef547263dbe3e00f704bd54.jpg","text":"TemporaryFile(/tmp/multipartBody6207144969489921397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_09_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/26bcde394fdfa51fc7e381f7d77264c9.jpg","text":"TemporaryFile(/tmp/multipartBody849090121399023906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_12_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6ecfd980c3d98013349c0d7716c1497b.jpg","text":"TemporaryFile(/tmp/multipartBody8598072112159190565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_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/7/15/31693c0732a4fd8e693ca5db3e6ed36d.jpg","text":"TemporaryFile(/tmp/multipartBody8638878505166965991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608303620,"filename":"image_15072025_18_53_27_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227681","file1":"1372227678","file0":"1372227673","file4":"1372227687","file5":"1372227691","file3":"1372227684"},"map_files_photo_id_array":[{"photo_id":"1372227691","filename":"file5"},{"photo_id":"1372227681","filename":"file2"},{"photo_id":"1372227687","filename":"file4"},{"photo_id":"1372227678","filename":"file1"},{"photo_id":"1372227673","filename":"file0"},{"photo_id":"1372227684","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227673":["hashtag1","hashtag2"]},{"1372227687":["hashtag1","hashtag2"]},{"1372227681":["hashtag1","hashtag2"]},{"1372227684":["hashtag1","hashtag2"]},{"1372227678":["hashtag1","hashtag2"]},{"1372227691":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227673, 1372227687, 1372227681, 1372227684, 1372227678, 1372227691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.69778561592102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:38:22.110683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_39_2650.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_43_3620.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_45_2696.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_52_3715.jpg', '/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_54_2687.jpg', '/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_06_2553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_39_2650.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_43_3620.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_45_2696.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_52_3715.jpg
/home/pi/Desktop/images/15072025/18/53/image_15072025_18_53_54_2687.jpg
/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_06_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227706","1372227726","1372227728","1372227713","1372227722","1372227716"],"photo_ids_order":["1372227706","1372227713","1372227716","1372227722","1372227726","1372227728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2d89a977700f92914f0975c9cfe25f6.jpg","text":"TemporaryFile(/tmp/multipartBody112655351088166978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_53_39_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04b9a11b1761d8f6fd7c740423efaace.jpg","text":"TemporaryFile(/tmp/multipartBody8208252318087354148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_53_54_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/882b8a62a6f6446b5fb43632b535d52a.jpg","text":"TemporaryFile(/tmp/multipartBody2482279350300715612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_54_06_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/59750fc3d9bd35c12f4517df3792492b.jpg","text":"TemporaryFile(/tmp/multipartBody8096631361177459646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_53_43_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe5eb7088de96b648a9f1ceedd7f61f3.jpg","text":"TemporaryFile(/tmp/multipartBody7162414960629996685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_53_52_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/42a0cb3a2f028cd01f54472a16e5c45f.jpg","text":"TemporaryFile(/tmp/multipartBody7725091695292002029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608363233,"filename":"image_15072025_18_53_45_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227716","file1":"1372227713","file0":"1372227706","file4":"1372227726","file5":"1372227728","file3":"1372227722"},"map_files_photo_id_array":[{"photo_id":"1372227728","filename":"file5"},{"photo_id":"1372227716","filename":"file2"},{"photo_id":"1372227726","filename":"file4"},{"photo_id":"1372227713","filename":"file1"},{"photo_id":"1372227706","filename":"file0"},{"photo_id":"1372227722","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227706":["hashtag1","hashtag2"]},{"1372227726":["hashtag1","hashtag2"]},{"1372227728":["hashtag1","hashtag2"]},{"1372227713":["hashtag1","hashtag2"]},{"1372227722":["hashtag1","hashtag2"]},{"1372227716":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227706, 1372227726, 1372227728, 1372227713, 1372227722, 1372227716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.73555612564087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:39:22.470624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_19_3522.jpg', '/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_24_2703.jpg', '/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_28_3556.jpg', '/home/pi/Desktop/images/15072025/18/54/image_15072025_18_55_00_2594.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_06_2580.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_21_3654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_19_3522.jpg
/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_24_2703.jpg
/home/pi/Desktop/images/15072025/18/54/image_15072025_18_54_28_3556.jpg
/home/pi/Desktop/images/15072025/18/54/image_15072025_18_55_00_2594.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_06_2580.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_21_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227748","1372227771","1372227744","1372227764","1372227767","1372227740"],"photo_ids_order":["1372227740","1372227744","1372227748","1372227764","1372227767","1372227771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/93e8f39f4c8537c0d7e9a64c3657eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2901136365916145569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_54_28_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/63a23a82407ffe04f55eef634a8c2162.jpg","text":"TemporaryFile(/tmp/multipartBody1083254728233957056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_56_21_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3b46098f8db442906bbdbae1a4bc4bb.jpg","text":"TemporaryFile(/tmp/multipartBody2202704315888812490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_54_24_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/249eb287b2d90c331e682ba50b6abc93.jpg","text":"TemporaryFile(/tmp/multipartBody1704037340369466141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_55_00_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31287b33e72ab5e3387e129e37313ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2482794901788609331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_56_06_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd90a70b110b86288a100085e5da2ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6711901948107431172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608423639,"filename":"image_15072025_18_54_19_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227748","file1":"1372227744","file0":"1372227740","file4":"1372227767","file5":"1372227771","file3":"1372227764"},"map_files_photo_id_array":[{"photo_id":"1372227771","filename":"file5"},{"photo_id":"1372227748","filename":"file2"},{"photo_id":"1372227767","filename":"file4"},{"photo_id":"1372227744","filename":"file1"},{"photo_id":"1372227740","filename":"file0"},{"photo_id":"1372227764","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227748":["hashtag1","hashtag2"]},{"1372227771":["hashtag1","hashtag2"]},{"1372227744":["hashtag1","hashtag2"]},{"1372227764":["hashtag1","hashtag2"]},{"1372227767":["hashtag1","hashtag2"]},{"1372227740":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227748, 1372227771, 1372227744, 1372227764, 1372227767, 1372227740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31972336769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:40:22.501705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_33_2568.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_36_3662.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_39_2596.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_48_2677.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_51_2692.jpg', '/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_54_2717.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_33_2568.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_36_3662.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_39_2596.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_48_2677.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_51_2692.jpg
/home/pi/Desktop/images/15072025/18/56/image_15072025_18_56_54_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227805","1372227810","1372227794","1372227797","1372227801","1372227790"],"photo_ids_order":["1372227790","1372227794","1372227797","1372227801","1372227805","1372227810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4dd545d5f4bfc11d04c13fd3d732cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1701063676283960296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_51_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c546561df6f79dabadd643fb200e00b.jpg","text":"TemporaryFile(/tmp/multipartBody9136511625213051865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_54_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34b1c94a27959a3e4ff6990c528ef5f1.jpg","text":"TemporaryFile(/tmp/multipartBody278013951189532894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_36_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/114623c95fc00e761191e11bd90378c0.jpg","text":"TemporaryFile(/tmp/multipartBody7029809421531026984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_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/7/15/76e19de4f9b084cbdc2731cb0ab80c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8041243648962645953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_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/7/15/36ff275f9b2b5d88cb4a2d47758f474a.jpg","text":"TemporaryFile(/tmp/multipartBody567843259287192205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608483623,"filename":"image_15072025_18_56_33_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227797","file1":"1372227794","file0":"1372227790","file4":"1372227805","file5":"1372227810","file3":"1372227801"},"map_files_photo_id_array":[{"photo_id":"1372227810","filename":"file5"},{"photo_id":"1372227797","filename":"file2"},{"photo_id":"1372227805","filename":"file4"},{"photo_id":"1372227794","filename":"file1"},{"photo_id":"1372227790","filename":"file0"},{"photo_id":"1372227801","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227805":["hashtag1","hashtag2"]},{"1372227810":["hashtag1","hashtag2"]},{"1372227794":["hashtag1","hashtag2"]},{"1372227797":["hashtag1","hashtag2"]},{"1372227801":["hashtag1","hashtag2"]},{"1372227790":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227805, 1372227810, 1372227794, 1372227797, 1372227801, 1372227790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.50769019126892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:41:22.701238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_06_3531.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_12_3595.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_15_2550.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_17_2589.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_24_2565.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_27_3609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_06_3531.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_12_3595.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_15_2550.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_17_2589.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_24_2565.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_27_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227838","1372227823","1372227831","1372227827","1372227842","1372227836"],"photo_ids_order":["1372227823","1372227827","1372227831","1372227836","1372227838","1372227842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f6d7ac919eba176a3c0297b07089242.jpg","text":"TemporaryFile(/tmp/multipartBody5735887116009889988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_24_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/41e136b9c3d48433e0d6a84081827a83.jpg","text":"TemporaryFile(/tmp/multipartBody4451303566026731805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_06_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c516a19a6169b0e368ac10dcfe027f1.jpg","text":"TemporaryFile(/tmp/multipartBody3725938166157906726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_15_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99202f4e1f718cae92f23bf33682be2b.jpg","text":"TemporaryFile(/tmp/multipartBody3632424336314984454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_12_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7ef5da92a225a62a3487aa6c7ebcc701.jpg","text":"TemporaryFile(/tmp/multipartBody5877406613030438237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_27_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a6136fb96f53eec0b225004f8cafea0e.jpg","text":"TemporaryFile(/tmp/multipartBody9204508015821519309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608543814,"filename":"image_15072025_18_57_17_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227831","file1":"1372227827","file0":"1372227823","file4":"1372227838","file5":"1372227842","file3":"1372227836"},"map_files_photo_id_array":[{"photo_id":"1372227842","filename":"file5"},{"photo_id":"1372227831","filename":"file2"},{"photo_id":"1372227838","filename":"file4"},{"photo_id":"1372227827","filename":"file1"},{"photo_id":"1372227823","filename":"file0"},{"photo_id":"1372227836","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227838":["hashtag1","hashtag2"]},{"1372227823":["hashtag1","hashtag2"]},{"1372227831":["hashtag1","hashtag2"]},{"1372227827":["hashtag1","hashtag2"]},{"1372227842":["hashtag1","hashtag2"]},{"1372227836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227838, 1372227823, 1372227831, 1372227827, 1372227842, 1372227836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.69833469390869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:42:22.366842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_32_2612.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_39_2642.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_45_3736.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_48_2633.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_54_3723.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_02_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_32_2612.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_39_2642.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_45_3736.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_48_2633.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_54_3723.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_02_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7216565608978271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:42:42.390552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_32_2612.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_39_2642.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_45_3736.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_48_2633.jpg', '/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_54_3723.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_02_2670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_32_2612.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_39_2642.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_45_3736.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_48_2633.jpg
/home/pi/Desktop/images/15072025/18/57/image_15072025_18_57_54_3723.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_02_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372227934","1372227913","1372227888","1372227909","1372227924","1372227940"],"photo_ids_order":["1372227888","1372227909","1372227913","1372227924","1372227934","1372227940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/628bbbf7cee414ce013f30e951244c41.jpg","text":"TemporaryFile(/tmp/multipartBody1327354466909051067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_57_54_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d4eb3e06f5899397d98675b9bd216542.jpg","text":"TemporaryFile(/tmp/multipartBody7938248648909777518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_57_45_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27e620a275bee6dc8cc08c31f4574457.jpg","text":"TemporaryFile(/tmp/multipartBody6588534580091912942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_57_32_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1e202bf334c0dbfe6af375e0c3e53385.jpg","text":"TemporaryFile(/tmp/multipartBody3291056831654006388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_57_39_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/702d1133cd934afc102a8fdb72f90560.jpg","text":"TemporaryFile(/tmp/multipartBody5761151904348485796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_57_48_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd2c9281fc75d6ddd14e85ec5fdea01e.jpg","text":"TemporaryFile(/tmp/multipartBody4188021516645221640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608623513,"filename":"image_15072025_18_58_02_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227913","file1":"1372227909","file0":"1372227888","file4":"1372227934","file5":"1372227940","file3":"1372227924"},"map_files_photo_id_array":[{"photo_id":"1372227940","filename":"file5"},{"photo_id":"1372227913","filename":"file2"},{"photo_id":"1372227934","filename":"file4"},{"photo_id":"1372227909","filename":"file1"},{"photo_id":"1372227888","filename":"file0"},{"photo_id":"1372227924","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227934":["hashtag1","hashtag2"]},{"1372227913":["hashtag1","hashtag2"]},{"1372227888":["hashtag1","hashtag2"]},{"1372227909":["hashtag1","hashtag2"]},{"1372227924":["hashtag1","hashtag2"]},{"1372227940":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227934, 1372227913, 1372227888, 1372227909, 1372227924, 1372227940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.83999276161194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:43:42.780110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_06_3789.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_09_2687.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_12_3084.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_21_3757.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_24_2837.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_27_2639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_06_3789.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_09_2687.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_12_3084.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_21_3757.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_24_2837.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_27_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":["1372227969","1372227960","1372227957","1372227962","1372227971","1372227965"],"photo_ids_order":["1372227957","1372227960","1372227962","1372227965","1372227969","1372227971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17036d0988df0ccaf547cec07749a305.jpg","text":"TemporaryFile(/tmp/multipartBody621044699034552313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_24_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6d46e688ea784e75bf44b008f62d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody9002757634878331700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_09_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6cde8796092d10eb544a15e00665daa9.jpg","text":"TemporaryFile(/tmp/multipartBody1881512997492802304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_06_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3b60e8c0fbe563a44fe21186c777378.jpg","text":"TemporaryFile(/tmp/multipartBody3048913442785264426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_12_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a28644b4fa4ab2367a5f7c223dd896d1.jpg","text":"TemporaryFile(/tmp/multipartBody2132797897320734982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_27_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97e52f473208e7fd00883f0837006d48.jpg","text":"TemporaryFile(/tmp/multipartBody1072866780103446947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608683893,"filename":"image_15072025_18_58_21_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227962","file1":"1372227960","file0":"1372227957","file4":"1372227969","file5":"1372227971","file3":"1372227965"},"map_files_photo_id_array":[{"photo_id":"1372227971","filename":"file5"},{"photo_id":"1372227962","filename":"file2"},{"photo_id":"1372227969","filename":"file4"},{"photo_id":"1372227960","filename":"file1"},{"photo_id":"1372227957","filename":"file0"},{"photo_id":"1372227965","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372227969":["hashtag1","hashtag2"]},{"1372227960":["hashtag1","hashtag2"]},{"1372227957":["hashtag1","hashtag2"]},{"1372227962":["hashtag1","hashtag2"]},{"1372227971":["hashtag1","hashtag2"]},{"1372227965":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372227969, 1372227960, 1372227957, 1372227962, 1372227971, 1372227965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.364161252975464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:44:42.511769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_30_3679.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_33_2685.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_39_3573.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_44_2598.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_48_3601.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_53_2653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_30_3679.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_33_2685.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_39_3573.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_44_2598.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_48_3601.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_53_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228006","1372227996","1372227984","1372227989","1372228010","1372228001"],"photo_ids_order":["1372227984","1372227989","1372227996","1372228001","1372228006","1372228010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97171ee387eef13c5d6e47b0f0385922.jpg","text":"TemporaryFile(/tmp/multipartBody5602369327167520364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_48_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6090735bf29119ef9ec0f43d69e28d39.jpg","text":"TemporaryFile(/tmp/multipartBody7633308780065371542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_39_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e417cab7bb5f0f2d1fc257b6e284ff2.jpg","text":"TemporaryFile(/tmp/multipartBody842055069839759949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_30_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2b3b5c24ee361c7ef9202121955d62e.jpg","text":"TemporaryFile(/tmp/multipartBody1516614928141150395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_33_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d62ec012cd1fdebc394c8b3e21e0b054.jpg","text":"TemporaryFile(/tmp/multipartBody5836875212345361777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_53_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f6e5b453f871939a7702db8758c3445.jpg","text":"TemporaryFile(/tmp/multipartBody7576659374126028375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608743631,"filename":"image_15072025_18_58_44_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372227996","file1":"1372227989","file0":"1372227984","file4":"1372228006","file5":"1372228010","file3":"1372228001"},"map_files_photo_id_array":[{"photo_id":"1372228010","filename":"file5"},{"photo_id":"1372227996","filename":"file2"},{"photo_id":"1372228006","filename":"file4"},{"photo_id":"1372227989","filename":"file1"},{"photo_id":"1372227984","filename":"file0"},{"photo_id":"1372228001","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228006":["hashtag1","hashtag2"]},{"1372227996":["hashtag1","hashtag2"]},{"1372227984":["hashtag1","hashtag2"]},{"1372227989":["hashtag1","hashtag2"]},{"1372228010":["hashtag1","hashtag2"]},{"1372228001":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228006, 1372227996, 1372227984, 1372227989, 1372228010, 1372228001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3061945438385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:45:42.119412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_57_3549.jpg', '/home/pi/Desktop/images/15072025/18/58/image_15072025_18_59_00_2663.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_03_2875.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_06_3544.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_09_2654.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_11_2678.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_58_57_3549.jpg
/home/pi/Desktop/images/15072025/18/58/image_15072025_18_59_00_2663.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_03_2875.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_06_3544.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_09_2654.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_11_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228033","1372228027","1372228044","1372228029","1372228023","1372228037"],"photo_ids_order":["1372228023","1372228027","1372228029","1372228033","1372228037","1372228044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10147767ef57e451b1074f3033ad6da4.jpg","text":"TemporaryFile(/tmp/multipartBody1884017385395972771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_59_06_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8ecff391b39a7951a40df50033c6f7b0.jpg","text":"TemporaryFile(/tmp/multipartBody2399127140635548894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_59_00_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6e554651f73a15fc6409825db4f6db87.jpg","text":"TemporaryFile(/tmp/multipartBody5826367653217002506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_59_11_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ad13a474919de9e645062c6662cd5fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5975798960067488717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_59_03_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1fdfc442cf45cca95c1c147dcfa7440f.jpg","text":"TemporaryFile(/tmp/multipartBody6556614283664793698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_58_57_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7182cbcb73ac56355d489754cdc7cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1364618031038194938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608803238,"filename":"image_15072025_18_59_09_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228029","file1":"1372228027","file0":"1372228023","file4":"1372228037","file5":"1372228044","file3":"1372228033"},"map_files_photo_id_array":[{"photo_id":"1372228044","filename":"file5"},{"photo_id":"1372228029","filename":"file2"},{"photo_id":"1372228037","filename":"file4"},{"photo_id":"1372228027","filename":"file1"},{"photo_id":"1372228023","filename":"file0"},{"photo_id":"1372228033","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228033":["hashtag1","hashtag2"]},{"1372228027":["hashtag1","hashtag2"]},{"1372228044":["hashtag1","hashtag2"]},{"1372228029":["hashtag1","hashtag2"]},{"1372228023":["hashtag1","hashtag2"]},{"1372228037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228033, 1372228027, 1372228044, 1372228029, 1372228023, 1372228037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.5824978351593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:46:41.896355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_24_3690.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_36_2768.jpg', '/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_45_2598.jpg', '/home/pi/Desktop/images/15072025/19/00/image_15072025_19_00_07_3011.jpg', '/home/pi/Desktop/images/15072025/19/00/image_15072025_19_00_43_2604.jpg', '/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_55_2623.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_24_3690.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_36_2768.jpg
/home/pi/Desktop/images/15072025/18/59/image_15072025_18_59_45_2598.jpg
/home/pi/Desktop/images/15072025/19/00/image_15072025_19_00_07_3011.jpg
/home/pi/Desktop/images/15072025/19/00/image_15072025_19_00_43_2604.jpg
/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_55_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":["1372228164","1372228140","1372228134","1372228113","1372228169","1372228156"],"photo_ids_order":["1372228113","1372228134","1372228140","1372228156","1372228164","1372228169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cac58ce6374312b92e4a986a520a8ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4337956720385864655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_19_00_43_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e888e7a977b25985c391ae6e2cf32602.jpg","text":"TemporaryFile(/tmp/multipartBody3416397104386647489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_18_59_45_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c7514839e8ae95d6473c0e989a0d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3369234135343551801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_18_59_36_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80070801c98d3d6fbbb771b8cf380ada.jpg","text":"TemporaryFile(/tmp/multipartBody4032450067062524383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_18_59_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/7/15/ed1c38deb350c4420d738f0955ca7f93.jpg","text":"TemporaryFile(/tmp/multipartBody169255256276714019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_19_01_55_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/39ff45ef70ded24a47ded774cac954f4.jpg","text":"TemporaryFile(/tmp/multipartBody2995159990114679719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608863016,"filename":"image_15072025_19_00_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228140","file1":"1372228134","file0":"1372228113","file4":"1372228164","file5":"1372228169","file3":"1372228156"},"map_files_photo_id_array":[{"photo_id":"1372228169","filename":"file5"},{"photo_id":"1372228140","filename":"file2"},{"photo_id":"1372228164","filename":"file4"},{"photo_id":"1372228134","filename":"file1"},{"photo_id":"1372228113","filename":"file0"},{"photo_id":"1372228156","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228164":["hashtag1","hashtag2"]},{"1372228140":["hashtag1","hashtag2"]},{"1372228134":["hashtag1","hashtag2"]},{"1372228113":["hashtag1","hashtag2"]},{"1372228169":["hashtag1","hashtag2"]},{"1372228156":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228164, 1372228140, 1372228134, 1372228113, 1372228169, 1372228156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.917935848236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:47:42.626172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_58_2718.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_02_3599.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_05_2845.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_07_2824.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_10_2648.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_14_3757.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_58_2718.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_02_3599.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_05_2845.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_07_2824.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_10_2648.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_14_3757.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6975111961364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:48:03.188423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_58_2718.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_02_3599.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_05_2845.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_07_2824.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_10_2648.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_14_3757.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/01/image_15072025_19_01_58_2718.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_02_3599.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_05_2845.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_07_2824.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_10_2648.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_14_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":["1372228203","1372228196","1372228217","1372228232","1372228192","1372228201"],"photo_ids_order":["1372228192","1372228196","1372228201","1372228203","1372228217","1372228232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2002cb7e09e7e53a2369e9ea49ee619a.jpg","text":"TemporaryFile(/tmp/multipartBody7679160466529549272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_02_07_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d8e5a8fdc46b5f00e96ced3806964e42.jpg","text":"TemporaryFile(/tmp/multipartBody3722101459102821409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_02_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/7/15/71245dd9bb95443027b418e088ee8846.jpg","text":"TemporaryFile(/tmp/multipartBody3928255075960978514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_02_10_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5cbc29f07dcba701220b1ef9d0c78fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6785995032022555974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_02_14_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/62e02bec80351c2bbb83f6f2f722b3d7.jpg","text":"TemporaryFile(/tmp/multipartBody2749658744111708041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_01_58_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06a1649bb1337bcb5c941d2eff617e32.jpg","text":"TemporaryFile(/tmp/multipartBody2477890984576247043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752608944352,"filename":"image_15072025_19_02_05_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228201","file1":"1372228196","file0":"1372228192","file4":"1372228217","file5":"1372228232","file3":"1372228203"},"map_files_photo_id_array":[{"photo_id":"1372228232","filename":"file5"},{"photo_id":"1372228201","filename":"file2"},{"photo_id":"1372228217","filename":"file4"},{"photo_id":"1372228196","filename":"file1"},{"photo_id":"1372228192","filename":"file0"},{"photo_id":"1372228203","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228203":["hashtag1","hashtag2"]},{"1372228196":["hashtag1","hashtag2"]},{"1372228217":["hashtag1","hashtag2"]},{"1372228232":["hashtag1","hashtag2"]},{"1372228192":["hashtag1","hashtag2"]},{"1372228201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228203, 1372228196, 1372228217, 1372228232, 1372228192, 1372228201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82726430892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:49:03.205746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_19_2712.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_38_3673.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_43_2594.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_11_3672.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_13_2569.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_16_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_19_2712.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_38_3673.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_43_2594.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_11_3672.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_13_2569.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_16_2705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4484646320343018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:49:22.155166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_19_2712.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_38_3673.jpg', '/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_43_2594.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_11_3672.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_13_2569.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_16_2705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_19_2712.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_38_3673.jpg
/home/pi/Desktop/images/15072025/19/02/image_15072025_19_02_43_2594.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_11_3672.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_13_2569.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_16_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228269","1372228284","1372228263","1372228283","1372228280","1372228274"],"photo_ids_order":["1372228263","1372228269","1372228274","1372228280","1372228283","1372228284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c7e80ea6b462e27c8970d555ae37b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8523041165548621946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_02_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/7/15/08d6d059022572f90298b88872ebe103.jpg","text":"TemporaryFile(/tmp/multipartBody8445855181576559522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_03_16_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6be177311b6d0f2403f73a955e906cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3897243813760519327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_02_19_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6b53dcd0cd011a55d1f4135f075c48a.jpg","text":"TemporaryFile(/tmp/multipartBody7218037723564742192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_03_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f6c84792f7c602d9028349c70933f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody1027541480321436692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_03_11_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c2bc21ec762602e71b5312efeaa6e287.jpg","text":"TemporaryFile(/tmp/multipartBody5352566150344457379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609023261,"filename":"image_15072025_19_02_43_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228274","file1":"1372228269","file0":"1372228263","file4":"1372228283","file5":"1372228284","file3":"1372228280"},"map_files_photo_id_array":[{"photo_id":"1372228284","filename":"file5"},{"photo_id":"1372228274","filename":"file2"},{"photo_id":"1372228283","filename":"file4"},{"photo_id":"1372228269","filename":"file1"},{"photo_id":"1372228263","filename":"file0"},{"photo_id":"1372228280","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228269":["hashtag1","hashtag2"]},{"1372228284":["hashtag1","hashtag2"]},{"1372228263":["hashtag1","hashtag2"]},{"1372228283":["hashtag1","hashtag2"]},{"1372228280":["hashtag1","hashtag2"]},{"1372228274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228269, 1372228284, 1372228263, 1372228283, 1372228280, 1372228274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56473708152771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:50:22.508648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_20_3663.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_22_2575.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_29_3678.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_34_2625.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_44_3560.jpg', '/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_49_2518.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_20_3663.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_22_2575.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_29_3678.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_34_2625.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_44_3560.jpg
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_49_2518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228308","1372228298","1372228316","1372228304","1372228291","1372228312"],"photo_ids_order":["1372228291","1372228298","1372228304","1372228308","1372228312","1372228316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9fa7e902d78c098d2781c8ea2032c0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7182820249014581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_03_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52966595ebf890c6fb9e0c07e5e0a929.jpg","text":"TemporaryFile(/tmp/multipartBody6765148537691815613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_03_22_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd50a185f453b277ea0fc15e76372b27.jpg","text":"TemporaryFile(/tmp/multipartBody3303890654528478688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_03_49_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9ec127f5c6e3a24ca612c38db28b04e4.jpg","text":"TemporaryFile(/tmp/multipartBody356486747555948025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_03_29_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a28e6c92286e7d61894ef3d4538026be.jpg","text":"TemporaryFile(/tmp/multipartBody487111606124645309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_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/7/15/5fd5f7d7d9359de8ac2ddfa7b69dac4e.jpg","text":"TemporaryFile(/tmp/multipartBody7186722238758061159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609083617,"filename":"image_15072025_19_03_44_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228304","file1":"1372228298","file0":"1372228291","file4":"1372228312","file5":"1372228316","file3":"1372228308"},"map_files_photo_id_array":[{"photo_id":"1372228316","filename":"file5"},{"photo_id":"1372228304","filename":"file2"},{"photo_id":"1372228312","filename":"file4"},{"photo_id":"1372228298","filename":"file1"},{"photo_id":"1372228291","filename":"file0"},{"photo_id":"1372228308","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228308":["hashtag1","hashtag2"]},{"1372228298":["hashtag1","hashtag2"]},{"1372228316":["hashtag1","hashtag2"]},{"1372228304":["hashtag1","hashtag2"]},{"1372228291":["hashtag1","hashtag2"]},{"1372228312":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228308, 1372228298, 1372228316, 1372228304, 1372228291, 1372228312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.56513547897339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:51:41.907514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_53_3608.jpg', '/home/pi/Desktop/images/15072025/19/04/image_15072025_19_04_14_3721.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_07_2699.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_11_3603.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_16_2658.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_19_2875.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/03/image_15072025_19_03_53_3608.jpg
/home/pi/Desktop/images/15072025/19/04/image_15072025_19_04_14_3721.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_07_2699.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_11_3603.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_16_2658.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_19_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228341","1372228353","1372228329","1372228346","1372228333","1372228336"],"photo_ids_order":["1372228329","1372228333","1372228336","1372228341","1372228346","1372228353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/713e238567b93b287ed98021ce3d485a.jpg","text":"TemporaryFile(/tmp/multipartBody6814609229764560944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_05_11_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52ccb73c3c501de0e42b326278a06509.jpg","text":"TemporaryFile(/tmp/multipartBody6326648909013262282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_05_19_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/01a59b0c2e02d06c7a5976cdaf967835.jpg","text":"TemporaryFile(/tmp/multipartBody4082132783239469714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_03_53_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdd66b021755b7379e0576692ce2dd8f.jpg","text":"TemporaryFile(/tmp/multipartBody4530425126234170039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_05_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/7/15/95b28ac93a9fba7ed100ebbc808dff76.jpg","text":"TemporaryFile(/tmp/multipartBody8576904107418250992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_04_14_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97e3cc0aef44392ae409b76912a7488d.jpg","text":"TemporaryFile(/tmp/multipartBody2451850553225428628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609163021,"filename":"image_15072025_19_05_07_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228336","file1":"1372228333","file0":"1372228329","file4":"1372228346","file5":"1372228353","file3":"1372228341"},"map_files_photo_id_array":[{"photo_id":"1372228353","filename":"file5"},{"photo_id":"1372228336","filename":"file2"},{"photo_id":"1372228346","filename":"file4"},{"photo_id":"1372228333","filename":"file1"},{"photo_id":"1372228329","filename":"file0"},{"photo_id":"1372228341","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228341":["hashtag1","hashtag2"]},{"1372228353":["hashtag1","hashtag2"]},{"1372228329":["hashtag1","hashtag2"]},{"1372228346":["hashtag1","hashtag2"]},{"1372228333":["hashtag1","hashtag2"]},{"1372228336":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228341, 1372228353, 1372228329, 1372228346, 1372228333, 1372228336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.119603395462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:52:42.575087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_22_3684.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_31_3651.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_49_8842.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_06_01_3656.jpg', '/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_43_2657.jpg', '/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_46_2625.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_22_3684.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_31_3651.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_49_8842.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_06_01_3656.jpg
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_43_2657.jpg
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_46_2625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7133548259735107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:53:03.113327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_22_3684.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_31_3651.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_49_8842.jpg', '/home/pi/Desktop/images/15072025/19/05/image_15072025_19_06_01_3656.jpg', '/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_43_2657.jpg', '/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_46_2625.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_22_3684.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_31_3651.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_05_49_8842.jpg
/home/pi/Desktop/images/15072025/19/05/image_15072025_19_06_01_3656.jpg
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_43_2657.jpg
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_46_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228405","1372228380","1372228401","1372228394","1372228406","1372228387"],"photo_ids_order":["1372228380","1372228387","1372228394","1372228401","1372228405","1372228406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d29245c37ca448badb560763e81cc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6233858349702661445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_06_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/7/15/642235885c87087cbdfc448788ee5344.jpg","text":"TemporaryFile(/tmp/multipartBody6298286706026855731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_05_22_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4ec5377c9af5812aad6cb467cac38d06.jpg","text":"TemporaryFile(/tmp/multipartBody758158699225776675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_06_01_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/520f733889af53bdaaebf53d92396d85.jpg","text":"TemporaryFile(/tmp/multipartBody4476634974404985705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_05_49_8842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4ce0e4992799191944d2400f1df0593.jpg","text":"TemporaryFile(/tmp/multipartBody1208954578757435992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_06_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/7/15/75ef4a75df5bb60d532d474a4345b95c.jpg","text":"TemporaryFile(/tmp/multipartBody1836958524248358113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609244349,"filename":"image_15072025_19_05_31_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228394","file1":"1372228387","file0":"1372228380","file4":"1372228405","file5":"1372228406","file3":"1372228401"},"map_files_photo_id_array":[{"photo_id":"1372228406","filename":"file5"},{"photo_id":"1372228394","filename":"file2"},{"photo_id":"1372228405","filename":"file4"},{"photo_id":"1372228387","filename":"file1"},{"photo_id":"1372228380","filename":"file0"},{"photo_id":"1372228401","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228405":["hashtag1","hashtag2"]},{"1372228380":["hashtag1","hashtag2"]},{"1372228401":["hashtag1","hashtag2"]},{"1372228394":["hashtag1","hashtag2"]},{"1372228406":["hashtag1","hashtag2"]},{"1372228387":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228405, 1372228380, 1372228401, 1372228394, 1372228406, 1372228387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18926167488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:54:02.823626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_58_3787.jpg', '/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_10_2659.jpg', '/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_49_2739.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_04_3678.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_13_3714.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_18_2742.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_58_3787.jpg
/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_10_2659.jpg
/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_49_2739.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_04_3678.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_13_3714.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_18_2742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8946282863616943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:54:21.964453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_58_3787.jpg', '/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_10_2659.jpg', '/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_49_2739.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_04_3678.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_13_3714.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_18_2742.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/06/image_15072025_19_06_58_3787.jpg
/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_10_2659.jpg
/home/pi/Desktop/images/15072025/19/07/image_15072025_19_07_49_2739.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_04_3678.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_13_3714.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_18_2742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228467","1372228470","1372228434","1372228442","1372228498","1372228429"],"photo_ids_order":["1372228429","1372228434","1372228442","1372228467","1372228470","1372228498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/379511f348a3f7f866ed31a5a18743ba.jpg","text":"TemporaryFile(/tmp/multipartBody7099018026893937855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_08_04_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/997565703f038ad0d31f8bd3ae3abdc3.jpg","text":"TemporaryFile(/tmp/multipartBody8074222449402911093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_08_13_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dcf2d2dba7a113efffd4a7d948ab787f.jpg","text":"TemporaryFile(/tmp/multipartBody5758440355217116043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_07_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/7/15/5c1e732d02982a2c422c76138d41e857.jpg","text":"TemporaryFile(/tmp/multipartBody1510178642035760567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_07_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/7/15/d872275235871be845421c837109b92c.jpg","text":"TemporaryFile(/tmp/multipartBody3359787211249516578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_08_18_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/061c7b593dd79e4489dec5701d5f460a.jpg","text":"TemporaryFile(/tmp/multipartBody8194288430593414038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609323080,"filename":"image_15072025_19_06_58_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228442","file1":"1372228434","file0":"1372228429","file4":"1372228470","file5":"1372228498","file3":"1372228467"},"map_files_photo_id_array":[{"photo_id":"1372228498","filename":"file5"},{"photo_id":"1372228442","filename":"file2"},{"photo_id":"1372228470","filename":"file4"},{"photo_id":"1372228434","filename":"file1"},{"photo_id":"1372228429","filename":"file0"},{"photo_id":"1372228467","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228467":["hashtag1","hashtag2"]},{"1372228470":["hashtag1","hashtag2"]},{"1372228434":["hashtag1","hashtag2"]},{"1372228442":["hashtag1","hashtag2"]},{"1372228498":["hashtag1","hashtag2"]},{"1372228429":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228467, 1372228470, 1372228434, 1372228442, 1372228498, 1372228429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45541024208069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:55:21.976228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_22_3621.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_25_2831.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_31_3558.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_52_2619.jpg', '/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_55_3670.jpg', '/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_07_3610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_22_3621.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_25_2831.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_31_3558.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_52_2619.jpg
/home/pi/Desktop/images/15072025/19/08/image_15072025_19_08_55_3670.jpg
/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_07_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":["1372228544","1372228553","1372228538","1372228517","1372228531","1372228525"],"photo_ids_order":["1372228517","1372228525","1372228531","1372228538","1372228544","1372228553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/695563b71d783b6faa5ac691e03fcbb4.jpg","text":"TemporaryFile(/tmp/multipartBody3952408775059968933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_08_55_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9201da01e24f75ff73f4fa03c24de932.jpg","text":"TemporaryFile(/tmp/multipartBody5368567463272037678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_09_07_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c5aca49c6464f4c6c6b730fff6a2b969.jpg","text":"TemporaryFile(/tmp/multipartBody4834721508977704877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_08_52_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55713a3106f4e3e6ae9d137144a734ef.jpg","text":"TemporaryFile(/tmp/multipartBody8219520379697099493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_08_22_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b4b29ecf9c5de89aa1fb2726a5a18c9.jpg","text":"TemporaryFile(/tmp/multipartBody762206474890379536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_08_31_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eb7a4d3ca955081c31a1fc4b0c1b944d.jpg","text":"TemporaryFile(/tmp/multipartBody6145585986264179030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609383102,"filename":"image_15072025_19_08_25_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228531","file1":"1372228525","file0":"1372228517","file4":"1372228544","file5":"1372228553","file3":"1372228538"},"map_files_photo_id_array":[{"photo_id":"1372228553","filename":"file5"},{"photo_id":"1372228531","filename":"file2"},{"photo_id":"1372228544","filename":"file4"},{"photo_id":"1372228525","filename":"file1"},{"photo_id":"1372228517","filename":"file0"},{"photo_id":"1372228538","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228544":["hashtag1","hashtag2"]},{"1372228553":["hashtag1","hashtag2"]},{"1372228538":["hashtag1","hashtag2"]},{"1372228517":["hashtag1","hashtag2"]},{"1372228531":["hashtag1","hashtag2"]},{"1372228525":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228544, 1372228553, 1372228538, 1372228517, 1372228531, 1372228525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.22844362258911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 21:56:21.942733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_10_2721.jpg', '/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_37_3590.jpg', '/home/pi/Desktop/images/15072025/19/10/image_15072025_19_10_19_2622.jpg', '/home/pi/Desktop/images/15072025/19/12/image_15072025_19_12_19_3819.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_15_2774.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_22_3658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_10_2721.jpg
/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_37_3590.jpg
/home/pi/Desktop/images/15072025/19/10/image_15072025_19_10_19_2622.jpg
/home/pi/Desktop/images/15072025/19/12/image_15072025_19_12_19_3819.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_15_2774.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_22_3658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7116765975952148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:56:41.854073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_10_2721.jpg', '/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_37_3590.jpg', '/home/pi/Desktop/images/15072025/19/10/image_15072025_19_10_19_2622.jpg', '/home/pi/Desktop/images/15072025/19/12/image_15072025_19_12_19_3819.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_15_2774.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_22_3658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_10_2721.jpg
/home/pi/Desktop/images/15072025/19/09/image_15072025_19_09_37_3590.jpg
/home/pi/Desktop/images/15072025/19/10/image_15072025_19_10_19_2622.jpg
/home/pi/Desktop/images/15072025/19/12/image_15072025_19_12_19_3819.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_15_2774.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_22_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228592","1372228607","1372228601","1372228585","1372228604","1372228579"],"photo_ids_order":["1372228579","1372228585","1372228592","1372228601","1372228604","1372228607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/072adb0b3f1a5386af039e0a794a31a8.jpg","text":"TemporaryFile(/tmp/multipartBody1678012042361889931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_10_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd275f79054e1a05b6e31a1334d63b14.jpg","text":"TemporaryFile(/tmp/multipartBody2373771813768321199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_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/7/15/298e9fabe4c4aad527fbf4567abb57a1.jpg","text":"TemporaryFile(/tmp/multipartBody3337822465382829772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_12_19_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bdd36ab0b161c2af584b8fac1324d1da.jpg","text":"TemporaryFile(/tmp/multipartBody5112682888360966238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_09_37_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e079471c62ff80a2d5f50c75fe9e6470.jpg","text":"TemporaryFile(/tmp/multipartBody7869358556750534649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_13_15_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/110dd3ad074761c37641bee8fc05c94e.jpg","text":"TemporaryFile(/tmp/multipartBody916694020300535906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609462963,"filename":"image_15072025_19_09_10_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228592","file1":"1372228585","file0":"1372228579","file4":"1372228604","file5":"1372228607","file3":"1372228601"},"map_files_photo_id_array":[{"photo_id":"1372228607","filename":"file5"},{"photo_id":"1372228592","filename":"file2"},{"photo_id":"1372228604","filename":"file4"},{"photo_id":"1372228585","filename":"file1"},{"photo_id":"1372228579","filename":"file0"},{"photo_id":"1372228601","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228592":["hashtag1","hashtag2"]},{"1372228607":["hashtag1","hashtag2"]},{"1372228601":["hashtag1","hashtag2"]},{"1372228585":["hashtag1","hashtag2"]},{"1372228604":["hashtag1","hashtag2"]},{"1372228579":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228592, 1372228607, 1372228601, 1372228585, 1372228604, 1372228579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01302742958069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 21:57:42.225701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_31_3729.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_43_3762.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_54_2531.jpg', '/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_57_2914.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_04_3631.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_18_2527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_31_3729.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_43_3762.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_54_2531.jpg
/home/pi/Desktop/images/15072025/19/13/image_15072025_19_13_57_2914.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_04_3631.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_18_2527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228629","1372228620","1372228625","1372228636","1372228639","1372228633"],"photo_ids_order":["1372228620","1372228625","1372228629","1372228633","1372228636","1372228639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78f3c2de7e6c050aaa211094cdcd16d1.jpg","text":"TemporaryFile(/tmp/multipartBody3503799238814444991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_13_54_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e57f179cfe0fa327559dbb6893b44b67.jpg","text":"TemporaryFile(/tmp/multipartBody2806793649395419547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_13_31_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/997af10746aaed2cf547adf878784cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6227673768867886464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_13_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/7/15/7ceb69571f1996b9ca805cf49aa42906.jpg","text":"TemporaryFile(/tmp/multipartBody7603814398747666091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_14_04_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/860b3e288dc4a0a5dc55b8afa409a43b.jpg","text":"TemporaryFile(/tmp/multipartBody7522345875937894866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_14_18_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/40c90b94bec41ecc473845dcdb90c0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7125439601402254530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609523345,"filename":"image_15072025_19_13_57_2914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228629","file1":"1372228625","file0":"1372228620","file4":"1372228636","file5":"1372228639","file3":"1372228633"},"map_files_photo_id_array":[{"photo_id":"1372228639","filename":"file5"},{"photo_id":"1372228629","filename":"file2"},{"photo_id":"1372228636","filename":"file4"},{"photo_id":"1372228625","filename":"file1"},{"photo_id":"1372228620","filename":"file0"},{"photo_id":"1372228633","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228629":["hashtag1","hashtag2"]},{"1372228620":["hashtag1","hashtag2"]},{"1372228625":["hashtag1","hashtag2"]},{"1372228636":["hashtag1","hashtag2"]},{"1372228639":["hashtag1","hashtag2"]},{"1372228633":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228629, 1372228620, 1372228625, 1372228636, 1372228639, 1372228633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.546436071395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 21:59:03.168095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_30_2732.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_36_2645.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_39_2757.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_43_3692.jpg', '/home/pi/Desktop/images/15072025/19/14/image_15072025_19_15_00_2580.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_24_2894.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_30_2732.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_36_2645.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_39_2757.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_14_43_3692.jpg
/home/pi/Desktop/images/15072025/19/14/image_15072025_19_15_00_2580.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_24_2894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228689","1372228662","1372228656","1372228676","1372228669","1372228651"],"photo_ids_order":["1372228651","1372228656","1372228662","1372228669","1372228676","1372228689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97dc1a0fd94459e14bd830c5b159be01.jpg","text":"TemporaryFile(/tmp/multipartBody2747877165884990498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_15_24_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a19ec2534e4612ca2fed3c69d10f566a.jpg","text":"TemporaryFile(/tmp/multipartBody6926418644585966571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_14_39_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5c15d6c7da035bf6ae3c255d5b551293.jpg","text":"TemporaryFile(/tmp/multipartBody6174586495914163075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_14_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/7/15/4bb95c6ee7104a65f162583e871b4000.jpg","text":"TemporaryFile(/tmp/multipartBody8935955366578307259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_15_00_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de5eb878bc632cae2ae26adafa65de8f.jpg","text":"TemporaryFile(/tmp/multipartBody7401639154291950770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_14_43_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dbdcb0e70210fa7ff1189d044351cd59.jpg","text":"TemporaryFile(/tmp/multipartBody9099510248243706326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609604454,"filename":"image_15072025_19_14_30_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228662","file1":"1372228656","file0":"1372228651","file4":"1372228676","file5":"1372228689","file3":"1372228669"},"map_files_photo_id_array":[{"photo_id":"1372228689","filename":"file5"},{"photo_id":"1372228662","filename":"file2"},{"photo_id":"1372228676","filename":"file4"},{"photo_id":"1372228656","filename":"file1"},{"photo_id":"1372228651","filename":"file0"},{"photo_id":"1372228669","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228689":["hashtag1","hashtag2"]},{"1372228662":["hashtag1","hashtag2"]},{"1372228656":["hashtag1","hashtag2"]},{"1372228676":["hashtag1","hashtag2"]},{"1372228669":["hashtag1","hashtag2"]},{"1372228651":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228689, 1372228662, 1372228656, 1372228676, 1372228669, 1372228651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.85897970199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:00:03.126995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_30_2530.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_42_3653.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_51_3590.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_54_3018.jpg', '/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_16_3773.jpg', '/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_42_2709.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_30_2530.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_42_3653.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_51_3590.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_54_3018.jpg
/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_16_3773.jpg
/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_42_2709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7882466316223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:00:22.576628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_30_2530.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_42_3653.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_51_3590.jpg', '/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_54_3018.jpg', '/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_16_3773.jpg', '/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_42_2709.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_30_2530.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_42_3653.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_51_3590.jpg
/home/pi/Desktop/images/15072025/19/15/image_15072025_19_15_54_3018.jpg
/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_16_3773.jpg
/home/pi/Desktop/images/15072025/19/16/image_15072025_19_16_42_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372228708","1372228926","1372228880","1372228730","1372228832","1372228786"],"photo_ids_order":["1372228708","1372228730","1372228786","1372228832","1372228880","1372228926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6cea51df957fd887f6becd89c4315539.jpg","text":"TemporaryFile(/tmp/multipartBody1752086070471723285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_15_30_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b7cfab761bbf72346eefab8ae90e487.jpg","text":"TemporaryFile(/tmp/multipartBody6384412077157383154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_16_42_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b5ac730fc7c16db8fbed1b55195e2da.jpg","text":"TemporaryFile(/tmp/multipartBody1402444559710771017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_16_16_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8077c44a2f906a959de517426db7c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7676238349441750658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_15_42_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/582ad1feb04991e63a461c682e413b9b.jpg","text":"TemporaryFile(/tmp/multipartBody724596588495693843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_15_54_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a2db048768c7919f53980ad07a12f17b.jpg","text":"TemporaryFile(/tmp/multipartBody5849713399511756559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609683727,"filename":"image_15072025_19_15_51_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372228786","file1":"1372228730","file0":"1372228708","file4":"1372228880","file5":"1372228926","file3":"1372228832"},"map_files_photo_id_array":[{"photo_id":"1372228926","filename":"file5"},{"photo_id":"1372228786","filename":"file2"},{"photo_id":"1372228880","filename":"file4"},{"photo_id":"1372228730","filename":"file1"},{"photo_id":"1372228708","filename":"file0"},{"photo_id":"1372228832","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372228708":["hashtag1","hashtag2"]},{"1372228926":["hashtag1","hashtag2"]},{"1372228880":["hashtag1","hashtag2"]},{"1372228730":["hashtag1","hashtag2"]},{"1372228832":["hashtag1","hashtag2"]},{"1372228786":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372228708, 1372228926, 1372228880, 1372228730, 1372228832, 1372228786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.43087697029114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:01:21.791195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/17/image_15072025_19_17_42_2562.jpg', '/home/pi/Desktop/images/15072025/19/18/image_15072025_19_18_33_2694.jpg', '/home/pi/Desktop/images/15072025/19/19/image_15072025_19_19_42_3835.jpg', '/home/pi/Desktop/images/15072025/19/21/image_15072025_19_21_33_3691.jpg', '/home/pi/Desktop/images/15072025/19/22/image_15072025_19_22_42_3645.jpg', '/home/pi/Desktop/images/15072025/19/24/image_15072025_19_24_23_2790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/17/image_15072025_19_17_42_2562.jpg
/home/pi/Desktop/images/15072025/19/18/image_15072025_19_18_33_2694.jpg
/home/pi/Desktop/images/15072025/19/19/image_15072025_19_19_42_3835.jpg
/home/pi/Desktop/images/15072025/19/21/image_15072025_19_21_33_3691.jpg
/home/pi/Desktop/images/15072025/19/22/image_15072025_19_22_42_3645.jpg
/home/pi/Desktop/images/15072025/19/24/image_15072025_19_24_23_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372229141","1372229182","1372229173","1372229056","1372229104","1372229160"],"photo_ids_order":["1372229056","1372229104","1372229141","1372229160","1372229173","1372229182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/329e7344622cfdb05548d3421a3b3efc.jpg","text":"TemporaryFile(/tmp/multipartBody4692507587726262259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_19_42_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e1914178bba0284bd302b0411b0c65a.jpg","text":"TemporaryFile(/tmp/multipartBody2398086239344759634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_24_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/7/15/59084eb454731911f4f4542b66441e12.jpg","text":"TemporaryFile(/tmp/multipartBody3322181622524570601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_22_42_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/243914d54a60129f7b8134957d0b9810.jpg","text":"TemporaryFile(/tmp/multipartBody6715171867725714773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_17_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/7/15/48f5ddfef0918152d7efce38614e6b4d.jpg","text":"TemporaryFile(/tmp/multipartBody9163749432115989094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_18_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/7/15/c125b1feb99d8cee35d54f76ca37de5a.jpg","text":"TemporaryFile(/tmp/multipartBody2400326937352370597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609742945,"filename":"image_15072025_19_21_33_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372229141","file1":"1372229104","file0":"1372229056","file4":"1372229173","file5":"1372229182","file3":"1372229160"},"map_files_photo_id_array":[{"photo_id":"1372229182","filename":"file5"},{"photo_id":"1372229141","filename":"file2"},{"photo_id":"1372229173","filename":"file4"},{"photo_id":"1372229104","filename":"file1"},{"photo_id":"1372229056","filename":"file0"},{"photo_id":"1372229160","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372229141":["hashtag1","hashtag2"]},{"1372229182":["hashtag1","hashtag2"]},{"1372229173":["hashtag1","hashtag2"]},{"1372229056":["hashtag1","hashtag2"]},{"1372229104":["hashtag1","hashtag2"]},{"1372229160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372229141, 1372229182, 1372229173, 1372229056, 1372229104, 1372229160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.79353594779968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:02:42.618097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/24/image_15072025_19_24_59_3697.jpg', '/home/pi/Desktop/images/15072025/19/25/image_15072025_19_25_08_2510.jpg', '/home/pi/Desktop/images/15072025/19/25/image_15072025_19_25_23_2749.jpg', '/home/pi/Desktop/images/15072025/19/26/image_15072025_19_26_11_2581.jpg', '/home/pi/Desktop/images/15072025/19/27/image_15072025_19_27_08_3668.jpg', '/home/pi/Desktop/images/15072025/19/27/image_15072025_19_27_56_2791.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/24/image_15072025_19_24_59_3697.jpg
/home/pi/Desktop/images/15072025/19/25/image_15072025_19_25_08_2510.jpg
/home/pi/Desktop/images/15072025/19/25/image_15072025_19_25_23_2749.jpg
/home/pi/Desktop/images/15072025/19/26/image_15072025_19_26_11_2581.jpg
/home/pi/Desktop/images/15072025/19/27/image_15072025_19_27_08_3668.jpg
/home/pi/Desktop/images/15072025/19/27/image_15072025_19_27_56_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372229328","1372229232","1372229198","1372229287","1372229323","1372229332"],"photo_ids_order":["1372229198","1372229232","1372229287","1372229323","1372229328","1372229332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9319e682aa317a826d215af7b6377ea.jpg","text":"TemporaryFile(/tmp/multipartBody7119763836857862500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_27_08_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2e60a485bb6601d099d3750bb1bf617.jpg","text":"TemporaryFile(/tmp/multipartBody5415038170979484979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_25_08_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45ed3fc06dd0437e4e73858dc1b1e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1133617891992529280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_24_59_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a0ed40ca5fcd98408743f43c2493b144.jpg","text":"TemporaryFile(/tmp/multipartBody4906962644797985818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_25_23_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e4155c24119de932215d923e57629a2.jpg","text":"TemporaryFile(/tmp/multipartBody7809884204324869983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_26_11_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/580ccccd40a0a5562a4e648a8b4de076.jpg","text":"TemporaryFile(/tmp/multipartBody6032709989482970194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609823770,"filename":"image_15072025_19_27_56_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372229287","file1":"1372229232","file0":"1372229198","file4":"1372229328","file5":"1372229332","file3":"1372229323"},"map_files_photo_id_array":[{"photo_id":"1372229332","filename":"file5"},{"photo_id":"1372229287","filename":"file2"},{"photo_id":"1372229328","filename":"file4"},{"photo_id":"1372229232","filename":"file1"},{"photo_id":"1372229198","filename":"file0"},{"photo_id":"1372229323","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372229328":["hashtag1","hashtag2"]},{"1372229232":["hashtag1","hashtag2"]},{"1372229198":["hashtag1","hashtag2"]},{"1372229287":["hashtag1","hashtag2"]},{"1372229323":["hashtag1","hashtag2"]},{"1372229332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372229328, 1372229232, 1372229198, 1372229287, 1372229323, 1372229332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.985599994659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:03:42.125822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/28/image_15072025_19_28_38_2921.jpg', '/home/pi/Desktop/images/15072025/19/28/image_15072025_19_28_53_3593.jpg', '/home/pi/Desktop/images/15072025/19/29/image_15072025_19_29_34_2670.jpg', '/home/pi/Desktop/images/15072025/19/29/image_15072025_19_29_44_2736.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_07_3011.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_14_2630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/28/image_15072025_19_28_38_2921.jpg
/home/pi/Desktop/images/15072025/19/28/image_15072025_19_28_53_3593.jpg
/home/pi/Desktop/images/15072025/19/29/image_15072025_19_29_34_2670.jpg
/home/pi/Desktop/images/15072025/19/29/image_15072025_19_29_44_2736.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_07_3011.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_14_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372229433","1372229381","1372229399","1372229581","1372229530","1372229481"],"photo_ids_order":["1372229381","1372229399","1372229433","1372229481","1372229530","1372229581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/53212502ea5a88d68c303af3b0b97dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6754523562178871664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_29_34_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1659462ea1663e350da10670d402ef2f.jpg","text":"TemporaryFile(/tmp/multipartBody7589232040414508424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_28_38_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3dfe17d894194527c08bf4e0ee7e6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8183821087487837616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_28_53_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c71697519e676f2d89257fd7840e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8467037612276742625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_30_14_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c5a54c781ff7482a19df12c693c58ac.jpg","text":"TemporaryFile(/tmp/multipartBody3855460276421413458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_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/7/15/d450813b19703857ef45e1f40f4f904f.jpg","text":"TemporaryFile(/tmp/multipartBody1425959762020688529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609883239,"filename":"image_15072025_19_29_44_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372229433","file1":"1372229399","file0":"1372229381","file4":"1372229530","file5":"1372229581","file3":"1372229481"},"map_files_photo_id_array":[{"photo_id":"1372229581","filename":"file5"},{"photo_id":"1372229433","filename":"file2"},{"photo_id":"1372229530","filename":"file4"},{"photo_id":"1372229399","filename":"file1"},{"photo_id":"1372229381","filename":"file0"},{"photo_id":"1372229481","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372229433":["hashtag1","hashtag2"]},{"1372229381":["hashtag1","hashtag2"]},{"1372229399":["hashtag1","hashtag2"]},{"1372229581":["hashtag1","hashtag2"]},{"1372229530":["hashtag1","hashtag2"]},{"1372229481":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372229433, 1372229381, 1372229399, 1372229581, 1372229530, 1372229481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.31083130836487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:04:42.300687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_16_2651.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_35_2750.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_38_3752.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_44_2652.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_47_2575.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_50_3720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_16_2651.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_35_2750.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_38_3752.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_44_2652.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_47_2575.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_50_3720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7623538970947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:05:03.122426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_16_2651.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_35_2750.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_38_3752.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_44_2652.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_47_2575.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_50_3720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_16_2651.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_35_2750.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_38_3752.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_44_2652.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_47_2575.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_50_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":["1372229823","1372229811","1372229780","1372229753","1372229747","1372229816"],"photo_ids_order":["1372229747","1372229753","1372229780","1372229811","1372229816","1372229823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75cabc155fc848b20f6e311747d67d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6548285052761025674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_50_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c39a75d449364fe23ea2d3b90a774d8.jpg","text":"TemporaryFile(/tmp/multipartBody7421989874514748386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_44_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/791f7b2bc5eeffbc4a090133c4d6f3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7581115519985639167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_38_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6bffa8f48a779e804f45ad6e2281ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody6627957374196260062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_35_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dde6f7341bfccb463e8f753827049306.jpg","text":"TemporaryFile(/tmp/multipartBody4791646118943275493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_16_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c61515dc1567d86a80219bc8d6965399.jpg","text":"TemporaryFile(/tmp/multipartBody8155345677765878528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752609964356,"filename":"image_15072025_19_30_47_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372229780","file1":"1372229753","file0":"1372229747","file4":"1372229816","file5":"1372229823","file3":"1372229811"},"map_files_photo_id_array":[{"photo_id":"1372229823","filename":"file5"},{"photo_id":"1372229780","filename":"file2"},{"photo_id":"1372229816","filename":"file4"},{"photo_id":"1372229753","filename":"file1"},{"photo_id":"1372229747","filename":"file0"},{"photo_id":"1372229811","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372229823":["hashtag1","hashtag2"]},{"1372229811":["hashtag1","hashtag2"]},{"1372229780":["hashtag1","hashtag2"]},{"1372229753":["hashtag1","hashtag2"]},{"1372229747":["hashtag1","hashtag2"]},{"1372229816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372229823, 1372229811, 1372229780, 1372229753, 1372229747, 1372229816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26288366317749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:06:02.461054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_56_2641.jpg', '/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_58_2712.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_02_3833.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_11_3801.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_16_2567.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_23_2610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_56_2641.jpg
/home/pi/Desktop/images/15072025/19/30/image_15072025_19_30_58_2712.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_02_3833.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_11_3801.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_16_2567.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_23_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":["1372230003","1372229887","1372230053","1372229950","1372229905","1372229836"],"photo_ids_order":["1372229836","1372229887","1372229905","1372229950","1372230003","1372230053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b766a7770c344f65190f8522fe187605.jpg","text":"TemporaryFile(/tmp/multipartBody4050038511412335559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_31_16_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2184c5452631ce1706b97dbe00dacab6.jpg","text":"TemporaryFile(/tmp/multipartBody6383187106232463525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_30_58_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/640c22d5b8bfa9baaf9f84c11508fcfd.jpg","text":"TemporaryFile(/tmp/multipartBody8550290762050335297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_31_23_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3f22139debed0839c9d3d0a9dec4b9db.jpg","text":"TemporaryFile(/tmp/multipartBody5520864488682191318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_31_11_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3aa1930ed75eeacf27b5e8014091c2db.jpg","text":"TemporaryFile(/tmp/multipartBody7577399155074721646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_31_02_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21ae1a077f37288b8f486868e225b055.jpg","text":"TemporaryFile(/tmp/multipartBody5885179074529080479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610023690,"filename":"image_15072025_19_30_56_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372229905","file1":"1372229887","file0":"1372229836","file4":"1372230003","file5":"1372230053","file3":"1372229950"},"map_files_photo_id_array":[{"photo_id":"1372230053","filename":"file5"},{"photo_id":"1372229905","filename":"file2"},{"photo_id":"1372230003","filename":"file4"},{"photo_id":"1372229887","filename":"file1"},{"photo_id":"1372229836","filename":"file0"},{"photo_id":"1372229950","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372230003":["hashtag1","hashtag2"]},{"1372229887":["hashtag1","hashtag2"]},{"1372230053":["hashtag1","hashtag2"]},{"1372229950":["hashtag1","hashtag2"]},{"1372229905":["hashtag1","hashtag2"]},{"1372229836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372230003, 1372229887, 1372230053, 1372229950, 1372229905, 1372229836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.00764775276184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:07:03.180239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_29_3713.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_50_2648.jpg', '/home/pi/Desktop/images/15072025/19/32/image_15072025_19_32_02_2715.jpg', '/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_08_3592.jpg', '/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_55_2735.jpg', '/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_32_3786.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_29_3713.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_50_2648.jpg
/home/pi/Desktop/images/15072025/19/32/image_15072025_19_32_02_2715.jpg
/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_08_3592.jpg
/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_55_2735.jpg
/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_32_3786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8378386497497559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:07:22.394089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_29_3713.jpg', '/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_50_2648.jpg', '/home/pi/Desktop/images/15072025/19/32/image_15072025_19_32_02_2715.jpg', '/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_08_3592.jpg', '/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_55_2735.jpg', '/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_32_3786.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_29_3713.jpg
/home/pi/Desktop/images/15072025/19/31/image_15072025_19_31_50_2648.jpg
/home/pi/Desktop/images/15072025/19/32/image_15072025_19_32_02_2715.jpg
/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_08_3592.jpg
/home/pi/Desktop/images/15072025/19/35/image_15072025_19_35_55_2735.jpg
/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_32_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372230384","1372230450","1372230444","1372230446","1372230332","1372230439"],"photo_ids_order":["1372230332","1372230384","1372230439","1372230444","1372230446","1372230450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d0a3fac8fa557d56f21b2b643e34d47.jpg","text":"TemporaryFile(/tmp/multipartBody184035550146963139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_31_50_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faac41a911e4a703749041a3c6578268.jpg","text":"TemporaryFile(/tmp/multipartBody172371862433865305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_37_32_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/153aa984e3ae6b620c5023c360f8fc49.jpg","text":"TemporaryFile(/tmp/multipartBody5375163466249678774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_35_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/7/15/f74de5ee62f2ee9bf31d07153bcbd8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3474565887490078873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_35_55_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/73a58b54774a5d3016431e1c2be183ab.jpg","text":"TemporaryFile(/tmp/multipartBody4174940884404269684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_31_29_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d19b9214b5b9e4a640f829313e4700e.jpg","text":"TemporaryFile(/tmp/multipartBody5039868487941753412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610103496,"filename":"image_15072025_19_32_02_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372230439","file1":"1372230384","file0":"1372230332","file4":"1372230446","file5":"1372230450","file3":"1372230444"},"map_files_photo_id_array":[{"photo_id":"1372230450","filename":"file5"},{"photo_id":"1372230439","filename":"file2"},{"photo_id":"1372230446","filename":"file4"},{"photo_id":"1372230384","filename":"file1"},{"photo_id":"1372230332","filename":"file0"},{"photo_id":"1372230444","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372230384":["hashtag1","hashtag2"]},{"1372230450":["hashtag1","hashtag2"]},{"1372230444":["hashtag1","hashtag2"]},{"1372230446":["hashtag1","hashtag2"]},{"1372230332":["hashtag1","hashtag2"]},{"1372230439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372230384, 1372230450, 1372230444, 1372230446, 1372230332, 1372230439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.760964155197144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:08:22.467602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_43_2660.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_01_2611.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_43_3561.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_39_01_3689.jpg', '/home/pi/Desktop/images/15072025/19/39/image_15072025_19_39_13_3557.jpg', '/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_08_2876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_43_2660.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_01_2611.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_43_3561.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_39_01_3689.jpg
/home/pi/Desktop/images/15072025/19/39/image_15072025_19_39_13_3557.jpg
/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_08_2876.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6966609954833984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:08:42.424621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_43_2660.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_01_2611.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_43_3561.jpg', '/home/pi/Desktop/images/15072025/19/38/image_15072025_19_39_01_3689.jpg', '/home/pi/Desktop/images/15072025/19/39/image_15072025_19_39_13_3557.jpg', '/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_08_2876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/37/image_15072025_19_37_43_2660.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_01_2611.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_38_43_3561.jpg
/home/pi/Desktop/images/15072025/19/38/image_15072025_19_39_01_3689.jpg
/home/pi/Desktop/images/15072025/19/39/image_15072025_19_39_13_3557.jpg
/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_08_2876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372230566","1372230575","1372230569","1372230562","1372230559","1372230553"],"photo_ids_order":["1372230553","1372230559","1372230562","1372230566","1372230569","1372230575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/51c56faf21d993c3ff4d7f5fb76b18d3.jpg","text":"TemporaryFile(/tmp/multipartBody7275888645809505914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_39_01_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32d6505969d2c732e3d38c669dfaea2e.jpg","text":"TemporaryFile(/tmp/multipartBody2243940409479588286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_40_08_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cfc2f36ed3b434715292e3308b70eea7.jpg","text":"TemporaryFile(/tmp/multipartBody1554545635762586422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_39_13_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/39628638cfa0fc6fcb351af8ec7d9c9c.jpg","text":"TemporaryFile(/tmp/multipartBody3714569037094562508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_38_43_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f611c69336e1d45869eeb432e8e592e.jpg","text":"TemporaryFile(/tmp/multipartBody83444459440818887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_38_01_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/675d298663de36e0242fa1181520e45a.jpg","text":"TemporaryFile(/tmp/multipartBody379963057345703322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610183561,"filename":"image_15072025_19_37_43_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372230562","file1":"1372230559","file0":"1372230553","file4":"1372230569","file5":"1372230575","file3":"1372230566"},"map_files_photo_id_array":[{"photo_id":"1372230575","filename":"file5"},{"photo_id":"1372230562","filename":"file2"},{"photo_id":"1372230569","filename":"file4"},{"photo_id":"1372230559","filename":"file1"},{"photo_id":"1372230553","filename":"file0"},{"photo_id":"1372230566","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372230566":["hashtag1","hashtag2"]},{"1372230575":["hashtag1","hashtag2"]},{"1372230569":["hashtag1","hashtag2"]},{"1372230562":["hashtag1","hashtag2"]},{"1372230559":["hashtag1","hashtag2"]},{"1372230553":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372230566, 1372230575, 1372230569, 1372230562, 1372230559, 1372230553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.95964026451111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:09:42.006221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_52_2611.jpg', '/home/pi/Desktop/images/15072025/19/41/image_15072025_19_41_10_2715.jpg', '/home/pi/Desktop/images/15072025/19/41/image_15072025_19_41_31_1693.jpg', '/home/pi/Desktop/images/15072025/19/42/image_15072025_19_42_46_6420.jpg', '/home/pi/Desktop/images/15072025/19/44/image_15072025_19_44_03_2631.jpg', '/home/pi/Desktop/images/15072025/19/44/image_15072025_19_44_39_2644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/40/image_15072025_19_40_52_2611.jpg
/home/pi/Desktop/images/15072025/19/41/image_15072025_19_41_10_2715.jpg
/home/pi/Desktop/images/15072025/19/41/image_15072025_19_41_31_1693.jpg
/home/pi/Desktop/images/15072025/19/42/image_15072025_19_42_46_6420.jpg
/home/pi/Desktop/images/15072025/19/44/image_15072025_19_44_03_2631.jpg
/home/pi/Desktop/images/15072025/19/44/image_15072025_19_44_39_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372230725","1372230694","1372230688","1372230691","1372230733","1372230640"],"photo_ids_order":["1372230640","1372230688","1372230691","1372230694","1372230725","1372230733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dcc1e9f50afe9db4cc37fbe3aeea0a92.jpg","text":"TemporaryFile(/tmp/multipartBody5734783024532350716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_44_03_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/233be8c482ef19b0498767686ecbe898.jpg","text":"TemporaryFile(/tmp/multipartBody1305792833275911249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_42_46_6420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dbc556c15530c782a80ad1786a245707.jpg","text":"TemporaryFile(/tmp/multipartBody107778820934490805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_41_10_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0fd2f3d0508d7e7fe64bedca8d2033d.jpg","text":"TemporaryFile(/tmp/multipartBody8837676776259715368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_41_31_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/099d0dc3a306975f95731c2bec325fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6926571774582831923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_44_39_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06f45499ce4b0a179bc2660d97748a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5607583701329717518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610246454,"filename":"image_15072025_19_40_52_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372230691","file1":"1372230688","file0":"1372230640","file4":"1372230725","file5":"1372230733","file3":"1372230694"},"map_files_photo_id_array":[{"photo_id":"1372230733","filename":"file5"},{"photo_id":"1372230691","filename":"file2"},{"photo_id":"1372230725","filename":"file4"},{"photo_id":"1372230688","filename":"file1"},{"photo_id":"1372230640","filename":"file0"},{"photo_id":"1372230694","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372230725":["hashtag1","hashtag2"]},{"1372230694":["hashtag1","hashtag2"]},{"1372230688":["hashtag1","hashtag2"]},{"1372230691":["hashtag1","hashtag2"]},{"1372230733":["hashtag1","hashtag2"]},{"1372230640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372230725, 1372230694, 1372230688, 1372230691, 1372230733, 1372230640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38077235221863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:10:42.039326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_13_2730.jpg', '/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_18_2696.jpg', '/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_22_3712.jpg', '/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_24_2561.jpg', '/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_39_2771.jpg', '/home/pi/Desktop/images/15072025/19/46/image_15072025_19_46_36_2838.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_13_2730.jpg
/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_18_2696.jpg
/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_22_3712.jpg
/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_24_2561.jpg
/home/pi/Desktop/images/15072025/19/45/image_15072025_19_45_39_2771.jpg
/home/pi/Desktop/images/15072025/19/46/image_15072025_19_46_36_2838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372230741","1372230746","1372230806","1372230862","1372230757","1372230751"],"photo_ids_order":["1372230741","1372230746","1372230751","1372230757","1372230806","1372230862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d507873e4f91aed7db63c8a1ccc7319.jpg","text":"TemporaryFile(/tmp/multipartBody1159471587547756033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_45_13_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/03736f2fd3186f5170591abcf75f7ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8424115130310872698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_45_18_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0001bc000ae005812053d2589da3f583.jpg","text":"TemporaryFile(/tmp/multipartBody1898822131558164016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_45_39_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/558e85f773dcf186643d7cf6fadd2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7712820827396730630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_46_36_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d28279e6d193cf4a20f1b6c7542fe482.jpg","text":"TemporaryFile(/tmp/multipartBody378719209883461120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_45_24_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac9f4f3b7d3c2c2ca7069fa2c4445bd2.jpg","text":"TemporaryFile(/tmp/multipartBody1306128592099951147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610303176,"filename":"image_15072025_19_45_22_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372230751","file1":"1372230746","file0":"1372230741","file4":"1372230806","file5":"1372230862","file3":"1372230757"},"map_files_photo_id_array":[{"photo_id":"1372230862","filename":"file5"},{"photo_id":"1372230751","filename":"file2"},{"photo_id":"1372230806","filename":"file4"},{"photo_id":"1372230746","filename":"file1"},{"photo_id":"1372230741","filename":"file0"},{"photo_id":"1372230757","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372230741":["hashtag1","hashtag2"]},{"1372230746":["hashtag1","hashtag2"]},{"1372230806":["hashtag1","hashtag2"]},{"1372230862":["hashtag1","hashtag2"]},{"1372230757":["hashtag1","hashtag2"]},{"1372230751":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372230741, 1372230746, 1372230806, 1372230862, 1372230757, 1372230751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.47507905960083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:11:42.194847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/47/image_15072025_19_47_13_3644.jpg', '/home/pi/Desktop/images/15072025/19/50/image_15072025_19_50_21_2761.jpg', '/home/pi/Desktop/images/15072025/19/51/image_15072025_19_51_06_3695.jpg', '/home/pi/Desktop/images/15072025/19/51/image_15072025_19_51_33_2689.jpg', '/home/pi/Desktop/images/15072025/19/52/image_15072025_19_52_30_2754.jpg', '/home/pi/Desktop/images/15072025/19/53/image_15072025_19_53_30_2755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/47/image_15072025_19_47_13_3644.jpg
/home/pi/Desktop/images/15072025/19/50/image_15072025_19_50_21_2761.jpg
/home/pi/Desktop/images/15072025/19/51/image_15072025_19_51_06_3695.jpg
/home/pi/Desktop/images/15072025/19/51/image_15072025_19_51_33_2689.jpg
/home/pi/Desktop/images/15072025/19/52/image_15072025_19_52_30_2754.jpg
/home/pi/Desktop/images/15072025/19/53/image_15072025_19_53_30_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":["1372231193","1372231253","1372231145","1372231096","1372231004","1372231050"],"photo_ids_order":["1372231004","1372231050","1372231096","1372231145","1372231193","1372231253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6990d791527e51b87ed1f6c763b4d53.jpg","text":"TemporaryFile(/tmp/multipartBody8180854566825398089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_52_30_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/570a516da02b1c1e1467e1ad7eff18e1.jpg","text":"TemporaryFile(/tmp/multipartBody6955857121425700852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_53_30_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d99e8a83398cc156eb954da2b083dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody6689798243632694780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_51_33_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/055ea80f4e6803f85256b34101cacdd7.jpg","text":"TemporaryFile(/tmp/multipartBody4159533334733804644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_51_06_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/70154977738481df3c97acd6ad0a5939.jpg","text":"TemporaryFile(/tmp/multipartBody8615251003619573352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_47_13_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f60cb4024cd28c2f9ee0ba40f232ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2944532963590629956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610363311,"filename":"image_15072025_19_50_21_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372231096","file1":"1372231050","file0":"1372231004","file4":"1372231193","file5":"1372231253","file3":"1372231145"},"map_files_photo_id_array":[{"photo_id":"1372231253","filename":"file5"},{"photo_id":"1372231096","filename":"file2"},{"photo_id":"1372231193","filename":"file4"},{"photo_id":"1372231050","filename":"file1"},{"photo_id":"1372231004","filename":"file0"},{"photo_id":"1372231145","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372231193":["hashtag1","hashtag2"]},{"1372231253":["hashtag1","hashtag2"]},{"1372231145":["hashtag1","hashtag2"]},{"1372231096":["hashtag1","hashtag2"]},{"1372231004":["hashtag1","hashtag2"]},{"1372231050":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372231193, 1372231253, 1372231145, 1372231096, 1372231004, 1372231050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07545304298401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:12:42.039462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/54/image_15072025_19_54_36_3616.jpg', '/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_06_2831.jpg', '/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_11_2688.jpg', '/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_30_2694.jpg', '/home/pi/Desktop/images/15072025/19/56/image_15072025_19_56_26_2609.jpg', '/home/pi/Desktop/images/15072025/19/57/image_15072025_19_57_36_3721.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/54/image_15072025_19_54_36_3616.jpg
/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_06_2831.jpg
/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_11_2688.jpg
/home/pi/Desktop/images/15072025/19/55/image_15072025_19_55_30_2694.jpg
/home/pi/Desktop/images/15072025/19/56/image_15072025_19_56_26_2609.jpg
/home/pi/Desktop/images/15072025/19/57/image_15072025_19_57_36_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372231484","1372231475","1372231418","1372231471","1372231479","1372231488"],"photo_ids_order":["1372231418","1372231471","1372231475","1372231479","1372231484","1372231488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e051c3105beb5397062be927e25daaeb.jpg","text":"TemporaryFile(/tmp/multipartBody4030328456340999589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_56_26_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d9a3e129c22c0e57b92c95206f08a43.jpg","text":"TemporaryFile(/tmp/multipartBody6419530042232707230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_55_11_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/591b8704f6b284c9ea27c000bc92269c.jpg","text":"TemporaryFile(/tmp/multipartBody1564745802840278363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_54_36_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a9bdd1d28ed23bdcb3e56986eedbef3.jpg","text":"TemporaryFile(/tmp/multipartBody4455447759639264783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_55_06_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/82a1d2efca5c88f643f4d2b8bee0f775.jpg","text":"TemporaryFile(/tmp/multipartBody6178581061548874985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_55_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/7/15/95ebcf1a1e02c1572af07da84f09b7af.jpg","text":"TemporaryFile(/tmp/multipartBody7797911186542009039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610423141,"filename":"image_15072025_19_57_36_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372231475","file1":"1372231471","file0":"1372231418","file4":"1372231484","file5":"1372231488","file3":"1372231479"},"map_files_photo_id_array":[{"photo_id":"1372231488","filename":"file5"},{"photo_id":"1372231475","filename":"file2"},{"photo_id":"1372231484","filename":"file4"},{"photo_id":"1372231471","filename":"file1"},{"photo_id":"1372231418","filename":"file0"},{"photo_id":"1372231479","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372231484":["hashtag1","hashtag2"]},{"1372231475":["hashtag1","hashtag2"]},{"1372231418":["hashtag1","hashtag2"]},{"1372231471":["hashtag1","hashtag2"]},{"1372231479":["hashtag1","hashtag2"]},{"1372231488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372231484, 1372231475, 1372231418, 1372231471, 1372231479, 1372231488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66113257408142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:13:42.624917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/58/image_15072025_19_58_14_2619.jpg', '/home/pi/Desktop/images/15072025/19/59/image_15072025_19_59_05_2501.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_05_3812.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_35_2663.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_38_3572.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_44_2659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/58/image_15072025_19_58_14_2619.jpg
/home/pi/Desktop/images/15072025/19/59/image_15072025_19_59_05_2501.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_05_3812.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_35_2663.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_38_3572.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_44_2659.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7429165840148926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:14:03.191000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/19/58/image_15072025_19_58_14_2619.jpg', '/home/pi/Desktop/images/15072025/19/59/image_15072025_19_59_05_2501.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_05_3812.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_35_2663.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_38_3572.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_44_2659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/19/58/image_15072025_19_58_14_2619.jpg
/home/pi/Desktop/images/15072025/19/59/image_15072025_19_59_05_2501.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_05_3812.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_35_2663.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_38_3572.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_44_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372231542","1372231551","1372231527","1372231514","1372231555","1372231507"],"photo_ids_order":["1372231507","1372231514","1372231527","1372231542","1372231551","1372231555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d2805618afa92c8810fd617bceb2721b.jpg","text":"TemporaryFile(/tmp/multipartBody1350116358625314609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_20_00_35_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38729e4776ebcf46fe89659e01f56ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1451601207678187881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_20_00_38_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c0a8d46cf647c65ad0ab926eb305b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody6536035530279128435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_20_00_05_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6af69b3d6f2835d46885531ca24aca73.jpg","text":"TemporaryFile(/tmp/multipartBody919906662945621786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_19_59_05_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00b529467e3d78d23fa4f153f94f760d.jpg","text":"TemporaryFile(/tmp/multipartBody8476272806850194774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_20_00_44_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99c240b3468297a7d3e3da6d78bedaa3.jpg","text":"TemporaryFile(/tmp/multipartBody7520726177886900745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610504442,"filename":"image_15072025_19_58_14_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372231527","file1":"1372231514","file0":"1372231507","file4":"1372231551","file5":"1372231555","file3":"1372231542"},"map_files_photo_id_array":[{"photo_id":"1372231555","filename":"file5"},{"photo_id":"1372231527","filename":"file2"},{"photo_id":"1372231551","filename":"file4"},{"photo_id":"1372231514","filename":"file1"},{"photo_id":"1372231507","filename":"file0"},{"photo_id":"1372231542","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372231542":["hashtag1","hashtag2"]},{"1372231551":["hashtag1","hashtag2"]},{"1372231527":["hashtag1","hashtag2"]},{"1372231514":["hashtag1","hashtag2"]},{"1372231555":["hashtag1","hashtag2"]},{"1372231507":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372231542, 1372231551, 1372231527, 1372231514, 1372231555, 1372231507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.220924377441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:15:03.020336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_53_2481.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_59_3762.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_05_2649.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_11_2593.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_20_3816.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_29_3578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_53_2481.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_59_3762.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_05_2649.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_11_2593.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_20_3816.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_29_3578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8182191848754883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:15:21.994119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_53_2481.jpg', '/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_59_3762.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_05_2649.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_11_2593.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_20_3816.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_29_3578.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_53_2481.jpg
/home/pi/Desktop/images/15072025/20/00/image_15072025_20_00_59_3762.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_05_2649.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_11_2593.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_20_3816.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_29_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372231796","1372231781","1372231783","1372231771","1372231765","1372231777"],"photo_ids_order":["1372231765","1372231771","1372231777","1372231781","1372231783","1372231796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2174792507b34106ddeaf1ae1e4b604f.jpg","text":"TemporaryFile(/tmp/multipartBody4368200642107794418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_01_29_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/de31bb7fc8def191d21ccd7da7b874e5.jpg","text":"TemporaryFile(/tmp/multipartBody515184074558377963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_01_11_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/810ad0e12521c113ae6a70271127b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody916069392643511021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_01_20_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/61eded691c6d020b18fb7142f6d3c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1256732794355003681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_00_59_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a68036a3c74ac38867300fa8a1eb11b.jpg","text":"TemporaryFile(/tmp/multipartBody9096914106788287018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_00_53_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7c299756763fbbf305d53c1016d6027.jpg","text":"TemporaryFile(/tmp/multipartBody9130823899747314618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610583092,"filename":"image_15072025_20_01_05_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372231777","file1":"1372231771","file0":"1372231765","file4":"1372231783","file5":"1372231796","file3":"1372231781"},"map_files_photo_id_array":[{"photo_id":"1372231796","filename":"file5"},{"photo_id":"1372231777","filename":"file2"},{"photo_id":"1372231783","filename":"file4"},{"photo_id":"1372231771","filename":"file1"},{"photo_id":"1372231765","filename":"file0"},{"photo_id":"1372231781","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372231796":["hashtag1","hashtag2"]},{"1372231781":["hashtag1","hashtag2"]},{"1372231783":["hashtag1","hashtag2"]},{"1372231771":["hashtag1","hashtag2"]},{"1372231765":["hashtag1","hashtag2"]},{"1372231777":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372231796, 1372231781, 1372231783, 1372231771, 1372231765, 1372231777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.93523383140564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:16:22.075439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_32_2597.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_41_2707.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_50_2926.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_59_3600.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_04_2585.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_14_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_32_2597.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_41_2707.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_50_2926.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_59_3600.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_04_2585.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_14_2701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7170228958129883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:16:42.165466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_32_2597.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_41_2707.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_50_2926.jpg', '/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_59_3600.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_04_2585.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_14_2701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_32_2597.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_41_2707.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_50_2926.jpg
/home/pi/Desktop/images/15072025/20/01/image_15072025_20_01_59_3600.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_04_2585.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_14_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372231955","1372231937","1372231945","1372231930","1372231959","1372231950"],"photo_ids_order":["1372231930","1372231937","1372231945","1372231950","1372231955","1372231959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1b219944e2d532d481ae73e19f81da26.jpg","text":"TemporaryFile(/tmp/multipartBody8799492685261081351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_02_04_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ead6c4c27872ead50446bc4e03d21abb.jpg","text":"TemporaryFile(/tmp/multipartBody7525212113322640627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_01_41_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a69af3e3f9b3d4d3b91a9aed9179ecfc.jpg","text":"TemporaryFile(/tmp/multipartBody3843868955031855345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_01_50_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/32beda4eada0ed97377ee286afcb1a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5456866286916037495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_01_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/7/15/49ea3a9fa5ed0d91f296e7ce0cfbb11b.jpg","text":"TemporaryFile(/tmp/multipartBody1644040697397571070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_02_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/7/15/edf24fc19e762bbe0532508e73e803ed.jpg","text":"TemporaryFile(/tmp/multipartBody317202705328499188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610663310,"filename":"image_15072025_20_01_59_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372231945","file1":"1372231937","file0":"1372231930","file4":"1372231955","file5":"1372231959","file3":"1372231950"},"map_files_photo_id_array":[{"photo_id":"1372231959","filename":"file5"},{"photo_id":"1372231945","filename":"file2"},{"photo_id":"1372231955","filename":"file4"},{"photo_id":"1372231937","filename":"file1"},{"photo_id":"1372231930","filename":"file0"},{"photo_id":"1372231950","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372231955":["hashtag1","hashtag2"]},{"1372231937":["hashtag1","hashtag2"]},{"1372231945":["hashtag1","hashtag2"]},{"1372231930":["hashtag1","hashtag2"]},{"1372231959":["hashtag1","hashtag2"]},{"1372231950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372231955, 1372231937, 1372231945, 1372231930, 1372231959, 1372231950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.454298973083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:17:42.350562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_25_2592.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_34_2816.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_38_3609.jpg', '/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_04_2630.jpg', '/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_43_2807.jpg', '/home/pi/Desktop/images/15072025/20/04/image_15072025_20_04_32_3784.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_25_2592.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_34_2816.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_38_3609.jpg
/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_04_2630.jpg
/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_43_2807.jpg
/home/pi/Desktop/images/15072025/20/04/image_15072025_20_04_32_3784.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7171304225921631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:18:02.737480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_25_2592.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_34_2816.jpg', '/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_38_3609.jpg', '/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_04_2630.jpg', '/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_43_2807.jpg', '/home/pi/Desktop/images/15072025/20/04/image_15072025_20_04_32_3784.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_25_2592.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_34_2816.jpg
/home/pi/Desktop/images/15072025/20/02/image_15072025_20_02_38_3609.jpg
/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_04_2630.jpg
/home/pi/Desktop/images/15072025/20/03/image_15072025_20_03_43_2807.jpg
/home/pi/Desktop/images/15072025/20/04/image_15072025_20_04_32_3784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372232022","1372232016","1372232004","1372231997","1372232010","1372232028"],"photo_ids_order":["1372231997","1372232004","1372232010","1372232016","1372232022","1372232028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/91160733d834abac6cba469be09c417b.jpg","text":"TemporaryFile(/tmp/multipartBody2748954788391537799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_03_43_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6683f251c46fefd58795f5198569ed2b.jpg","text":"TemporaryFile(/tmp/multipartBody182738826752276270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_03_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/7/15/1bb15a14b02c28b7dc283d409ad8ec21.jpg","text":"TemporaryFile(/tmp/multipartBody876182301103088260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_02_34_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a958d89b72d4a9630c5364eb8798ce66.jpg","text":"TemporaryFile(/tmp/multipartBody4544723819878035076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_02_25_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/793aa21ec48946beeed1b22dae017bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8318601534776657707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_02_38_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/44caea18fa019e2537570948a3b9cd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3257463085263994924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610743915,"filename":"image_15072025_20_04_32_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372232010","file1":"1372232004","file0":"1372231997","file4":"1372232022","file5":"1372232028","file3":"1372232016"},"map_files_photo_id_array":[{"photo_id":"1372232028","filename":"file5"},{"photo_id":"1372232010","filename":"file2"},{"photo_id":"1372232022","filename":"file4"},{"photo_id":"1372232004","filename":"file1"},{"photo_id":"1372231997","filename":"file0"},{"photo_id":"1372232016","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372232022":["hashtag1","hashtag2"]},{"1372232016":["hashtag1","hashtag2"]},{"1372232004":["hashtag1","hashtag2"]},{"1372231997":["hashtag1","hashtag2"]},{"1372232010":["hashtag1","hashtag2"]},{"1372232028":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372232022, 1372232016, 1372232004, 1372231997, 1372232010, 1372232028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25502824783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:19:03.745511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/05/image_15072025_20_05_19_2639.jpg', '/home/pi/Desktop/images/15072025/20/05/image_15072025_20_05_53_3699.jpg', '/home/pi/Desktop/images/15072025/20/07/image_15072025_20_07_05_3727.jpg', '/home/pi/Desktop/images/15072025/20/08/image_15072025_20_08_10_2806.jpg', '/home/pi/Desktop/images/15072025/20/09/image_15072025_20_09_10_2648.jpg', '/home/pi/Desktop/images/15072025/20/09/image_15072025_20_09_34_2524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/05/image_15072025_20_05_19_2639.jpg
/home/pi/Desktop/images/15072025/20/05/image_15072025_20_05_53_3699.jpg
/home/pi/Desktop/images/15072025/20/07/image_15072025_20_07_05_3727.jpg
/home/pi/Desktop/images/15072025/20/08/image_15072025_20_08_10_2806.jpg
/home/pi/Desktop/images/15072025/20/09/image_15072025_20_09_10_2648.jpg
/home/pi/Desktop/images/15072025/20/09/image_15072025_20_09_34_2524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372232188","1372232440","1372232335","1372232388","1372232238","1372232139"],"photo_ids_order":["1372232139","1372232188","1372232238","1372232335","1372232388","1372232440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89199e77bec227797955c871d4609d41.jpg","text":"TemporaryFile(/tmp/multipartBody1379907459983094632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_05_53_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/84def20e80f77d18e4452fa8a1d610e8.jpg","text":"TemporaryFile(/tmp/multipartBody602133845349575667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_09_34_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcedda5b835c04e924e0e5865cf764e1.jpg","text":"TemporaryFile(/tmp/multipartBody7751588301080076852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_08_10_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a41aeeb4ad44e7a5cf141e96403330c.jpg","text":"TemporaryFile(/tmp/multipartBody834505796967326069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_09_10_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/328498ce21e31c28533de4b2012b2f81.jpg","text":"TemporaryFile(/tmp/multipartBody6536512598945898607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_07_05_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b07ee996a088979678e427d68bcdcfcc.jpg","text":"TemporaryFile(/tmp/multipartBody6301392127841049986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610805156,"filename":"image_15072025_20_05_19_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372232238","file1":"1372232188","file0":"1372232139","file4":"1372232388","file5":"1372232440","file3":"1372232335"},"map_files_photo_id_array":[{"photo_id":"1372232440","filename":"file5"},{"photo_id":"1372232238","filename":"file2"},{"photo_id":"1372232388","filename":"file4"},{"photo_id":"1372232188","filename":"file1"},{"photo_id":"1372232139","filename":"file0"},{"photo_id":"1372232335","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372232188":["hashtag1","hashtag2"]},{"1372232440":["hashtag1","hashtag2"]},{"1372232335":["hashtag1","hashtag2"]},{"1372232388":["hashtag1","hashtag2"]},{"1372232238":["hashtag1","hashtag2"]},{"1372232139":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372232188, 1372232440, 1372232335, 1372232388, 1372232238, 1372232139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.861499071121216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:20:21.866165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/10/image_15072025_20_10_10_2826.jpg', '/home/pi/Desktop/images/15072025/20/11/image_15072025_20_11_40_3853.jpg', '/home/pi/Desktop/images/15072025/20/12/image_15072025_20_12_01_2825.jpg', '/home/pi/Desktop/images/15072025/20/12/image_15072025_20_12_43_3564.jpg', '/home/pi/Desktop/images/15072025/20/14/image_15072025_20_14_30_2656.jpg', '/home/pi/Desktop/images/15072025/20/15/image_15072025_20_15_36_2782.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/10/image_15072025_20_10_10_2826.jpg
/home/pi/Desktop/images/15072025/20/11/image_15072025_20_11_40_3853.jpg
/home/pi/Desktop/images/15072025/20/12/image_15072025_20_12_01_2825.jpg
/home/pi/Desktop/images/15072025/20/12/image_15072025_20_12_43_3564.jpg
/home/pi/Desktop/images/15072025/20/14/image_15072025_20_14_30_2656.jpg
/home/pi/Desktop/images/15072025/20/15/image_15072025_20_15_36_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372232873","1372232720","1372232776","1372232941","1372232661","1372232826"],"photo_ids_order":["1372232661","1372232720","1372232776","1372232826","1372232873","1372232941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c68b1c2fc1402a056b20788309bc7dd5.jpg","text":"TemporaryFile(/tmp/multipartBody5628150831077857892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_14_30_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92300d04f70ef4d67df79a02c40e7aff.jpg","text":"TemporaryFile(/tmp/multipartBody6130206184971811415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_11_40_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2f5f2ca38f2bdd0c67f7f00cd0f048d5.jpg","text":"TemporaryFile(/tmp/multipartBody1184744273616034441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_12_01_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5eec638d31fd7dce57e19b0d2f40b4b1.jpg","text":"TemporaryFile(/tmp/multipartBody3460799194169014251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_15_36_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a715db61364a9bd0939ac987be6e5356.jpg","text":"TemporaryFile(/tmp/multipartBody174832198144681260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_10_10_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35b76ff4b406f3532002f4b43143d234.jpg","text":"TemporaryFile(/tmp/multipartBody3907409122223882250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610882985,"filename":"image_15072025_20_12_43_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372232776","file1":"1372232720","file0":"1372232661","file4":"1372232873","file5":"1372232941","file3":"1372232826"},"map_files_photo_id_array":[{"photo_id":"1372232941","filename":"file5"},{"photo_id":"1372232776","filename":"file2"},{"photo_id":"1372232873","filename":"file4"},{"photo_id":"1372232720","filename":"file1"},{"photo_id":"1372232661","filename":"file0"},{"photo_id":"1372232826","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372232873":["hashtag1","hashtag2"]},{"1372232720":["hashtag1","hashtag2"]},{"1372232776":["hashtag1","hashtag2"]},{"1372232941":["hashtag1","hashtag2"]},{"1372232661":["hashtag1","hashtag2"]},{"1372232826":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372232873, 1372232720, 1372232776, 1372232941, 1372232661, 1372232826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.330742597579956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:21:22.244705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/16/image_15072025_20_16_25_3712.jpg', '/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_03_3576.jpg', '/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_15_2581.jpg', '/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_24_2620.jpg', '/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_30_3543.jpg', '/home/pi/Desktop/images/15072025/20/17/image_15072025_20_18_00_3759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/16/image_15072025_20_16_25_3712.jpg
/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_03_3576.jpg
/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_15_2581.jpg
/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_24_2620.jpg
/home/pi/Desktop/images/15072025/20/17/image_15072025_20_17_30_3543.jpg
/home/pi/Desktop/images/15072025/20/17/image_15072025_20_18_00_3759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372233302","1372233094","1372233348","1372233255","1372233144","1372233197"],"photo_ids_order":["1372233094","1372233144","1372233197","1372233255","1372233302","1372233348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0e79622fd10522ac70d2c7aa9e549eff.jpg","text":"TemporaryFile(/tmp/multipartBody5281299275759717282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_17_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/7/15/790bbeeaa702de684d4d2ba4586da18f.jpg","text":"TemporaryFile(/tmp/multipartBody8771829086697740419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_16_25_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a5e25ae49aa6ae0f4757bb8808dd695a.jpg","text":"TemporaryFile(/tmp/multipartBody7978605683928021358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_18_00_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8982ca8b7d81a3eb9611df9a024a7ded.jpg","text":"TemporaryFile(/tmp/multipartBody8687108337553322530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_17_24_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d32b18f3bdf27378a372c1a446b037e.jpg","text":"TemporaryFile(/tmp/multipartBody2519426365707636538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_17_03_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e8e17960485ce6c0740eef7561d5bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3825499152881391564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752610943353,"filename":"image_15072025_20_17_15_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372233197","file1":"1372233144","file0":"1372233094","file4":"1372233302","file5":"1372233348","file3":"1372233255"},"map_files_photo_id_array":[{"photo_id":"1372233348","filename":"file5"},{"photo_id":"1372233197","filename":"file2"},{"photo_id":"1372233302","filename":"file4"},{"photo_id":"1372233144","filename":"file1"},{"photo_id":"1372233094","filename":"file0"},{"photo_id":"1372233255","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372233302":["hashtag1","hashtag2"]},{"1372233094":["hashtag1","hashtag2"]},{"1372233348":["hashtag1","hashtag2"]},{"1372233255":["hashtag1","hashtag2"]},{"1372233144":["hashtag1","hashtag2"]},{"1372233197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372233302, 1372233094, 1372233348, 1372233255, 1372233144, 1372233197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.8576500415802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:22:22.107072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/18/image_15072025_20_18_21_3589.jpg', '/home/pi/Desktop/images/15072025/20/18/image_15072025_20_18_48_3843.jpg', '/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_27_3542.jpg', '/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_51_2819.jpg', '/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_54_3688.jpg', '/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_57_2689.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/18/image_15072025_20_18_21_3589.jpg
/home/pi/Desktop/images/15072025/20/18/image_15072025_20_18_48_3843.jpg
/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_27_3542.jpg
/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_51_2819.jpg
/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_54_3688.jpg
/home/pi/Desktop/images/15072025/20/19/image_15072025_20_19_57_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":["1372233404","1372233407","1372233397","1372233391","1372233421","1372233402"],"photo_ids_order":["1372233391","1372233397","1372233402","1372233404","1372233407","1372233421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b0971e952865e941668c1cbad89a523d.jpg","text":"TemporaryFile(/tmp/multipartBody7685923248646899442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_19_51_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dd70a3eddafa98af24c1a3291432949b.jpg","text":"TemporaryFile(/tmp/multipartBody7858737225914918674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_19_54_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a92c87a981a04f993a5463d192e52b61.jpg","text":"TemporaryFile(/tmp/multipartBody8886640936292057266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_18_48_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3964ef91316e136233a639d4f8e24e26.jpg","text":"TemporaryFile(/tmp/multipartBody7653228552582713106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_18_21_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/21f11d44dac4161cbf068df0c709ca97.jpg","text":"TemporaryFile(/tmp/multipartBody7293798418564057510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_19_57_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2adcf6d65dce5878dab01dacfe8e71fe.jpg","text":"TemporaryFile(/tmp/multipartBody6213621962462610531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611003220,"filename":"image_15072025_20_19_27_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372233402","file1":"1372233397","file0":"1372233391","file4":"1372233407","file5":"1372233421","file3":"1372233404"},"map_files_photo_id_array":[{"photo_id":"1372233421","filename":"file5"},{"photo_id":"1372233402","filename":"file2"},{"photo_id":"1372233407","filename":"file4"},{"photo_id":"1372233397","filename":"file1"},{"photo_id":"1372233391","filename":"file0"},{"photo_id":"1372233404","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372233404":["hashtag1","hashtag2"]},{"1372233407":["hashtag1","hashtag2"]},{"1372233397":["hashtag1","hashtag2"]},{"1372233391":["hashtag1","hashtag2"]},{"1372233421":["hashtag1","hashtag2"]},{"1372233402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372233404, 1372233407, 1372233397, 1372233391, 1372233421, 1372233402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.292649269104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:23:22.479866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_12_2671.jpg', '/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_15_3546.jpg', '/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_27_2729.jpg', '/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_33_2754.jpg', '/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_48_3577.jpg', '/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_57_3531.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_12_2671.jpg
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_15_3546.jpg
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_27_2729.jpg
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_33_2754.jpg
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_48_3577.jpg
/home/pi/Desktop/images/15072025/20/20/image_15072025_20_20_57_3531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372233970","1372233736","1372233658","1372233541","1372233601","1372233825"],"photo_ids_order":["1372233541","1372233601","1372233658","1372233736","1372233825","1372233970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14411dc3b4549d7eaa486d162cfa1c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5348586744663056052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_57_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/eeef6a8b119d07716230a38d0f083008.jpg","text":"TemporaryFile(/tmp/multipartBody8142327513194693859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_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/7/15/f0cd9a4459345529d5b8cb8ee049cda0.jpg","text":"TemporaryFile(/tmp/multipartBody3792237504506067499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_27_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/28b26662898a8c17bfd0ca97d6a7b62a.jpg","text":"TemporaryFile(/tmp/multipartBody2006047658806761831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_12_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6250740d142c18fa533a4c916642cc07.jpg","text":"TemporaryFile(/tmp/multipartBody5322405425719555929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_15_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9cba86fc8d1eb15b8fee9f931ab3cc95.jpg","text":"TemporaryFile(/tmp/multipartBody5905527388823097791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611063601,"filename":"image_15072025_20_20_48_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372233658","file1":"1372233601","file0":"1372233541","file4":"1372233825","file5":"1372233970","file3":"1372233736"},"map_files_photo_id_array":[{"photo_id":"1372233970","filename":"file5"},{"photo_id":"1372233658","filename":"file2"},{"photo_id":"1372233825","filename":"file4"},{"photo_id":"1372233601","filename":"file1"},{"photo_id":"1372233541","filename":"file0"},{"photo_id":"1372233736","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372233970":["hashtag1","hashtag2"]},{"1372233736":["hashtag1","hashtag2"]},{"1372233658":["hashtag1","hashtag2"]},{"1372233541":["hashtag1","hashtag2"]},{"1372233601":["hashtag1","hashtag2"]},{"1372233825":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372233970, 1372233736, 1372233658, 1372233541, 1372233601, 1372233825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07397127151489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:24:22.333294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/21/image_15072025_20_21_30_2790.jpg', '/home/pi/Desktop/images/15072025/20/22/image_15072025_20_22_27_2792.jpg', '/home/pi/Desktop/images/15072025/20/23/image_15072025_20_23_08_2701.jpg', '/home/pi/Desktop/images/15072025/20/24/image_15072025_20_24_23_2767.jpg', '/home/pi/Desktop/images/15072025/20/26/image_15072025_20_26_14_3663.jpg', '/home/pi/Desktop/images/15072025/20/26/image_15072025_20_26_48_3788.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/21/image_15072025_20_21_30_2790.jpg
/home/pi/Desktop/images/15072025/20/22/image_15072025_20_22_27_2792.jpg
/home/pi/Desktop/images/15072025/20/23/image_15072025_20_23_08_2701.jpg
/home/pi/Desktop/images/15072025/20/24/image_15072025_20_24_23_2767.jpg
/home/pi/Desktop/images/15072025/20/26/image_15072025_20_26_14_3663.jpg
/home/pi/Desktop/images/15072025/20/26/image_15072025_20_26_48_3788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234109","1372234162","1372234305","1372234415","1372234387","1372234232"],"photo_ids_order":["1372234109","1372234162","1372234232","1372234305","1372234387","1372234415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1702e71cf8f80bc50a322391ed807048.jpg","text":"TemporaryFile(/tmp/multipartBody5722349194025621109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_21_30_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a80c609cd25c910240129d110417848d.jpg","text":"TemporaryFile(/tmp/multipartBody8743662624000435455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_22_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/7/15/d1672b53e52fd8d9b35b3ddd8f373c39.jpg","text":"TemporaryFile(/tmp/multipartBody7683099515915634663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_24_23_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/681e924d3c5aec98d9a5053ce7942515.jpg","text":"TemporaryFile(/tmp/multipartBody1055127322442612244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_26_48_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3c3b9578bfb0fcc2b8f9a9b119f68e98.jpg","text":"TemporaryFile(/tmp/multipartBody7658219813856493153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_26_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/7/15/ede82b3b1ef5915a735f31925de77cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5526698632505561091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611123446,"filename":"image_15072025_20_23_08_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234232","file1":"1372234162","file0":"1372234109","file4":"1372234387","file5":"1372234415","file3":"1372234305"},"map_files_photo_id_array":[{"photo_id":"1372234415","filename":"file5"},{"photo_id":"1372234232","filename":"file2"},{"photo_id":"1372234387","filename":"file4"},{"photo_id":"1372234162","filename":"file1"},{"photo_id":"1372234109","filename":"file0"},{"photo_id":"1372234305","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234109":["hashtag1","hashtag2"]},{"1372234162":["hashtag1","hashtag2"]},{"1372234305":["hashtag1","hashtag2"]},{"1372234415":["hashtag1","hashtag2"]},{"1372234387":["hashtag1","hashtag2"]},{"1372234232":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234109, 1372234162, 1372234305, 1372234415, 1372234387, 1372234232)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.84182381629944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:25:42.642811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/29/image_15072025_20_29_29_3629.jpg', '/home/pi/Desktop/images/15072025/20/31/image_15072025_20_31_08_3584.jpg', '/home/pi/Desktop/images/15072025/20/32/image_15072025_20_32_26_3690.jpg', '/home/pi/Desktop/images/15072025/20/34/image_15072025_20_34_43_2539.jpg', '/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_13_2646.jpg', '/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_37_2573.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/29/image_15072025_20_29_29_3629.jpg
/home/pi/Desktop/images/15072025/20/31/image_15072025_20_31_08_3584.jpg
/home/pi/Desktop/images/15072025/20/32/image_15072025_20_32_26_3690.jpg
/home/pi/Desktop/images/15072025/20/34/image_15072025_20_34_43_2539.jpg
/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_13_2646.jpg
/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_37_2573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234522","1372234651","1372234545","1372234598","1372234490","1372234640"],"photo_ids_order":["1372234490","1372234522","1372234545","1372234598","1372234640","1372234651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2404f557937dbe24332ac7b8ac97a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody4030125839378570351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_31_08_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b682bef6ea3902a799323618d3d4e25f.jpg","text":"TemporaryFile(/tmp/multipartBody5802004448748169015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_35_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/7/15/d4de032614d2b594af7977ef78682657.jpg","text":"TemporaryFile(/tmp/multipartBody5557589188379260008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_32_26_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ce964de94fc9250e19464c1631800040.jpg","text":"TemporaryFile(/tmp/multipartBody8107442028452587061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_34_43_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/697d60a0d54ec22f705647cec635c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody326456938414733354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_29_29_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c3519550504a401168d565a0999e3701.jpg","text":"TemporaryFile(/tmp/multipartBody860968309327748950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611203794,"filename":"image_15072025_20_35_13_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234545","file1":"1372234522","file0":"1372234490","file4":"1372234640","file5":"1372234651","file3":"1372234598"},"map_files_photo_id_array":[{"photo_id":"1372234651","filename":"file5"},{"photo_id":"1372234545","filename":"file2"},{"photo_id":"1372234640","filename":"file4"},{"photo_id":"1372234522","filename":"file1"},{"photo_id":"1372234490","filename":"file0"},{"photo_id":"1372234598","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234522":["hashtag1","hashtag2"]},{"1372234651":["hashtag1","hashtag2"]},{"1372234545":["hashtag1","hashtag2"]},{"1372234598":["hashtag1","hashtag2"]},{"1372234490":["hashtag1","hashtag2"]},{"1372234640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234522, 1372234651, 1372234545, 1372234598, 1372234490, 1372234640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81433057785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:26:41.747732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_43_2691.jpg', '/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_59_3687.jpg', '/home/pi/Desktop/images/15072025/20/36/image_15072025_20_36_29_3739.jpg', '/home/pi/Desktop/images/15072025/20/36/image_15072025_20_36_56_3693.jpg', '/home/pi/Desktop/images/15072025/20/37/image_15072025_20_37_05_3668.jpg', '/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_07_2573.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_43_2691.jpg
/home/pi/Desktop/images/15072025/20/35/image_15072025_20_35_59_3687.jpg
/home/pi/Desktop/images/15072025/20/36/image_15072025_20_36_29_3739.jpg
/home/pi/Desktop/images/15072025/20/36/image_15072025_20_36_56_3693.jpg
/home/pi/Desktop/images/15072025/20/37/image_15072025_20_37_05_3668.jpg
/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_07_2573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234774","1372234720","1372234708","1372234785","1372234728","1372234673"],"photo_ids_order":["1372234673","1372234708","1372234720","1372234728","1372234774","1372234785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3303709e941c7a0ebeade548c55a3c13.jpg","text":"TemporaryFile(/tmp/multipartBody3726835851738457840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_37_05_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c40277837969466e9b8491b3976c3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5931650580526960815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_36_29_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/117b8bcf9651fe9241c3762e80d6edd9.jpg","text":"TemporaryFile(/tmp/multipartBody5211469676158322036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_35_59_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4cc65b9bc18d918210f8985eeea7e09.jpg","text":"TemporaryFile(/tmp/multipartBody8920574323213641708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_39_07_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d9164f8c71a17928e1a9475e12b6507.jpg","text":"TemporaryFile(/tmp/multipartBody5810618396029730693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_36_56_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf58885268e1981af43f73c929902f07.jpg","text":"TemporaryFile(/tmp/multipartBody5043756815219369858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611262852,"filename":"image_15072025_20_35_43_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234720","file1":"1372234708","file0":"1372234673","file4":"1372234774","file5":"1372234785","file3":"1372234728"},"map_files_photo_id_array":[{"photo_id":"1372234785","filename":"file5"},{"photo_id":"1372234720","filename":"file2"},{"photo_id":"1372234774","filename":"file4"},{"photo_id":"1372234708","filename":"file1"},{"photo_id":"1372234673","filename":"file0"},{"photo_id":"1372234728","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234774":["hashtag1","hashtag2"]},{"1372234720":["hashtag1","hashtag2"]},{"1372234708":["hashtag1","hashtag2"]},{"1372234785":["hashtag1","hashtag2"]},{"1372234728":["hashtag1","hashtag2"]},{"1372234673":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234774, 1372234720, 1372234708, 1372234785, 1372234728, 1372234673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.40701961517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:28:02.786662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_54_2622.jpg', '/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_58_3687.jpg', '/home/pi/Desktop/images/15072025/20/40/image_15072025_20_40_31_3568.jpg', '/home/pi/Desktop/images/15072025/20/40/image_15072025_20_40_54_2719.jpg', '/home/pi/Desktop/images/15072025/20/41/image_15072025_20_41_10_3549.jpg', '/home/pi/Desktop/images/15072025/20/43/image_15072025_20_43_58_2825.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_54_2622.jpg
/home/pi/Desktop/images/15072025/20/39/image_15072025_20_39_58_3687.jpg
/home/pi/Desktop/images/15072025/20/40/image_15072025_20_40_31_3568.jpg
/home/pi/Desktop/images/15072025/20/40/image_15072025_20_40_54_2719.jpg
/home/pi/Desktop/images/15072025/20/41/image_15072025_20_41_10_3549.jpg
/home/pi/Desktop/images/15072025/20/43/image_15072025_20_43_58_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234810","1372234839","1372234824","1372234835","1372234817","1372234829"],"photo_ids_order":["1372234810","1372234817","1372234824","1372234829","1372234835","1372234839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/87e1a9e1811889e54f770d3fb8aa4113.jpg","text":"TemporaryFile(/tmp/multipartBody18428833620412259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_39_54_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/14b122dd6dfc2a7a3d8e7ca77e914784.jpg","text":"TemporaryFile(/tmp/multipartBody9187395687330922126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_43_58_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55ff377613046aa8f92043ba6f5c785f.jpg","text":"TemporaryFile(/tmp/multipartBody279928111309512454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_40_31_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aaf0dfbb8487c6f25dd0b134d2ebc2a8.jpg","text":"TemporaryFile(/tmp/multipartBody981010793408318273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_41_10_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d1c0395edda469d3f35f215c5782d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5765678831227158808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_39_58_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/45c72b36a2948674ee6853e0548b12e0.jpg","text":"TemporaryFile(/tmp/multipartBody2743387559606770806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611343970,"filename":"image_15072025_20_40_54_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234824","file1":"1372234817","file0":"1372234810","file4":"1372234835","file5":"1372234839","file3":"1372234829"},"map_files_photo_id_array":[{"photo_id":"1372234839","filename":"file5"},{"photo_id":"1372234824","filename":"file2"},{"photo_id":"1372234835","filename":"file4"},{"photo_id":"1372234817","filename":"file1"},{"photo_id":"1372234810","filename":"file0"},{"photo_id":"1372234829","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234810":["hashtag1","hashtag2"]},{"1372234839":["hashtag1","hashtag2"]},{"1372234824":["hashtag1","hashtag2"]},{"1372234835":["hashtag1","hashtag2"]},{"1372234817":["hashtag1","hashtag2"]},{"1372234829":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234810, 1372234839, 1372234824, 1372234835, 1372234817, 1372234829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36454772949219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:29:03.928077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_13_3584.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_15_2655.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_22_3750.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_36_2596.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_40_3663.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_43_2829.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_13_3584.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_15_2655.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_22_3750.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_36_2596.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_40_3663.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_43_2829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234885","1372234869","1372234863","1372234857","1372234902","1372234876"],"photo_ids_order":["1372234857","1372234863","1372234869","1372234876","1372234885","1372234902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/60003f890295dc492108744b2abf1703.jpg","text":"TemporaryFile(/tmp/multipartBody6470005285112927721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_40_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/96109aade09212d0f58315d7eb911920.jpg","text":"TemporaryFile(/tmp/multipartBody9143248028215093229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_22_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0abbe1fc05c6f676751c4a76d337faa8.jpg","text":"TemporaryFile(/tmp/multipartBody7837894595386977459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d01184fd5033a935e35086ad1711c1e.jpg","text":"TemporaryFile(/tmp/multipartBody7497338090316557672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_13_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5350075cb2c3bde8a0b8557604bc06ce.jpg","text":"TemporaryFile(/tmp/multipartBody7919442420059676174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_43_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/772185e605065e639072da4d72ab289b.jpg","text":"TemporaryFile(/tmp/multipartBody4962389911281417641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611405265,"filename":"image_15072025_20_44_36_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234869","file1":"1372234863","file0":"1372234857","file4":"1372234885","file5":"1372234902","file3":"1372234876"},"map_files_photo_id_array":[{"photo_id":"1372234902","filename":"file5"},{"photo_id":"1372234869","filename":"file2"},{"photo_id":"1372234885","filename":"file4"},{"photo_id":"1372234863","filename":"file1"},{"photo_id":"1372234857","filename":"file0"},{"photo_id":"1372234876","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234885":["hashtag1","hashtag2"]},{"1372234869":["hashtag1","hashtag2"]},{"1372234863":["hashtag1","hashtag2"]},{"1372234857":["hashtag1","hashtag2"]},{"1372234902":["hashtag1","hashtag2"]},{"1372234876":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234885, 1372234869, 1372234863, 1372234857, 1372234902, 1372234876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48308992385864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:30:03.009131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_45_2610.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_49_3639.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_54_2627.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_58_3578.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_03_2695.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_06_2902.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_45_2610.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_49_3639.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_54_2627.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_58_3578.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_03_2695.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_06_2902.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7642307281494141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:30:22.456630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_45_2610.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_49_3639.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_54_2627.jpg', '/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_58_3578.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_03_2695.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_06_2902.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_45_2610.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_49_3639.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_54_2627.jpg
/home/pi/Desktop/images/15072025/20/44/image_15072025_20_44_58_3578.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_03_2695.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_06_2902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372234945","1372234953","1372234935","1372234970","1372234967","1372234958"],"photo_ids_order":["1372234935","1372234945","1372234953","1372234958","1372234967","1372234970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe06c226740a3664fae4205542f11761.jpg","text":"TemporaryFile(/tmp/multipartBody2361172130002171088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_44_49_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf7e430e31a003adb298ea2d4b64abb7.jpg","text":"TemporaryFile(/tmp/multipartBody796003516412387231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_44_54_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a68c72520de39ae05ff05c00be4ff62.jpg","text":"TemporaryFile(/tmp/multipartBody2211474073615775549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_44_45_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/55c9c30a60bc9e07c0cca470a43eee84.jpg","text":"TemporaryFile(/tmp/multipartBody7930788705110255084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_45_06_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/421570f0bdd7afecccb7cdc098782d94.jpg","text":"TemporaryFile(/tmp/multipartBody4225366062914118773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_45_03_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/280bcc3baec4927750e2abf16af81d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6554404881059040308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611483552,"filename":"image_15072025_20_44_58_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372234953","file1":"1372234945","file0":"1372234935","file4":"1372234967","file5":"1372234970","file3":"1372234958"},"map_files_photo_id_array":[{"photo_id":"1372234970","filename":"file5"},{"photo_id":"1372234953","filename":"file2"},{"photo_id":"1372234967","filename":"file4"},{"photo_id":"1372234945","filename":"file1"},{"photo_id":"1372234935","filename":"file0"},{"photo_id":"1372234958","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372234945":["hashtag1","hashtag2"]},{"1372234953":["hashtag1","hashtag2"]},{"1372234935":["hashtag1","hashtag2"]},{"1372234970":["hashtag1","hashtag2"]},{"1372234967":["hashtag1","hashtag2"]},{"1372234958":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372234945, 1372234953, 1372234935, 1372234970, 1372234967, 1372234958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04271149635315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:31:22.737328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_10_3588.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_12_2686.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_16_3595.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_19_3008.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_22_2745.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_24_2772.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_10_3588.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_12_2686.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_16_3595.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_19_3008.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_22_2745.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_24_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":["1372235125","1372235023","1372235280","1372235181","1372235076","1372235236"],"photo_ids_order":["1372235023","1372235076","1372235125","1372235181","1372235236","1372235280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2dfeab8e5b7e72cf847dd80db454424e.jpg","text":"TemporaryFile(/tmp/multipartBody8347747798641019716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_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/7/15/0677e72d1afbd22831cb1416b39c2021.jpg","text":"TemporaryFile(/tmp/multipartBody9111626417193501659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_10_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1ea7b81c5ab6d7ba35a5fdeb21e5bb2c.jpg","text":"TemporaryFile(/tmp/multipartBody2882119398373873683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_24_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/defd7276ef00a33e57a0174e5c5a725f.jpg","text":"TemporaryFile(/tmp/multipartBody7931843606464319059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_19_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/960347267db1e42ebe19b85ef8155093.jpg","text":"TemporaryFile(/tmp/multipartBody8177279192965677431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_12_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d732d40d309b42b08e31189413f8a266.jpg","text":"TemporaryFile(/tmp/multipartBody997120592192758764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611543847,"filename":"image_15072025_20_45_22_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372235125","file1":"1372235076","file0":"1372235023","file4":"1372235236","file5":"1372235280","file3":"1372235181"},"map_files_photo_id_array":[{"photo_id":"1372235280","filename":"file5"},{"photo_id":"1372235125","filename":"file2"},{"photo_id":"1372235236","filename":"file4"},{"photo_id":"1372235076","filename":"file1"},{"photo_id":"1372235023","filename":"file0"},{"photo_id":"1372235181","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372235125":["hashtag1","hashtag2"]},{"1372235023":["hashtag1","hashtag2"]},{"1372235280":["hashtag1","hashtag2"]},{"1372235181":["hashtag1","hashtag2"]},{"1372235076":["hashtag1","hashtag2"]},{"1372235236":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372235125, 1372235023, 1372235280, 1372235181, 1372235076, 1372235236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76040458679199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:32:22.427165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_27_2697.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_31_3642.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_33_2714.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_36_2693.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_40_3558.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_42_2655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_27_2697.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_31_3642.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_33_2714.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_36_2693.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_40_3558.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_42_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372235567","1372235495","1372235406","1372235354","1372235333","1372235327"],"photo_ids_order":["1372235327","1372235333","1372235354","1372235406","1372235495","1372235567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/44adc4c5e67315133f0d08a415b8f45a.jpg","text":"TemporaryFile(/tmp/multipartBody8289530935443077884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_42_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/540e0629954454d777875ca698514b80.jpg","text":"TemporaryFile(/tmp/multipartBody145359452767361114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_40_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/092f0806a0605fa8b66bca95044e6683.jpg","text":"TemporaryFile(/tmp/multipartBody1128927043232181669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_36_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f91c1e80726e82617c4066414d9f01ad.jpg","text":"TemporaryFile(/tmp/multipartBody4479076365108287745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_33_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9a9e71df6afffce5cecc2f8a307e1b02.jpg","text":"TemporaryFile(/tmp/multipartBody6283228353908300724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_31_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0d98b85bb444173f3fc03b5a5cd98c88.jpg","text":"TemporaryFile(/tmp/multipartBody953767321681624249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611603539,"filename":"image_15072025_20_45_27_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372235354","file1":"1372235333","file0":"1372235327","file4":"1372235495","file5":"1372235567","file3":"1372235406"},"map_files_photo_id_array":[{"photo_id":"1372235567","filename":"file5"},{"photo_id":"1372235354","filename":"file2"},{"photo_id":"1372235495","filename":"file4"},{"photo_id":"1372235333","filename":"file1"},{"photo_id":"1372235327","filename":"file0"},{"photo_id":"1372235406","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372235567":["hashtag1","hashtag2"]},{"1372235495":["hashtag1","hashtag2"]},{"1372235406":["hashtag1","hashtag2"]},{"1372235354":["hashtag1","hashtag2"]},{"1372235333":["hashtag1","hashtag2"]},{"1372235327":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372235567, 1372235495, 1372235406, 1372235354, 1372235333, 1372235327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.18055748939514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:33:21.993451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_52_2877.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_57_2590.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_07_3668.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_19_3813.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_42_2766.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_47_00_3606.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_52_2877.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_57_2590.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_07_3668.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_19_3813.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_42_2766.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_47_00_3606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7281599044799805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:33:42.025672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_52_2877.jpg', '/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_57_2590.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_07_3668.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_19_3813.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_42_2766.jpg', '/home/pi/Desktop/images/15072025/20/46/image_15072025_20_47_00_3606.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_52_2877.jpg
/home/pi/Desktop/images/15072025/20/45/image_15072025_20_45_57_2590.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_07_3668.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_19_3813.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_46_42_2766.jpg
/home/pi/Desktop/images/15072025/20/46/image_15072025_20_47_00_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":["1372236080","1372236032","1372235984","1372235936","1372235875","1372236130"],"photo_ids_order":["1372235875","1372235936","1372235984","1372236032","1372236080","1372236130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/33f3e378eb563b9b443956d6a2f98252.jpg","text":"TemporaryFile(/tmp/multipartBody4804585399886531149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_46_42_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4740792023d6515d52dec68a6f3036fd.jpg","text":"TemporaryFile(/tmp/multipartBody4541400026428999458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_46_19_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27b8c87e25f7ccba86e9ac05358a4722.jpg","text":"TemporaryFile(/tmp/multipartBody3648482382356903097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_46_07_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c70ad60437b521b37d1b1daa1bb403fa.jpg","text":"TemporaryFile(/tmp/multipartBody1124639370308923585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_45_57_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/60f2a7f0cfc9cc36336f49d354984faa.jpg","text":"TemporaryFile(/tmp/multipartBody6083829082093516487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_45_52_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e4c8faf53c590f4ec04f83cf280b0921.jpg","text":"TemporaryFile(/tmp/multipartBody7580595032172217986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611683154,"filename":"image_15072025_20_47_00_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372235984","file1":"1372235936","file0":"1372235875","file4":"1372236080","file5":"1372236130","file3":"1372236032"},"map_files_photo_id_array":[{"photo_id":"1372236130","filename":"file5"},{"photo_id":"1372235984","filename":"file2"},{"photo_id":"1372236080","filename":"file4"},{"photo_id":"1372235936","filename":"file1"},{"photo_id":"1372235875","filename":"file0"},{"photo_id":"1372236032","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236080":["hashtag1","hashtag2"]},{"1372236032":["hashtag1","hashtag2"]},{"1372235984":["hashtag1","hashtag2"]},{"1372235936":["hashtag1","hashtag2"]},{"1372235875":["hashtag1","hashtag2"]},{"1372236130":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236080, 1372236032, 1372235984, 1372235936, 1372235875, 1372236130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.20694375038147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:34:41.851727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_12_2705.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_36_2759.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_54_2585.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_58_3691.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_06_3653.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_18_2595.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_12_2705.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_36_2759.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_54_2585.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_58_3691.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_06_3653.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_18_2595.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.762779951095581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:35:02.836228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_12_2705.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_36_2759.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_54_2585.jpg', '/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_58_3691.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_06_3653.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_18_2595.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_12_2705.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_36_2759.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_54_2585.jpg
/home/pi/Desktop/images/15072025/20/47/image_15072025_20_47_58_3691.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_06_3653.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_18_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236228","1372236207","1372236222","1372236216","1372236239","1372236212"],"photo_ids_order":["1372236207","1372236212","1372236216","1372236222","1372236228","1372236239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/22b423af0073326fd075113765035bac.jpg","text":"TemporaryFile(/tmp/multipartBody8854750948688975378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_48_06_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b12a420493fb6157e20d293e9a60e262.jpg","text":"TemporaryFile(/tmp/multipartBody3248868376362590376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_47_12_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/39dcfff644370b6a2054eca1854724c5.jpg","text":"TemporaryFile(/tmp/multipartBody7663183243910792848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_47_58_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a96b6052fe03b4f861ba02c96c149c11.jpg","text":"TemporaryFile(/tmp/multipartBody7886096777876256030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_47_54_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/025b34d636b203bd47b4b968ad148c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7047813909109008113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_48_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f3ffeea85178385311e50d6264cd9121.jpg","text":"TemporaryFile(/tmp/multipartBody3610306555242615428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611764068,"filename":"image_15072025_20_47_36_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236216","file1":"1372236212","file0":"1372236207","file4":"1372236228","file5":"1372236239","file3":"1372236222"},"map_files_photo_id_array":[{"photo_id":"1372236239","filename":"file5"},{"photo_id":"1372236216","filename":"file2"},{"photo_id":"1372236228","filename":"file4"},{"photo_id":"1372236212","filename":"file1"},{"photo_id":"1372236207","filename":"file0"},{"photo_id":"1372236222","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236228":["hashtag1","hashtag2"]},{"1372236207":["hashtag1","hashtag2"]},{"1372236222":["hashtag1","hashtag2"]},{"1372236216":["hashtag1","hashtag2"]},{"1372236239":["hashtag1","hashtag2"]},{"1372236212":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236228, 1372236207, 1372236222, 1372236216, 1372236239, 1372236212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.51545429229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:36:02.734225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_21_2595.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_24_3582.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_30_3611.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_42_3576.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_45_2700.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_48_2665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_21_2595.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_24_3582.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_30_3611.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_42_3576.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_45_2700.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_48_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.783557653427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:36:22.093465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_21_2595.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_24_3582.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_30_3611.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_42_3576.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_45_2700.jpg', '/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_48_2665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_21_2595.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_24_3582.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_30_3611.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_42_3576.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_45_2700.jpg
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_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":["1372236290","1372236296","1372236269","1372236284","1372236305","1372236277"],"photo_ids_order":["1372236269","1372236277","1372236284","1372236290","1372236296","1372236305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8ba8a329466410871e6d70ae03b82c0.jpg","text":"TemporaryFile(/tmp/multipartBody6188546955882613584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_42_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/01bdb960a9f4399a4873109686414365.jpg","text":"TemporaryFile(/tmp/multipartBody5047425810250714898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c965d811d9acb362fa59c3483234d00f.jpg","text":"TemporaryFile(/tmp/multipartBody5767040723511619001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_21_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbcb5ca066ed298202b400d8b948f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6928317645092334432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_30_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f120185adf672de5af8da5376028b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody5751245457493481553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_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/7/15/c43ab2d5807dac98297f7d44d7db786a.jpg","text":"TemporaryFile(/tmp/multipartBody437570790533780621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611843231,"filename":"image_15072025_20_48_24_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236284","file1":"1372236277","file0":"1372236269","file4":"1372236296","file5":"1372236305","file3":"1372236290"},"map_files_photo_id_array":[{"photo_id":"1372236305","filename":"file5"},{"photo_id":"1372236284","filename":"file2"},{"photo_id":"1372236296","filename":"file4"},{"photo_id":"1372236277","filename":"file1"},{"photo_id":"1372236269","filename":"file0"},{"photo_id":"1372236290","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236290":["hashtag1","hashtag2"]},{"1372236296":["hashtag1","hashtag2"]},{"1372236269":["hashtag1","hashtag2"]},{"1372236284":["hashtag1","hashtag2"]},{"1372236305":["hashtag1","hashtag2"]},{"1372236277":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236290, 1372236296, 1372236269, 1372236284, 1372236305, 1372236277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.780715227127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:37:22.432421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_54_2690.jpg', '/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_27_3580.jpg', '/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_39_2672.jpg', '/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_42_2703.jpg', '/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_48_2597.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_06_3773.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/48/image_15072025_20_48_54_2690.jpg
/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_27_3580.jpg
/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_39_2672.jpg
/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_42_2703.jpg
/home/pi/Desktop/images/15072025/20/49/image_15072025_20_49_48_2597.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_06_3773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236480","1372236603","1372236531","1372236583","1372236430","1372236597"],"photo_ids_order":["1372236430","1372236480","1372236531","1372236583","1372236597","1372236603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5b2408e232deca318e49031fa4afe84f.jpg","text":"TemporaryFile(/tmp/multipartBody3280922797920142127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_49_27_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/423f894963afc27042a9ea98b007cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody3855389848269807353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_50_06_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0b3f2be137743c9fdba6aa18f9ae5c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4996487744007057596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_49_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/7/15/f730607c5a714ff00a1c903ea7908f86.jpg","text":"TemporaryFile(/tmp/multipartBody3537863906368923237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_49_42_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e0d474fcfc5274430a28c34a50704f9.jpg","text":"TemporaryFile(/tmp/multipartBody6271547358285271557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_48_54_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/765b404edf1afa7976bb6a79841b3885.jpg","text":"TemporaryFile(/tmp/multipartBody6284661169369481357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611903555,"filename":"image_15072025_20_49_48_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236531","file1":"1372236480","file0":"1372236430","file4":"1372236597","file5":"1372236603","file3":"1372236583"},"map_files_photo_id_array":[{"photo_id":"1372236603","filename":"file5"},{"photo_id":"1372236531","filename":"file2"},{"photo_id":"1372236597","filename":"file4"},{"photo_id":"1372236480","filename":"file1"},{"photo_id":"1372236430","filename":"file0"},{"photo_id":"1372236583","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236480":["hashtag1","hashtag2"]},{"1372236603":["hashtag1","hashtag2"]},{"1372236531":["hashtag1","hashtag2"]},{"1372236583":["hashtag1","hashtag2"]},{"1372236430":["hashtag1","hashtag2"]},{"1372236597":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236480, 1372236603, 1372236531, 1372236583, 1372236430, 1372236597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.12526988983154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:38:22.642400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_09_2656.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_21_2921.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_27_3749.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_30_2544.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_32_2567.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_39_2588.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_09_2656.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_21_2921.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_27_3749.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_30_2544.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_32_2567.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_39_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236762","1372236720","1372236728","1372236661","1372236696","1372236616"],"photo_ids_order":["1372236616","1372236661","1372236696","1372236720","1372236728","1372236762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/52c50f0136d4474ba38a2950f4c6b3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4943073148305727711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_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/7/15/2a85e582589f4e294c47bea2d65de77a.jpg","text":"TemporaryFile(/tmp/multipartBody2819151006674172621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_30_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18766f1880be26a5ab8a2638270b1412.jpg","text":"TemporaryFile(/tmp/multipartBody7646201068993498168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_32_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6fa07d353df9d430374959d863b1ee85.jpg","text":"TemporaryFile(/tmp/multipartBody6610757010575216461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_21_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a84b0771ccdcf9ad29581f022d579c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8669455901021229802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_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/7/15/f4d50f287dad2b6fdeac18fe9fd742c5.jpg","text":"TemporaryFile(/tmp/multipartBody3412717009906539330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752611963766,"filename":"image_15072025_20_50_09_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236696","file1":"1372236661","file0":"1372236616","file4":"1372236728","file5":"1372236762","file3":"1372236720"},"map_files_photo_id_array":[{"photo_id":"1372236762","filename":"file5"},{"photo_id":"1372236696","filename":"file2"},{"photo_id":"1372236728","filename":"file4"},{"photo_id":"1372236661","filename":"file1"},{"photo_id":"1372236616","filename":"file0"},{"photo_id":"1372236720","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236762":["hashtag1","hashtag2"]},{"1372236720":["hashtag1","hashtag2"]},{"1372236728":["hashtag1","hashtag2"]},{"1372236661":["hashtag1","hashtag2"]},{"1372236696":["hashtag1","hashtag2"]},{"1372236616":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236762, 1372236720, 1372236728, 1372236661, 1372236696, 1372236616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.2470588684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:39:22.256339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_42_3583.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_57_2780.jpg', '/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_59_2579.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_06_2789.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_09_2680.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_12_3537.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_42_3583.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_57_2780.jpg
/home/pi/Desktop/images/15072025/20/50/image_15072025_20_50_59_2579.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_06_2789.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_09_2680.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_12_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236804","1372236782","1372236791","1372236809","1372236799","1372236777"],"photo_ids_order":["1372236777","1372236782","1372236791","1372236799","1372236804","1372236809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/38e1d0d2b6b3edeb42fb5b89e70485b9.jpg","text":"TemporaryFile(/tmp/multipartBody2076703285426686366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_51_09_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d010a955f88768de98036e1913e7e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody453879809364936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_50_57_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bc0fab5d8c907eda5cc028ae4270f06.jpg","text":"TemporaryFile(/tmp/multipartBody7789977641176752296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_50_59_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b80a4c77c2be941f0429f848fdf7968.jpg","text":"TemporaryFile(/tmp/multipartBody8024007105218220545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_51_12_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/155d0fa889f884abe4abe3e667aecaa9.jpg","text":"TemporaryFile(/tmp/multipartBody1691011650264846232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_51_06_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3298165dafe894ac32cf7ea728fa80fa.jpg","text":"TemporaryFile(/tmp/multipartBody8872589896225386750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612023384,"filename":"image_15072025_20_50_42_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236791","file1":"1372236782","file0":"1372236777","file4":"1372236804","file5":"1372236809","file3":"1372236799"},"map_files_photo_id_array":[{"photo_id":"1372236809","filename":"file5"},{"photo_id":"1372236791","filename":"file2"},{"photo_id":"1372236804","filename":"file4"},{"photo_id":"1372236782","filename":"file1"},{"photo_id":"1372236777","filename":"file0"},{"photo_id":"1372236799","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236804":["hashtag1","hashtag2"]},{"1372236782":["hashtag1","hashtag2"]},{"1372236791":["hashtag1","hashtag2"]},{"1372236809":["hashtag1","hashtag2"]},{"1372236799":["hashtag1","hashtag2"]},{"1372236777":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236804, 1372236782, 1372236791, 1372236809, 1372236799, 1372236777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57292151451111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:40:22.725391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_15_2700.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_21_3684.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_24_2592.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_30_3723.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_33_2531.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_36_2836.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_15_2700.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_21_3684.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_24_2592.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_30_3723.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_33_2531.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_36_2836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236840","1372236828","1372236845","1372236835","1372236859","1372236850"],"photo_ids_order":["1372236828","1372236835","1372236840","1372236845","1372236850","1372236859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/671ffee9413e11cc2e20b15c0421f9f0.jpg","text":"TemporaryFile(/tmp/multipartBody1830493214717654235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_24_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/05d8899a874121e05bfe54802e6a4d4f.jpg","text":"TemporaryFile(/tmp/multipartBody490096155007731963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_15_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/049dd4b5cfd176af9be0d7aa33c8fd09.jpg","text":"TemporaryFile(/tmp/multipartBody1457815402902388236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_30_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6894532a483936799d2fe806e53c7151.jpg","text":"TemporaryFile(/tmp/multipartBody1921626503602333978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_21_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7d8f7f006efecf5968ba0dca0a9fdd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5249557851328242966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_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/7/15/83da53c8cc6baceca6884aa8693f3900.jpg","text":"TemporaryFile(/tmp/multipartBody635247521036416212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612083851,"filename":"image_15072025_20_51_33_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236840","file1":"1372236835","file0":"1372236828","file4":"1372236850","file5":"1372236859","file3":"1372236845"},"map_files_photo_id_array":[{"photo_id":"1372236859","filename":"file5"},{"photo_id":"1372236840","filename":"file2"},{"photo_id":"1372236850","filename":"file4"},{"photo_id":"1372236835","filename":"file1"},{"photo_id":"1372236828","filename":"file0"},{"photo_id":"1372236845","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236840":["hashtag1","hashtag2"]},{"1372236828":["hashtag1","hashtag2"]},{"1372236845":["hashtag1","hashtag2"]},{"1372236835":["hashtag1","hashtag2"]},{"1372236859":["hashtag1","hashtag2"]},{"1372236850":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236840, 1372236828, 1372236845, 1372236835, 1372236859, 1372236850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.03154182434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:41:21.892534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_42_2635.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_44_2558.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_48_3792.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_57_2770.jpg', '/home/pi/Desktop/images/15072025/20/51/image_15072025_20_52_00_3689.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_08_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_42_2635.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_44_2558.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_48_3792.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_51_57_2770.jpg
/home/pi/Desktop/images/15072025/20/51/image_15072025_20_52_00_3689.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_08_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":["1372236885","1372236903","1372236881","1372236907","1372236897","1372236876"],"photo_ids_order":["1372236876","1372236881","1372236885","1372236897","1372236903","1372236907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f5283d2a202486d8f0627d76a7646f6.jpg","text":"TemporaryFile(/tmp/multipartBody7797096239074256391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_51_48_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/debf121013ee34974d27b1f7bb111a8f.jpg","text":"TemporaryFile(/tmp/multipartBody6989196289761638766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_52_00_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c95de18b0713ad6c8f24374765222291.jpg","text":"TemporaryFile(/tmp/multipartBody1425002450347155876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_51_44_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8f8fb250f6d5804ea8ce9cb3faee3515.jpg","text":"TemporaryFile(/tmp/multipartBody1391458077302037637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_52_08_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/913383d43b53d5c6debdf7d4f02514f4.jpg","text":"TemporaryFile(/tmp/multipartBody8509694467049291463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_51_57_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1530a450a8c47daba8821ac30f7b4e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8302274286062556911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612143018,"filename":"image_15072025_20_51_42_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236885","file1":"1372236881","file0":"1372236876","file4":"1372236903","file5":"1372236907","file3":"1372236897"},"map_files_photo_id_array":[{"photo_id":"1372236907","filename":"file5"},{"photo_id":"1372236885","filename":"file2"},{"photo_id":"1372236903","filename":"file4"},{"photo_id":"1372236881","filename":"file1"},{"photo_id":"1372236876","filename":"file0"},{"photo_id":"1372236897","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236885":["hashtag1","hashtag2"]},{"1372236903":["hashtag1","hashtag2"]},{"1372236881":["hashtag1","hashtag2"]},{"1372236907":["hashtag1","hashtag2"]},{"1372236897":["hashtag1","hashtag2"]},{"1372236876":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236885, 1372236903, 1372236881, 1372236907, 1372236897, 1372236876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.9825394153595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:42:21.965094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_14_2645.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_18_3665.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_23_2620.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_30_3709.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_03_3520.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_18_2947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_14_2645.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_18_3665.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_23_2620.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_30_3709.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_03_3520.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_18_2947.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.717785120010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:42:41.966477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_14_2645.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_18_3665.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_23_2620.jpg', '/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_30_3709.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_03_3520.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_18_2947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_14_2645.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_18_3665.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_23_2620.jpg
/home/pi/Desktop/images/15072025/20/52/image_15072025_20_52_30_3709.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_03_3520.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_18_2947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372236965","1372236952","1372236946","1372236940","1372236981","1372236975"],"photo_ids_order":["1372236940","1372236946","1372236952","1372236965","1372236975","1372236981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5070caaa017b91cebb23a7b5eac287af.jpg","text":"TemporaryFile(/tmp/multipartBody172628508968027705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_52_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/7/15/b8660798a6ddc5db6adc546ba78ead34.jpg","text":"TemporaryFile(/tmp/multipartBody3004385875294442274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_52_23_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/12e20c3ccd8aa056b718775f7591f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5824944625227776535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_52_18_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/15e2d1af7a2ccf2f6a1c96c2fa01b748.jpg","text":"TemporaryFile(/tmp/multipartBody5434787336332702889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_52_14_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2caa430328ca06e6cd36dc9f6e96592a.jpg","text":"TemporaryFile(/tmp/multipartBody923004025628406722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_53_18_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f70b8d274119a6d7fca92ef04506a061.jpg","text":"TemporaryFile(/tmp/multipartBody7976635008543675978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612223077,"filename":"image_15072025_20_53_03_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372236952","file1":"1372236946","file0":"1372236940","file4":"1372236975","file5":"1372236981","file3":"1372236965"},"map_files_photo_id_array":[{"photo_id":"1372236981","filename":"file5"},{"photo_id":"1372236952","filename":"file2"},{"photo_id":"1372236975","filename":"file4"},{"photo_id":"1372236946","filename":"file1"},{"photo_id":"1372236940","filename":"file0"},{"photo_id":"1372236965","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372236965":["hashtag1","hashtag2"]},{"1372236952":["hashtag1","hashtag2"]},{"1372236946":["hashtag1","hashtag2"]},{"1372236940":["hashtag1","hashtag2"]},{"1372236981":["hashtag1","hashtag2"]},{"1372236975":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372236965, 1372236952, 1372236946, 1372236940, 1372236981, 1372236975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.095091104507446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:43:42.659567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_20_2759.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_24_3637.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_29_2915.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_32_2598.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_36_3803.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_38_2590.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_20_2759.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_24_3637.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_29_2915.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_32_2598.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_36_3803.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_38_2590.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7190806865692139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:44:03.510017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_20_2759.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_24_3637.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_29_2915.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_32_2598.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_36_3803.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_38_2590.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_20_2759.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_24_3637.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_29_2915.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_32_2598.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_36_3803.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_38_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237032","1372237011","1372237023","1372237017","1372237039","1372237044"],"photo_ids_order":["1372237011","1372237017","1372237023","1372237032","1372237039","1372237044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b92b36f3cf2ed4495dd57e7cc564b815.jpg","text":"TemporaryFile(/tmp/multipartBody8513578430196469766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_32_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c4bbdd2f53f7149dff967566f58aa81.jpg","text":"TemporaryFile(/tmp/multipartBody7256828284636831923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_20_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/53b208f110ee6ccd38fe61e1a65ecc4d.jpg","text":"TemporaryFile(/tmp/multipartBody7074893667437038474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_29_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a66ee5a7bbbf3906c4c410d5f191a56c.jpg","text":"TemporaryFile(/tmp/multipartBody1807132710518454297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_24_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c309555e471f53d29ac987c42fa2cc33.jpg","text":"TemporaryFile(/tmp/multipartBody5887038442256155929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_36_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/90eb97096a2570f77db77404e6909039.jpg","text":"TemporaryFile(/tmp/multipartBody4586970445289361799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612304808,"filename":"image_15072025_20_53_38_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237023","file1":"1372237017","file0":"1372237011","file4":"1372237039","file5":"1372237044","file3":"1372237032"},"map_files_photo_id_array":[{"photo_id":"1372237044","filename":"file5"},{"photo_id":"1372237023","filename":"file2"},{"photo_id":"1372237039","filename":"file4"},{"photo_id":"1372237017","filename":"file1"},{"photo_id":"1372237011","filename":"file0"},{"photo_id":"1372237032","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237032":["hashtag1","hashtag2"]},{"1372237011":["hashtag1","hashtag2"]},{"1372237023":["hashtag1","hashtag2"]},{"1372237017":["hashtag1","hashtag2"]},{"1372237039":["hashtag1","hashtag2"]},{"1372237044":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237032, 1372237011, 1372237023, 1372237017, 1372237039, 1372237044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.801968812942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:45:03.508639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_41_2794.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_45_3651.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_48_2754.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_50_2619.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_54_3640.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_57_2710.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_41_2794.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_45_3651.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_48_2754.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_50_2619.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_54_3640.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_57_2710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8306238651275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:45:22.743278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_41_2794.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_45_3651.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_48_2754.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_50_2619.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_54_3640.jpg', '/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_57_2710.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_41_2794.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_45_3651.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_48_2754.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_50_2619.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_54_3640.jpg
/home/pi/Desktop/images/15072025/20/53/image_15072025_20_53_57_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237110","1372237113","1372237116","1372237101","1372237106","1372237090"],"photo_ids_order":["1372237090","1372237101","1372237106","1372237110","1372237113","1372237116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ab743d6766e9781aaae34a2732707ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2605340641273486703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_50_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8993d9847bb48a5058c26137a16149d2.jpg","text":"TemporaryFile(/tmp/multipartBody4255178001253378379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_54_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ee7f84d6c3d736cc4833abb832027ea.jpg","text":"TemporaryFile(/tmp/multipartBody5137996778352712170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_57_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04e5922322eaf5aa5c5dc4157acbbaf9.jpg","text":"TemporaryFile(/tmp/multipartBody5891622402498318198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_45_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e0ae5b2007299a12b7d407f5f59a7266.jpg","text":"TemporaryFile(/tmp/multipartBody7113523125961497532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_48_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1d0f2b618bc7e3e4f30291ba254547ed.jpg","text":"TemporaryFile(/tmp/multipartBody99124341615645432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612383887,"filename":"image_15072025_20_53_41_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237106","file1":"1372237101","file0":"1372237090","file4":"1372237113","file5":"1372237116","file3":"1372237110"},"map_files_photo_id_array":[{"photo_id":"1372237116","filename":"file5"},{"photo_id":"1372237106","filename":"file2"},{"photo_id":"1372237113","filename":"file4"},{"photo_id":"1372237101","filename":"file1"},{"photo_id":"1372237090","filename":"file0"},{"photo_id":"1372237110","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237110":["hashtag1","hashtag2"]},{"1372237113":["hashtag1","hashtag2"]},{"1372237116":["hashtag1","hashtag2"]},{"1372237101":["hashtag1","hashtag2"]},{"1372237106":["hashtag1","hashtag2"]},{"1372237090":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237110, 1372237113, 1372237116, 1372237101, 1372237106, 1372237090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.771185874938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:46:22.513660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_03_3673.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_06_2881.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_11_2754.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_14_2818.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_18_3718.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_20_2604.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_03_3673.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_06_2881.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_11_2754.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_14_2818.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_18_3718.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_20_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237171","1372237150","1372237191","1372237176","1372237161","1372237137"],"photo_ids_order":["1372237137","1372237150","1372237161","1372237171","1372237176","1372237191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9c83ee82be292095804be6f94b6a042.jpg","text":"TemporaryFile(/tmp/multipartBody428256851195442580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_14_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72f4201b61db9d011146abcb21e435da.jpg","text":"TemporaryFile(/tmp/multipartBody341100531739556876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_06_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e6b6d92ae95eb596fc6fd9b694a1902a.jpg","text":"TemporaryFile(/tmp/multipartBody4221159159475759238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_20_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/04c2e6bf41a8fe5527317a444a3200a5.jpg","text":"TemporaryFile(/tmp/multipartBody7770488047996483873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_18_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5bc567aa306facf52c1c67e6a245c294.jpg","text":"TemporaryFile(/tmp/multipartBody1635365461455320745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_11_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5950edfd22afcfb154734ff1aaabf50a.jpg","text":"TemporaryFile(/tmp/multipartBody820378100014409055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612443631,"filename":"image_15072025_20_54_03_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237161","file1":"1372237150","file0":"1372237137","file4":"1372237176","file5":"1372237191","file3":"1372237171"},"map_files_photo_id_array":[{"photo_id":"1372237191","filename":"file5"},{"photo_id":"1372237161","filename":"file2"},{"photo_id":"1372237176","filename":"file4"},{"photo_id":"1372237150","filename":"file1"},{"photo_id":"1372237137","filename":"file0"},{"photo_id":"1372237171","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237171":["hashtag1","hashtag2"]},{"1372237150":["hashtag1","hashtag2"]},{"1372237191":["hashtag1","hashtag2"]},{"1372237176":["hashtag1","hashtag2"]},{"1372237161":["hashtag1","hashtag2"]},{"1372237137":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237171, 1372237150, 1372237191, 1372237176, 1372237161, 1372237137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.76921820640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:47:22.714998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_23_2600.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_27_3922.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_30_2647.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_32_2657.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_35_2736.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_39_3810.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_23_2600.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_27_3922.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_30_2647.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_32_2657.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_35_2736.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_39_3810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237232","1372237241","1372237220","1372237208","1372237246","1372237216"],"photo_ids_order":["1372237208","1372237216","1372237220","1372237232","1372237241","1372237246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7bf569de6b6e55b51fe982bca96f377.jpg","text":"TemporaryFile(/tmp/multipartBody5516443528099192430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_32_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b37e81629467f6b30c24465644183ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7994799378654806948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_35_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/259995d56eca08560013cdcfe55e5e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6845217276827406410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_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/7/15/5728b1eeb0b42611b851272cc13a5178.jpg","text":"TemporaryFile(/tmp/multipartBody6236055605143975774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_23_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27a50c5a623ea4b1e29fd8b191ab337f.jpg","text":"TemporaryFile(/tmp/multipartBody1432225809856372552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_39_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/549ef9261030945b0bb4438166f58826.jpg","text":"TemporaryFile(/tmp/multipartBody5487783247742107837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612503841,"filename":"image_15072025_20_54_27_3922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237220","file1":"1372237216","file0":"1372237208","file4":"1372237241","file5":"1372237246","file3":"1372237232"},"map_files_photo_id_array":[{"photo_id":"1372237246","filename":"file5"},{"photo_id":"1372237220","filename":"file2"},{"photo_id":"1372237241","filename":"file4"},{"photo_id":"1372237216","filename":"file1"},{"photo_id":"1372237208","filename":"file0"},{"photo_id":"1372237232","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237232":["hashtag1","hashtag2"]},{"1372237241":["hashtag1","hashtag2"]},{"1372237220":["hashtag1","hashtag2"]},{"1372237208":["hashtag1","hashtag2"]},{"1372237246":["hashtag1","hashtag2"]},{"1372237216":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237232, 1372237241, 1372237220, 1372237208, 1372237246, 1372237216)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.730172872543335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:48:41.934172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_48_3732.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_53_2518.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_07_4916.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_09_1765.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_12_2707.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_21_3559.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_48_3732.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_53_2518.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_07_4916.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_09_1765.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_12_2707.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_21_3559.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2920582294464111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:49:02.375094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_48_3732.jpg', '/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_53_2518.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_07_4916.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_09_1765.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_12_2707.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_21_3559.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_48_3732.jpg
/home/pi/Desktop/images/15072025/20/54/image_15072025_20_54_53_2518.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_07_4916.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_09_1765.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_12_2707.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_21_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237331","1372237322","1372237310","1372237288","1372237327","1372237318"],"photo_ids_order":["1372237288","1372237310","1372237318","1372237322","1372237327","1372237331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cdeb00b3afaf181180c2070f7a5b9fba.jpg","text":"TemporaryFile(/tmp/multipartBody2706845983281967372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_55_21_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/92a9f912e3d786af5f6f8d9aae3c2f69.jpg","text":"TemporaryFile(/tmp/multipartBody2494296087290027835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_55_09_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/99fb40ce60eb28278d7de61fbd22995e.jpg","text":"TemporaryFile(/tmp/multipartBody7377137290407875131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_54_53_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3b1060f83705e7f976dff6f0f2165a80.jpg","text":"TemporaryFile(/tmp/multipartBody7059166688428752934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_54_48_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/050036a9f8d12363c9700c4863de8cff.jpg","text":"TemporaryFile(/tmp/multipartBody6807150630287391995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_55_12_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/36746e7c13dc906a88a71b8940980751.jpg","text":"TemporaryFile(/tmp/multipartBody6710014767216700435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612603632,"filename":"image_15072025_20_55_07_4916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237318","file1":"1372237310","file0":"1372237288","file4":"1372237327","file5":"1372237331","file3":"1372237322"},"map_files_photo_id_array":[{"photo_id":"1372237331","filename":"file5"},{"photo_id":"1372237318","filename":"file2"},{"photo_id":"1372237327","filename":"file4"},{"photo_id":"1372237310","filename":"file1"},{"photo_id":"1372237288","filename":"file0"},{"photo_id":"1372237322","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237331":["hashtag1","hashtag2"]},{"1372237322":["hashtag1","hashtag2"]},{"1372237310":["hashtag1","hashtag2"]},{"1372237288":["hashtag1","hashtag2"]},{"1372237327":["hashtag1","hashtag2"]},{"1372237318":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237331, 1372237322, 1372237310, 1372237288, 1372237327, 1372237318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.00881910324097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:50:02.493944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_30_3760.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_35_2787.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_44_2813.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_47_2722.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_51_3759.jpg', '/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_56_2801.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_30_3760.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_35_2787.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_44_2813.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_47_2722.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_51_3759.jpg
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_55_56_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237364","1372237358","1372237375","1372237384","1372237371","1372237380"],"photo_ids_order":["1372237358","1372237364","1372237371","1372237375","1372237380","1372237384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bc23cfc61283828a327ecfddd1ca0ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6930862031437465192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_35_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc5a90c84c9d13516f8397c6dfed225e.jpg","text":"TemporaryFile(/tmp/multipartBody2526521178778734954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_30_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/007ce2cd2dcdd2c8a6d3ad727aa5452b.jpg","text":"TemporaryFile(/tmp/multipartBody6923595513515588186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_47_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/029c19da56bf279d83aa3b765998650f.jpg","text":"TemporaryFile(/tmp/multipartBody3689644154290421460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_56_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed2da63795376fb2f1cdd1c11ba0ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody5611153718401854468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_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/7/15/a2ba39fd65e32f1baa9650c54d3b3eef.jpg","text":"TemporaryFile(/tmp/multipartBody3777267318135134047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612663702,"filename":"image_15072025_20_55_51_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237371","file1":"1372237364","file0":"1372237358","file4":"1372237380","file5":"1372237384","file3":"1372237375"},"map_files_photo_id_array":[{"photo_id":"1372237384","filename":"file5"},{"photo_id":"1372237371","filename":"file2"},{"photo_id":"1372237380","filename":"file4"},{"photo_id":"1372237364","filename":"file1"},{"photo_id":"1372237358","filename":"file0"},{"photo_id":"1372237375","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237364":["hashtag1","hashtag2"]},{"1372237358":["hashtag1","hashtag2"]},{"1372237375":["hashtag1","hashtag2"]},{"1372237384":["hashtag1","hashtag2"]},{"1372237371":["hashtag1","hashtag2"]},{"1372237380":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237364, 1372237358, 1372237375, 1372237384, 1372237371, 1372237380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.197123765945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:51:03.215356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/55/image_15072025_20_56_00_3681.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_02_2609.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_08_2852.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_21_3534.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_23_2695.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_26_2566.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_56_00_3681.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_02_2609.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_08_2852.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_21_3534.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_23_2695.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_26_2566.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9159443378448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:51:22.441940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/55/image_15072025_20_56_00_3681.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_02_2609.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_08_2852.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_21_3534.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_23_2695.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_26_2566.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/55/image_15072025_20_56_00_3681.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_02_2609.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_08_2852.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_21_3534.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_23_2695.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_26_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237439","1372237454","1372237448","1372237433","1372237444","1372237426"],"photo_ids_order":["1372237426","1372237433","1372237439","1372237444","1372237448","1372237454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09bb9b56a72016c7ac6c1a608f21bf26.jpg","text":"TemporaryFile(/tmp/multipartBody3649604595306351172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_08_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/34ef0018f7c4f2b17cb2da5f53ee512c.jpg","text":"TemporaryFile(/tmp/multipartBody4212190801982433375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_26_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2654c2baa6e6598fe21bb02ea6942507.jpg","text":"TemporaryFile(/tmp/multipartBody3150292205005200632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_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/7/15/8de2502fa9d67d5d8634dbea82bc74e1.jpg","text":"TemporaryFile(/tmp/multipartBody7959470961547955730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_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/7/15/aa70ae7ed0fe08d6518e7f03973b9d77.jpg","text":"TemporaryFile(/tmp/multipartBody982602232392213376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_21_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ce67366332acec3e7aff65de63928a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6316000535840944662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612743560,"filename":"image_15072025_20_56_00_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237439","file1":"1372237433","file0":"1372237426","file4":"1372237448","file5":"1372237454","file3":"1372237444"},"map_files_photo_id_array":[{"photo_id":"1372237454","filename":"file5"},{"photo_id":"1372237439","filename":"file2"},{"photo_id":"1372237448","filename":"file4"},{"photo_id":"1372237433","filename":"file1"},{"photo_id":"1372237426","filename":"file0"},{"photo_id":"1372237444","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237439":["hashtag1","hashtag2"]},{"1372237454":["hashtag1","hashtag2"]},{"1372237448":["hashtag1","hashtag2"]},{"1372237433":["hashtag1","hashtag2"]},{"1372237444":["hashtag1","hashtag2"]},{"1372237426":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237439, 1372237454, 1372237448, 1372237433, 1372237444, 1372237426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.285764932632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:52:21.925707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_29_3612.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_32_2561.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_41_2680.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_48_3778.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_50_2740.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_53_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_29_3612.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_32_2561.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_41_2680.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_48_3778.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_50_2740.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_53_2740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.710740327835083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:52:41.893158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_29_3612.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_32_2561.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_41_2680.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_48_3778.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_50_2740.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_53_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_29_3612.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_32_2561.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_41_2680.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_48_3778.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_50_2740.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_53_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237493","1372237499","1372237511","1372237486","1372237480","1372237504"],"photo_ids_order":["1372237480","1372237486","1372237493","1372237499","1372237504","1372237511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e470201613c1eaf0a6ad507648ac65a0.jpg","text":"TemporaryFile(/tmp/multipartBody6261875880254063225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_41_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/829929ad346d3e200dec61be2a54a54c.jpg","text":"TemporaryFile(/tmp/multipartBody5265955986782430299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_48_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cc83e999085f55c22e3df2e3ae169b36.jpg","text":"TemporaryFile(/tmp/multipartBody4001398162643858515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_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/7/15/2b52615e22fa477b3bbe798ad19cb160.jpg","text":"TemporaryFile(/tmp/multipartBody573935882024699795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_32_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f0f9550dfaaf5a6defb4f2a84097241d.jpg","text":"TemporaryFile(/tmp/multipartBody2925089366652747679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_29_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35d558ec3ade1a33da63ffe8cdf69841.jpg","text":"TemporaryFile(/tmp/multipartBody8796134176546841804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612823016,"filename":"image_15072025_20_56_50_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237493","file1":"1372237486","file0":"1372237480","file4":"1372237504","file5":"1372237511","file3":"1372237499"},"map_files_photo_id_array":[{"photo_id":"1372237511","filename":"file5"},{"photo_id":"1372237493","filename":"file2"},{"photo_id":"1372237504","filename":"file4"},{"photo_id":"1372237486","filename":"file1"},{"photo_id":"1372237480","filename":"file0"},{"photo_id":"1372237499","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237493":["hashtag1","hashtag2"]},{"1372237499":["hashtag1","hashtag2"]},{"1372237511":["hashtag1","hashtag2"]},{"1372237486":["hashtag1","hashtag2"]},{"1372237480":["hashtag1","hashtag2"]},{"1372237504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237493, 1372237499, 1372237511, 1372237486, 1372237480, 1372237504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61562490463257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:53:42.635300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_56_2818.jpg', '/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_59_3529.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_02_2597.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_08_2673.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_11_2597.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_15_3693.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_56_2818.jpg
/home/pi/Desktop/images/15072025/20/56/image_15072025_20_56_59_3529.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_02_2597.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_08_2673.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_11_2597.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_15_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":["1372237530","1372237538","1372237547","1372237526","1372237543","1372237533"],"photo_ids_order":["1372237526","1372237530","1372237533","1372237538","1372237543","1372237547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1bf73fe0e238933b74b598f439859b90.jpg","text":"TemporaryFile(/tmp/multipartBody8337721079849627313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_56_59_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a833a7700dc514dd041b66fc2971ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody7300476279378070270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_57_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4a2398f8bfc252247c8e78e5edf64a85.jpg","text":"TemporaryFile(/tmp/multipartBody4384789786161426407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_57_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/7/15/d4101a5879ae4ca78a85705da51911ff.jpg","text":"TemporaryFile(/tmp/multipartBody6379552710437443151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_56_56_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf8d8f50af0effd2e73321173a8cb6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3186898113514486785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_57_11_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/64d63149aa39a527e68dca90f48c4fae.jpg","text":"TemporaryFile(/tmp/multipartBody421131005715272537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612883759,"filename":"image_15072025_20_57_02_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237533","file1":"1372237530","file0":"1372237526","file4":"1372237543","file5":"1372237547","file3":"1372237538"},"map_files_photo_id_array":[{"photo_id":"1372237547","filename":"file5"},{"photo_id":"1372237533","filename":"file2"},{"photo_id":"1372237543","filename":"file4"},{"photo_id":"1372237530","filename":"file1"},{"photo_id":"1372237526","filename":"file0"},{"photo_id":"1372237538","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237530":["hashtag1","hashtag2"]},{"1372237538":["hashtag1","hashtag2"]},{"1372237547":["hashtag1","hashtag2"]},{"1372237526":["hashtag1","hashtag2"]},{"1372237543":["hashtag1","hashtag2"]},{"1372237533":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237530, 1372237538, 1372237547, 1372237526, 1372237543, 1372237533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.05163025856018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:54:41.807682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_20_2674.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_24_3553.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_29_2753.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_33_3604.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_38_2609.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_41_2770.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_20_2674.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_24_3553.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_29_2753.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_33_3604.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_38_2609.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_41_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237577","1372237555","1372237581","1372237572","1372237566","1372237560"],"photo_ids_order":["1372237555","1372237560","1372237566","1372237572","1372237577","1372237581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65cb8e4b2affb7d506927db7ae51178d.jpg","text":"TemporaryFile(/tmp/multipartBody2267133705506003369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_38_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17b933e1151b90cd40dd6cf0f2e09378.jpg","text":"TemporaryFile(/tmp/multipartBody5436689935021513688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_20_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7f1f9c54e33e92bda69cd5b8da498886.jpg","text":"TemporaryFile(/tmp/multipartBody3917419437291210185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_41_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f756744138e00fd42ae57aa5edaf2743.jpg","text":"TemporaryFile(/tmp/multipartBody76838307376158394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_33_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3448b5fc250d318838dfa3693642704c.jpg","text":"TemporaryFile(/tmp/multipartBody3509141317595625612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_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/7/15/d193a6e7746f0dd7d135db514b885611.jpg","text":"TemporaryFile(/tmp/multipartBody5652739356958281757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752612942974,"filename":"image_15072025_20_57_24_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237566","file1":"1372237560","file0":"1372237555","file4":"1372237577","file5":"1372237581","file3":"1372237572"},"map_files_photo_id_array":[{"photo_id":"1372237581","filename":"file5"},{"photo_id":"1372237566","filename":"file2"},{"photo_id":"1372237577","filename":"file4"},{"photo_id":"1372237560","filename":"file1"},{"photo_id":"1372237555","filename":"file0"},{"photo_id":"1372237572","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237577":["hashtag1","hashtag2"]},{"1372237555":["hashtag1","hashtag2"]},{"1372237581":["hashtag1","hashtag2"]},{"1372237572":["hashtag1","hashtag2"]},{"1372237566":["hashtag1","hashtag2"]},{"1372237560":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237577, 1372237555, 1372237581, 1372237572, 1372237566, 1372237560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35309600830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:55:41.781021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_50_2639.jpg', '/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_53_2788.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_02_2593.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_05_2657.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_08_3537.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_14_2851.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_50_2639.jpg
/home/pi/Desktop/images/15072025/20/57/image_15072025_20_57_53_2788.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_02_2593.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_05_2657.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_08_3537.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_14_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237620","1372237592","1372237598","1372237628","1372237613","1372237604"],"photo_ids_order":["1372237592","1372237598","1372237604","1372237613","1372237620","1372237628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7184622f8b9dfc1b9f0748ef74b1d980.jpg","text":"TemporaryFile(/tmp/multipartBody1624575282844613812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_58_08_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fd8f681753a208515759b39a936c8a8f.jpg","text":"TemporaryFile(/tmp/multipartBody998949391537946369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_57_50_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d902d50e33925e63f89715745bdfa22.jpg","text":"TemporaryFile(/tmp/multipartBody1930399358556128249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_57_53_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/94e5c3270083dda6339cb9c699fdafb9.jpg","text":"TemporaryFile(/tmp/multipartBody1637246361013894539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_58_14_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3e940c76bb884e370a9ea35608b6af3e.jpg","text":"TemporaryFile(/tmp/multipartBody2588611952061900587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_58_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/7/15/d4cad0343030055346ab79f7804ce406.jpg","text":"TemporaryFile(/tmp/multipartBody432728670041989650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613002946,"filename":"image_15072025_20_58_02_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237604","file1":"1372237598","file0":"1372237592","file4":"1372237620","file5":"1372237628","file3":"1372237613"},"map_files_photo_id_array":[{"photo_id":"1372237628","filename":"file5"},{"photo_id":"1372237604","filename":"file2"},{"photo_id":"1372237620","filename":"file4"},{"photo_id":"1372237598","filename":"file1"},{"photo_id":"1372237592","filename":"file0"},{"photo_id":"1372237613","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237620":["hashtag1","hashtag2"]},{"1372237592":["hashtag1","hashtag2"]},{"1372237598":["hashtag1","hashtag2"]},{"1372237628":["hashtag1","hashtag2"]},{"1372237613":["hashtag1","hashtag2"]},{"1372237604":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237620, 1372237592, 1372237598, 1372237628, 1372237613, 1372237604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.675594091415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:56:42.720552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_17_3653.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_24_3593.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_26_2697.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_29_2505.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_32_3677.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_35_2847.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_17_3653.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_24_3593.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_26_2697.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_29_2505.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_32_3677.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_35_2847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237638","1372237670","1372237664","1372237643","1372237677","1372237650"],"photo_ids_order":["1372237638","1372237643","1372237650","1372237664","1372237670","1372237677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7ad49152895033fad1468b25dd3759af.jpg","text":"TemporaryFile(/tmp/multipartBody476999256562242884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_17_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5259d883d112abb0d8f91c4b5f659752.jpg","text":"TemporaryFile(/tmp/multipartBody6820006103603640432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_32_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/db32d6b5eeadad0ba013540eb575cd0a.jpg","text":"TemporaryFile(/tmp/multipartBody3238870858589488979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_29_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5ae0924c224d6674b04a06a7dcbb8730.jpg","text":"TemporaryFile(/tmp/multipartBody1215947407842054618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_24_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c1c886c418256f6f539c199dc584ab33.jpg","text":"TemporaryFile(/tmp/multipartBody686068534778177089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_35_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ffd663d0a8c4f59eb9f1dc19dc009b89.jpg","text":"TemporaryFile(/tmp/multipartBody4605009220971333093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613063849,"filename":"image_15072025_20_58_26_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237650","file1":"1372237643","file0":"1372237638","file4":"1372237670","file5":"1372237677","file3":"1372237664"},"map_files_photo_id_array":[{"photo_id":"1372237677","filename":"file5"},{"photo_id":"1372237650","filename":"file2"},{"photo_id":"1372237670","filename":"file4"},{"photo_id":"1372237643","filename":"file1"},{"photo_id":"1372237638","filename":"file0"},{"photo_id":"1372237664","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237638":["hashtag1","hashtag2"]},{"1372237670":["hashtag1","hashtag2"]},{"1372237664":["hashtag1","hashtag2"]},{"1372237643":["hashtag1","hashtag2"]},{"1372237677":["hashtag1","hashtag2"]},{"1372237650":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237638, 1372237670, 1372237664, 1372237643, 1372237677, 1372237650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.903205156326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 22:57:42.564901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_38_2636.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_41_2782.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_45_3841.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_50_2614.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_53_3685.jpg', '/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_59_2733.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_38_2636.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_41_2782.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_45_3841.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_50_2614.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_53_3685.jpg
/home/pi/Desktop/images/15072025/20/58/image_15072025_20_58_59_2733.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237707","1372237694","1372237712","1372237700","1372237723","1372237717"],"photo_ids_order":["1372237694","1372237700","1372237707","1372237712","1372237717","1372237723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/618e907c27ed0b7f46b73a78744ed70e.jpg","text":"TemporaryFile(/tmp/multipartBody8608619538120639307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_45_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/17647ef42f2aded3a98b3b912c2bb7ee.jpg","text":"TemporaryFile(/tmp/multipartBody5015983237364561867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_38_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c73cea871d16f9285e3f88352c0a1631.jpg","text":"TemporaryFile(/tmp/multipartBody390142967488171911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_50_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d3011dfbe363f730a8910d029a647b7.jpg","text":"TemporaryFile(/tmp/multipartBody7434614405967079650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_41_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4aea7b4e8e664127fcacdfd92956bf78.jpg","text":"TemporaryFile(/tmp/multipartBody6785788254860422731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_59_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcd400d55b3de939d08743382607d52b.jpg","text":"TemporaryFile(/tmp/multipartBody8800263416518009141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613126980,"filename":"image_15072025_20_58_53_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237707","file1":"1372237700","file0":"1372237694","file4":"1372237717","file5":"1372237723","file3":"1372237712"},"map_files_photo_id_array":[{"photo_id":"1372237723","filename":"file5"},{"photo_id":"1372237707","filename":"file2"},{"photo_id":"1372237717","filename":"file4"},{"photo_id":"1372237700","filename":"file1"},{"photo_id":"1372237694","filename":"file0"},{"photo_id":"1372237712","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237707":["hashtag1","hashtag2"]},{"1372237694":["hashtag1","hashtag2"]},{"1372237712":["hashtag1","hashtag2"]},{"1372237700":["hashtag1","hashtag2"]},{"1372237723":["hashtag1","hashtag2"]},{"1372237717":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237707, 1372237694, 1372237712, 1372237700, 1372237723, 1372237717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.59499168395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 22:59:02.999225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_02_2553.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_05_3934.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_08_2825.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_14_2695.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_17_2847.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_20_3640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_02_2553.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_05_3934.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_08_2825.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_14_2695.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_17_2847.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_20_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9691586494445801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 22:59:22.076079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_02_2553.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_05_3934.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_08_2825.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_14_2695.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_17_2847.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_20_3640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_02_2553.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_05_3934.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_08_2825.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_14_2695.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_17_2847.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_20_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372237749","1372237763","1372237811","1372237756","1372237857","1372237779"],"photo_ids_order":["1372237749","1372237756","1372237763","1372237779","1372237811","1372237857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c502c2a599a60aa45076b725609bcc47.jpg","text":"TemporaryFile(/tmp/multipartBody2432096307745735934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_02_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1f63fd55b880b7f160facd6f729fb5a9.jpg","text":"TemporaryFile(/tmp/multipartBody267352136762297500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_08_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0356d4eb2f7736c2f59c8b4f82bf47a4.jpg","text":"TemporaryFile(/tmp/multipartBody4842337763683290016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_17_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e27ec301846f8c3dec9245a1ce091ff.jpg","text":"TemporaryFile(/tmp/multipartBody2763012542924452501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_05_3934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d1ec62d8313e076d80cdfb3e0d777fb.jpg","text":"TemporaryFile(/tmp/multipartBody7021058543570924798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_20_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bf08aee3ff7b72cc9c6b6f45ce0c61e8.jpg","text":"TemporaryFile(/tmp/multipartBody3433798228120053379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613223188,"filename":"image_15072025_20_59_14_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372237763","file1":"1372237756","file0":"1372237749","file4":"1372237811","file5":"1372237857","file3":"1372237779"},"map_files_photo_id_array":[{"photo_id":"1372237857","filename":"file5"},{"photo_id":"1372237763","filename":"file2"},{"photo_id":"1372237811","filename":"file4"},{"photo_id":"1372237756","filename":"file1"},{"photo_id":"1372237749","filename":"file0"},{"photo_id":"1372237779","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372237749":["hashtag1","hashtag2"]},{"1372237763":["hashtag1","hashtag2"]},{"1372237811":["hashtag1","hashtag2"]},{"1372237756":["hashtag1","hashtag2"]},{"1372237857":["hashtag1","hashtag2"]},{"1372237779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372237749, 1372237763, 1372237811, 1372237756, 1372237857, 1372237779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.402519941329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:00:21.837469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_47_3601.jpg', '/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_53_2742.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_08_3010.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_11_3688.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_14_2771.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_17_2651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_47_3601.jpg
/home/pi/Desktop/images/15072025/20/59/image_15072025_20_59_53_2742.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_08_3010.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_11_3688.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_14_2771.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_17_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372238159","1372238174","1372238009","1372238111","1372238164","1372238061"],"photo_ids_order":["1372238009","1372238061","1372238111","1372238159","1372238164","1372238174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/258b1775e393130f04b94a6ed08a40d3.jpg","text":"TemporaryFile(/tmp/multipartBody849370542418837962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_21_00_11_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/27a4b5387b57770e4d86b5d8e82be8ab.jpg","text":"TemporaryFile(/tmp/multipartBody9177749822415525514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_21_00_17_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78016846a72e87a9b2d6bbf0b495be0f.jpg","text":"TemporaryFile(/tmp/multipartBody8268488735827524272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_20_59_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/7/15/0a89cf5b4491102afaae4117b9d8a9cb.jpg","text":"TemporaryFile(/tmp/multipartBody7085806244649245619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_21_00_08_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/666578c158054840cd2db59aa2456839.jpg","text":"TemporaryFile(/tmp/multipartBody6568426560347415672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_21_00_14_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3656a5f9c8942b8ccaf473182811f80.jpg","text":"TemporaryFile(/tmp/multipartBody767183723101995650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613282962,"filename":"image_15072025_20_59_53_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372238111","file1":"1372238061","file0":"1372238009","file4":"1372238164","file5":"1372238174","file3":"1372238159"},"map_files_photo_id_array":[{"photo_id":"1372238174","filename":"file5"},{"photo_id":"1372238111","filename":"file2"},{"photo_id":"1372238164","filename":"file4"},{"photo_id":"1372238061","filename":"file1"},{"photo_id":"1372238009","filename":"file0"},{"photo_id":"1372238159","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372238159":["hashtag1","hashtag2"]},{"1372238174":["hashtag1","hashtag2"]},{"1372238009":["hashtag1","hashtag2"]},{"1372238111":["hashtag1","hashtag2"]},{"1372238164":["hashtag1","hashtag2"]},{"1372238061":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372238159, 1372238174, 1372238009, 1372238111, 1372238164, 1372238061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15785074234009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:01:22.372567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_20_3792.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_23_2734.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_26_2629.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_29_3674.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_32_2683.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_35_2616.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_20_3792.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_23_2734.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_26_2629.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_29_3674.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_32_2683.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_35_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372238495","1372238405","1372238254","1372238302","1372238352","1372238241"],"photo_ids_order":["1372238241","1372238254","1372238302","1372238352","1372238405","1372238495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/908b1a1bcc416e0de1af0b70c39c4582.jpg","text":"TemporaryFile(/tmp/multipartBody2069576586398187717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_35_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69ecfc695fdf2ebbd7d787faa25c747a.jpg","text":"TemporaryFile(/tmp/multipartBody3346623696545510809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4b6bf277bf085ce703d28d114bc1c24a.jpg","text":"TemporaryFile(/tmp/multipartBody1645159604819350390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_23_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2dbac68e9139ec3ce4a6d31c400ba39c.jpg","text":"TemporaryFile(/tmp/multipartBody718393364664617451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_26_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3911af53ff65033143c943fa4e8cb4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7610137439342812901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_29_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d1d3070d891109dfab102a3b5c761597.jpg","text":"TemporaryFile(/tmp/multipartBody6353335171961336751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613343489,"filename":"image_15072025_21_00_20_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372238302","file1":"1372238254","file0":"1372238241","file4":"1372238405","file5":"1372238495","file3":"1372238352"},"map_files_photo_id_array":[{"photo_id":"1372238495","filename":"file5"},{"photo_id":"1372238302","filename":"file2"},{"photo_id":"1372238405","filename":"file4"},{"photo_id":"1372238254","filename":"file1"},{"photo_id":"1372238241","filename":"file0"},{"photo_id":"1372238352","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372238495":["hashtag1","hashtag2"]},{"1372238405":["hashtag1","hashtag2"]},{"1372238254":["hashtag1","hashtag2"]},{"1372238302":["hashtag1","hashtag2"]},{"1372238352":["hashtag1","hashtag2"]},{"1372238241":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372238495, 1372238405, 1372238254, 1372238302, 1372238352, 1372238241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61233687400818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:02:22.601843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_38_3650.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_50_3645.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_53_2621.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_56_3653.jpg', '/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_59_2554.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_02_2700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_38_3650.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_50_3645.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_53_2621.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_56_3653.jpg
/home/pi/Desktop/images/15072025/21/00/image_15072025_21_00_59_2554.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_02_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372239079","1372238986","1372239183","1372238790","1372238892","1372239240"],"photo_ids_order":["1372238790","1372238892","1372238986","1372239079","1372239183","1372239240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e865588779c90833e6e277e5b71e522.jpg","text":"TemporaryFile(/tmp/multipartBody6101433217624663415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_00_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/7/15/f7bc60265d46975a3edf7e469f0b8c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1103269413217885701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_00_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/7/15/10f4a5165f5f1935ebdee6cb42bec50c.jpg","text":"TemporaryFile(/tmp/multipartBody4413513668343057004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_00_59_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dce65b0c6d062ce4731145c87826fe99.jpg","text":"TemporaryFile(/tmp/multipartBody8757266925923360852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_00_38_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5d03b4b5bb5c956df8db3f1728135b19.jpg","text":"TemporaryFile(/tmp/multipartBody4037988243843687587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_00_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/7/15/36ddf960926df1f67ec35ca41da175c8.jpg","text":"TemporaryFile(/tmp/multipartBody6853043322612341767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613403716,"filename":"image_15072025_21_01_02_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372238986","file1":"1372238892","file0":"1372238790","file4":"1372239183","file5":"1372239240","file3":"1372239079"},"map_files_photo_id_array":[{"photo_id":"1372239240","filename":"file5"},{"photo_id":"1372238986","filename":"file2"},{"photo_id":"1372239183","filename":"file4"},{"photo_id":"1372238892","filename":"file1"},{"photo_id":"1372238790","filename":"file0"},{"photo_id":"1372239079","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239079":["hashtag1","hashtag2"]},{"1372238986":["hashtag1","hashtag2"]},{"1372239183":["hashtag1","hashtag2"]},{"1372238790":["hashtag1","hashtag2"]},{"1372238892":["hashtag1","hashtag2"]},{"1372239240":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239079, 1372238986, 1372239183, 1372238790, 1372238892, 1372239240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.13978695869446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:03:22.211645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_08_2642.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_11_2611.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_14_3616.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_17_2659.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_23_3551.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_26_2555.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_08_2642.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_11_2611.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_14_3616.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_17_2659.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_23_3551.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_26_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372239305","1372239295","1372239308","1372239310","1372239309","1372239290"],"photo_ids_order":["1372239290","1372239295","1372239305","1372239308","1372239309","1372239310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b65385c7047ff9d0e37e9f8a3545f319.jpg","text":"TemporaryFile(/tmp/multipartBody2731429465028370564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_14_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/06e2c5629b74d1764860604342be208d.jpg","text":"TemporaryFile(/tmp/multipartBody4897084121747412828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_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/7/15/c7b6f39f109d537bbff92b3add6b8124.jpg","text":"TemporaryFile(/tmp/multipartBody254055381039973345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_17_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b4853343a58477bf4e8400d43ef47b7d.jpg","text":"TemporaryFile(/tmp/multipartBody789783807187922432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_26_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a11169348f9c7ab80599998c1cb21a2.jpg","text":"TemporaryFile(/tmp/multipartBody5265201227195525422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_23_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/25d49d650f531aa6e650414981c53a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4106104478071699723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613463323,"filename":"image_15072025_21_01_08_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372239305","file1":"1372239295","file0":"1372239290","file4":"1372239309","file5":"1372239310","file3":"1372239308"},"map_files_photo_id_array":[{"photo_id":"1372239310","filename":"file5"},{"photo_id":"1372239305","filename":"file2"},{"photo_id":"1372239309","filename":"file4"},{"photo_id":"1372239295","filename":"file1"},{"photo_id":"1372239290","filename":"file0"},{"photo_id":"1372239308","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239305":["hashtag1","hashtag2"]},{"1372239295":["hashtag1","hashtag2"]},{"1372239308":["hashtag1","hashtag2"]},{"1372239310":["hashtag1","hashtag2"]},{"1372239309":["hashtag1","hashtag2"]},{"1372239290":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239305, 1372239295, 1372239308, 1372239310, 1372239309, 1372239290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.87427759170532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:04:22.111913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_29_2829.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_31_2629.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_35_3717.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_38_2654.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_40_2766.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_44_3693.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_29_2829.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_31_2629.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_35_3717.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_38_2654.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_40_2766.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_44_3693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7083425521850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:04:42.226101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_29_2829.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_31_2629.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_35_3717.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_38_2654.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_40_2766.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_44_3693.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_29_2829.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_31_2629.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_35_3717.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_38_2654.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_40_2766.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_44_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":["1372239574","1372239475","1372239526","1372239687","1372239660","1372239624"],"photo_ids_order":["1372239475","1372239526","1372239574","1372239624","1372239660","1372239687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/824586315663e869f547993cfdbd3da4.jpg","text":"TemporaryFile(/tmp/multipartBody5055799001672412810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_35_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/48ab27c936559ffd8daed1c646b53bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4487536990258166346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_29_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8d8434edea3351c59cd75709806bb12d.jpg","text":"TemporaryFile(/tmp/multipartBody593170024929751785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_31_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31f3f0fc47295cad3bf6b94238c3c75d.jpg","text":"TemporaryFile(/tmp/multipartBody3495260506994667998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_44_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0c029560265133e61e5b517468244913.jpg","text":"TemporaryFile(/tmp/multipartBody5707499880935292845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_40_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6bd52755c02177208cab46edc0fdfd90.jpg","text":"TemporaryFile(/tmp/multipartBody7642381046232022244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613543337,"filename":"image_15072025_21_01_38_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372239574","file1":"1372239526","file0":"1372239475","file4":"1372239660","file5":"1372239687","file3":"1372239624"},"map_files_photo_id_array":[{"photo_id":"1372239687","filename":"file5"},{"photo_id":"1372239574","filename":"file2"},{"photo_id":"1372239660","filename":"file4"},{"photo_id":"1372239526","filename":"file1"},{"photo_id":"1372239475","filename":"file0"},{"photo_id":"1372239624","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239574":["hashtag1","hashtag2"]},{"1372239475":["hashtag1","hashtag2"]},{"1372239526":["hashtag1","hashtag2"]},{"1372239687":["hashtag1","hashtag2"]},{"1372239660":["hashtag1","hashtag2"]},{"1372239624":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239574, 1372239475, 1372239526, 1372239687, 1372239660, 1372239624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.328852891922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:05:42.115662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_47_2589.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_49_2671.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_53_3543.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_56_2810.jpg', '/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_58_2662.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_02_3602.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_47_2589.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_49_2671.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_53_3543.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_56_2810.jpg
/home/pi/Desktop/images/15072025/21/01/image_15072025_21_01_58_2662.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_02_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372239889","1372239856","1372239811","1372239759","1372239849","1372239837"],"photo_ids_order":["1372239759","1372239811","1372239837","1372239849","1372239856","1372239889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6d8c39c3a35f875793b86e7f56412f54.jpg","text":"TemporaryFile(/tmp/multipartBody1819994220819047934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_02_02_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4014f5932d869865c596c3a08deaab17.jpg","text":"TemporaryFile(/tmp/multipartBody6635577786685266082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_01_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/7/15/266172d1b7e47f44ea42c00676bbfd96.jpg","text":"TemporaryFile(/tmp/multipartBody6756126932485265063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_01_49_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9d83e3a571be66d5ab936142fb348432.jpg","text":"TemporaryFile(/tmp/multipartBody5272055396026065832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_01_47_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ca0b39c0411f81f7e365ee8c3a2c6ded.jpg","text":"TemporaryFile(/tmp/multipartBody8633950590415263798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_01_56_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d7da36a1f7cb82dafcc425750060f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody5720632962022674224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613603257,"filename":"image_15072025_21_01_53_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372239837","file1":"1372239811","file0":"1372239759","file4":"1372239856","file5":"1372239889","file3":"1372239849"},"map_files_photo_id_array":[{"photo_id":"1372239889","filename":"file5"},{"photo_id":"1372239837","filename":"file2"},{"photo_id":"1372239856","filename":"file4"},{"photo_id":"1372239811","filename":"file1"},{"photo_id":"1372239759","filename":"file0"},{"photo_id":"1372239849","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239889":["hashtag1","hashtag2"]},{"1372239856":["hashtag1","hashtag2"]},{"1372239811":["hashtag1","hashtag2"]},{"1372239759":["hashtag1","hashtag2"]},{"1372239849":["hashtag1","hashtag2"]},{"1372239837":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239889, 1372239856, 1372239811, 1372239759, 1372239849, 1372239837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.764596462249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:06:42.619120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_05_2897.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_08_2747.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_14_3881.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_17_2793.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_20_2581.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_26_3609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_05_2897.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_08_2747.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_14_3881.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_17_2793.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_20_2581.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_26_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372239911","1372239908","1372239928","1372239922","1372239916","1372239903"],"photo_ids_order":["1372239903","1372239908","1372239911","1372239916","1372239922","1372239928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aaa462167c1ef8d3015c65b8408262d8.jpg","text":"TemporaryFile(/tmp/multipartBody7791373168955076995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_14_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c24a47d7b20bee2eb3938104687cf2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1772348954713281867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_08_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8841d228d718c36495ea670836ade2df.jpg","text":"TemporaryFile(/tmp/multipartBody1546594623664146664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_26_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ac70ee7ca07e1f1aac8bde435ede3b38.jpg","text":"TemporaryFile(/tmp/multipartBody5856312948378427073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_20_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6f41b68b0c9eab9f93c9eb730cfcb726.jpg","text":"TemporaryFile(/tmp/multipartBody7406652758575102287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_17_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8bc16897b06b85a925fcf7cc91d0f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody6554737303039611544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613663755,"filename":"image_15072025_21_02_05_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372239911","file1":"1372239908","file0":"1372239903","file4":"1372239922","file5":"1372239928","file3":"1372239916"},"map_files_photo_id_array":[{"photo_id":"1372239928","filename":"file5"},{"photo_id":"1372239911","filename":"file2"},{"photo_id":"1372239922","filename":"file4"},{"photo_id":"1372239908","filename":"file1"},{"photo_id":"1372239903","filename":"file0"},{"photo_id":"1372239916","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239911":["hashtag1","hashtag2"]},{"1372239908":["hashtag1","hashtag2"]},{"1372239928":["hashtag1","hashtag2"]},{"1372239922":["hashtag1","hashtag2"]},{"1372239916":["hashtag1","hashtag2"]},{"1372239903":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239911, 1372239908, 1372239928, 1372239922, 1372239916, 1372239903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90290832519531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:07:48.254167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_31_2756.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_35_3552.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_38_2825.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_41_3554.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_44_2707.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_46_2538.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_31_2756.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_35_3552.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_38_2825.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_41_3554.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_44_2707.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_46_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372239961","1372239955","1372239957","1372239966","1372239971","1372239977"],"photo_ids_order":["1372239955","1372239957","1372239961","1372239966","1372239971","1372239977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f18538cd722c98b6d84a2d1b6bcab5c.jpg","text":"TemporaryFile(/tmp/multipartBody4139839353521402446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_38_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a592a83fd0bc72c308d523dde93087da.jpg","text":"TemporaryFile(/tmp/multipartBody53011549598785164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_31_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2b54b0da6296d36eed0fcc1ae43485a4.jpg","text":"TemporaryFile(/tmp/multipartBody4134128268998828454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_35_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a1515968f40df91c459985d2eb26e27.jpg","text":"TemporaryFile(/tmp/multipartBody1265987550527832137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_41_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8c057a33c09b135d8236468d875bdd24.jpg","text":"TemporaryFile(/tmp/multipartBody6968010042486247504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_44_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/66b5a09cf41aa97c3ff1eb8dbf6f5d24.jpg","text":"TemporaryFile(/tmp/multipartBody7570773381972269244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613729401,"filename":"image_15072025_21_02_46_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372239961","file1":"1372239957","file0":"1372239955","file4":"1372239971","file5":"1372239977","file3":"1372239966"},"map_files_photo_id_array":[{"photo_id":"1372239977","filename":"file5"},{"photo_id":"1372239961","filename":"file2"},{"photo_id":"1372239971","filename":"file4"},{"photo_id":"1372239957","filename":"file1"},{"photo_id":"1372239955","filename":"file0"},{"photo_id":"1372239966","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372239961":["hashtag1","hashtag2"]},{"1372239955":["hashtag1","hashtag2"]},{"1372239957":["hashtag1","hashtag2"]},{"1372239966":["hashtag1","hashtag2"]},{"1372239971":["hashtag1","hashtag2"]},{"1372239977":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372239961, 1372239955, 1372239957, 1372239966, 1372239971, 1372239977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82037544250488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:09:03.052182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_53_2767.jpg', '/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_58_2817.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_02_3790.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_05_2589.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_10_2783.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_14_3749.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_53_2767.jpg
/home/pi/Desktop/images/15072025/21/02/image_15072025_21_02_58_2817.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_02_3790.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_05_2589.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_10_2783.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_14_3749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240037","1372240033","1372240027","1372240012","1372240023","1372240017"],"photo_ids_order":["1372240012","1372240017","1372240023","1372240027","1372240033","1372240037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8548c65ca1d826b6b004fdb60e84dac.jpg","text":"TemporaryFile(/tmp/multipartBody4874485080811324899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_03_14_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9459706e2889b90911b00d7035b89b77.jpg","text":"TemporaryFile(/tmp/multipartBody2923159443202150789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_03_10_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5a5ef368c36f1e43ca964b4df7f982b8.jpg","text":"TemporaryFile(/tmp/multipartBody1452393446653112243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_03_05_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1c98d05b6998ce5b915d50ea730ecac2.jpg","text":"TemporaryFile(/tmp/multipartBody2470812798414797738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_02_53_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b3bb5e5cb223bf3122a0540d2e6cac81.jpg","text":"TemporaryFile(/tmp/multipartBody1907226168682404032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_03_02_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/810ccf778685fc81823e6a4f6cd7029e.jpg","text":"TemporaryFile(/tmp/multipartBody80603774832935414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613804587,"filename":"image_15072025_21_02_58_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240023","file1":"1372240017","file0":"1372240012","file4":"1372240033","file5":"1372240037","file3":"1372240027"},"map_files_photo_id_array":[{"photo_id":"1372240037","filename":"file5"},{"photo_id":"1372240023","filename":"file2"},{"photo_id":"1372240033","filename":"file4"},{"photo_id":"1372240017","filename":"file1"},{"photo_id":"1372240012","filename":"file0"},{"photo_id":"1372240027","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240037":["hashtag1","hashtag2"]},{"1372240033":["hashtag1","hashtag2"]},{"1372240027":["hashtag1","hashtag2"]},{"1372240012":["hashtag1","hashtag2"]},{"1372240023":["hashtag1","hashtag2"]},{"1372240017":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240037, 1372240033, 1372240027, 1372240012, 1372240023, 1372240017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75806903839111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:10:03.158707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_17_2876.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_20_2619.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_23_3625.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_28_2680.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_32_3691.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_38_2574.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_17_2876.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_20_2619.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_23_3625.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_28_2680.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_32_3691.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_38_2574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7881441116333008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:10:22.624795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_17_2876.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_20_2619.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_23_3625.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_28_2680.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_32_3691.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_38_2574.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_17_2876.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_20_2619.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_23_3625.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_28_2680.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_32_3691.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_38_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":["1372240082","1372240103","1372240063","1372240110","1372240097","1372240101"],"photo_ids_order":["1372240063","1372240082","1372240097","1372240101","1372240103","1372240110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e839ce1afd6b6b76fed16cc90abf290.jpg","text":"TemporaryFile(/tmp/multipartBody3247769572792895836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_20_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3d5d80e2859ae7d5ef50abb60dc385de.jpg","text":"TemporaryFile(/tmp/multipartBody3001797678553441906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_32_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dad7f35a4f271f866dc8dfd2d9c9e38e.jpg","text":"TemporaryFile(/tmp/multipartBody5034846242968208306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_17_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a4c6f8d507d1914a71191ca7829930b6.jpg","text":"TemporaryFile(/tmp/multipartBody8497013550489168292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_38_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/35d28817e790c3191af2cc8c3b85c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody195370452658117838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_23_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cd1a190078e3fbdf900dd423bb8fd452.jpg","text":"TemporaryFile(/tmp/multipartBody6395028489302591489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613883736,"filename":"image_15072025_21_03_28_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240097","file1":"1372240082","file0":"1372240063","file4":"1372240103","file5":"1372240110","file3":"1372240101"},"map_files_photo_id_array":[{"photo_id":"1372240110","filename":"file5"},{"photo_id":"1372240097","filename":"file2"},{"photo_id":"1372240103","filename":"file4"},{"photo_id":"1372240082","filename":"file1"},{"photo_id":"1372240063","filename":"file0"},{"photo_id":"1372240101","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240082":["hashtag1","hashtag2"]},{"1372240103":["hashtag1","hashtag2"]},{"1372240063":["hashtag1","hashtag2"]},{"1372240110":["hashtag1","hashtag2"]},{"1372240097":["hashtag1","hashtag2"]},{"1372240101":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240082, 1372240103, 1372240063, 1372240110, 1372240097, 1372240101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97772812843323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:11:22.306193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_46_2674.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_50_3655.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_53_2770.jpg', '/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_58_2847.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_02_3639.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_05_2686.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_46_2674.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_50_3655.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_53_2770.jpg
/home/pi/Desktop/images/15072025/21/03/image_15072025_21_03_58_2847.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_02_3639.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_05_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240157","1372240142","1372240147","1372240132","1372240138","1372240152"],"photo_ids_order":["1372240132","1372240138","1372240142","1372240147","1372240152","1372240157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/28c6a4810d71dda6dd5fae7f28474a74.jpg","text":"TemporaryFile(/tmp/multipartBody4871866023966435446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_04_05_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f55ebef84b7fc86063aa9c40103087e.jpg","text":"TemporaryFile(/tmp/multipartBody1578069176887076181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_03_53_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47523e89384cbb8fab552f4fce28b195.jpg","text":"TemporaryFile(/tmp/multipartBody3612284934864718128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_03_58_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4d191f6d21565993807332d8bfd59bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6737073645803726763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_03_46_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/08acfc87ec8b5025cb4025de968a0073.jpg","text":"TemporaryFile(/tmp/multipartBody5997702384119237641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_03_50_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31a6a382822b0568687a5c31b6979c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6370345234438198521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752613943429,"filename":"image_15072025_21_04_02_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240142","file1":"1372240138","file0":"1372240132","file4":"1372240152","file5":"1372240157","file3":"1372240147"},"map_files_photo_id_array":[{"photo_id":"1372240157","filename":"file5"},{"photo_id":"1372240142","filename":"file2"},{"photo_id":"1372240152","filename":"file4"},{"photo_id":"1372240138","filename":"file1"},{"photo_id":"1372240132","filename":"file0"},{"photo_id":"1372240147","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240157":["hashtag1","hashtag2"]},{"1372240142":["hashtag1","hashtag2"]},{"1372240147":["hashtag1","hashtag2"]},{"1372240132":["hashtag1","hashtag2"]},{"1372240138":["hashtag1","hashtag2"]},{"1372240152":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240157, 1372240142, 1372240147, 1372240132, 1372240138, 1372240152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.426263093948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:12:22.432261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_07_2577.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_11_3645.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_14_2719.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_20_3576.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_23_2719.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_25_2607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_07_2577.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_11_3645.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_14_2719.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_20_3576.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_23_2719.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_25_2607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7221901416778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:12:42.436042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_07_2577.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_11_3645.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_14_2719.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_20_3576.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_23_2719.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_25_2607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_07_2577.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_11_3645.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_14_2719.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_20_3576.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_23_2719.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_25_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240232","1372240238","1372240243","1372240227","1372240215","1372240209"],"photo_ids_order":["1372240209","1372240215","1372240227","1372240232","1372240238","1372240243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7a0cc83a839a15b67b80a7716ba6e11.jpg","text":"TemporaryFile(/tmp/multipartBody5788457453458557361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_20_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd21b91d6327d1d6b7aa69e7f6d16ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7069513079278149890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_23_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dbd65cecd03b0a426f16356341780301.jpg","text":"TemporaryFile(/tmp/multipartBody7129446922550728667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7a7a9f6e60aaf8544209f76508044e48.jpg","text":"TemporaryFile(/tmp/multipartBody7018867217213427105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_14_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/366ddc020e7f431059555bdbf4c9d55b.jpg","text":"TemporaryFile(/tmp/multipartBody7546689889539440043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_11_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c276dd4a3351db48bc0a1f85813b7736.jpg","text":"TemporaryFile(/tmp/multipartBody7925384575100370094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614023564,"filename":"image_15072025_21_04_07_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240227","file1":"1372240215","file0":"1372240209","file4":"1372240238","file5":"1372240243","file3":"1372240232"},"map_files_photo_id_array":[{"photo_id":"1372240243","filename":"file5"},{"photo_id":"1372240227","filename":"file2"},{"photo_id":"1372240238","filename":"file4"},{"photo_id":"1372240215","filename":"file1"},{"photo_id":"1372240209","filename":"file0"},{"photo_id":"1372240232","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240232":["hashtag1","hashtag2"]},{"1372240238":["hashtag1","hashtag2"]},{"1372240243":["hashtag1","hashtag2"]},{"1372240227":["hashtag1","hashtag2"]},{"1372240215":["hashtag1","hashtag2"]},{"1372240209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240232, 1372240238, 1372240243, 1372240227, 1372240215, 1372240209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52860403060913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:13:42.337567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_32_2729.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_34_2638.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_47_3665.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_53_2546.jpg', '/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_55_2653.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_07_2624.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_32_2729.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_34_2638.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_47_3665.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_53_2546.jpg
/home/pi/Desktop/images/15072025/21/04/image_15072025_21_04_55_2653.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_07_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240261","1372240270","1372240264","1372240266","1372240283","1372240277"],"photo_ids_order":["1372240261","1372240264","1372240266","1372240270","1372240277","1372240283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/59189d539f6a236ba8dca12cf0292682.jpg","text":"TemporaryFile(/tmp/multipartBody9067207837821147280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_04_32_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d35cea1b04ff17f8af643c52703574eb.jpg","text":"TemporaryFile(/tmp/multipartBody7462711456054971916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_04_53_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c6b6bf4713008cae75aed18bcb637850.jpg","text":"TemporaryFile(/tmp/multipartBody3548435121750552511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_04_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/7/15/944dae60cee93a1e113aa524f42efd08.jpg","text":"TemporaryFile(/tmp/multipartBody4705686405510868863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_04_47_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/75ac55978fe583268f7c71eaaefc0a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3132496660753215389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_05_07_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6cf8e6f24e3a6d3a8e295a7c15cf3192.jpg","text":"TemporaryFile(/tmp/multipartBody8933429374728920413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614083465,"filename":"image_15072025_21_04_55_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240266","file1":"1372240264","file0":"1372240261","file4":"1372240277","file5":"1372240283","file3":"1372240270"},"map_files_photo_id_array":[{"photo_id":"1372240283","filename":"file5"},{"photo_id":"1372240266","filename":"file2"},{"photo_id":"1372240277","filename":"file4"},{"photo_id":"1372240264","filename":"file1"},{"photo_id":"1372240261","filename":"file0"},{"photo_id":"1372240270","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240261":["hashtag1","hashtag2"]},{"1372240270":["hashtag1","hashtag2"]},{"1372240264":["hashtag1","hashtag2"]},{"1372240266":["hashtag1","hashtag2"]},{"1372240283":["hashtag1","hashtag2"]},{"1372240277":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240261, 1372240270, 1372240264, 1372240266, 1372240283, 1372240277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44034552574158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:14:42.273146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_23_2807.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_34_2745.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_50_3729.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_52_2653.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_55_2645.jpg', '/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_59_3757.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_23_2807.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_34_2745.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_50_3729.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_52_2653.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_55_2645.jpg
/home/pi/Desktop/images/15072025/21/05/image_15072025_21_05_59_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":["1372240302","1372240337","1372240327","1372240312","1372240306","1372240308"],"photo_ids_order":["1372240302","1372240306","1372240308","1372240312","1372240327","1372240337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed09372365af0efe7aba34453e186c74.jpg","text":"TemporaryFile(/tmp/multipartBody4001217128602604088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_23_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/47d246749a4181202d8536383ac378b0.jpg","text":"TemporaryFile(/tmp/multipartBody8515296991698936103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_59_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/460b8435b49d963eb4266c78d9e27efd.jpg","text":"TemporaryFile(/tmp/multipartBody2843038929716958741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_55_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fc147292884120aa2df552206139e7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6375553103830847590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_52_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8753288b64d41e34f7ad0859d4ac42d7.jpg","text":"TemporaryFile(/tmp/multipartBody2063782183203161804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_34_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f76ef20241ce30951b1639c060dd312b.jpg","text":"TemporaryFile(/tmp/multipartBody3987023368206220993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614143393,"filename":"image_15072025_21_05_50_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240308","file1":"1372240306","file0":"1372240302","file4":"1372240327","file5":"1372240337","file3":"1372240312"},"map_files_photo_id_array":[{"photo_id":"1372240337","filename":"file5"},{"photo_id":"1372240308","filename":"file2"},{"photo_id":"1372240327","filename":"file4"},{"photo_id":"1372240306","filename":"file1"},{"photo_id":"1372240302","filename":"file0"},{"photo_id":"1372240312","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240302":["hashtag1","hashtag2"]},{"1372240337":["hashtag1","hashtag2"]},{"1372240327":["hashtag1","hashtag2"]},{"1372240312":["hashtag1","hashtag2"]},{"1372240306":["hashtag1","hashtag2"]},{"1372240308":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240302, 1372240337, 1372240327, 1372240312, 1372240306, 1372240308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.179358959198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:15:42.403152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_11_3535.jpg', '/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_13_2635.jpg', '/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_22_2812.jpg', '/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_29_3640.jpg', '/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_31_2754.jpg', '/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_47_3622.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_11_3535.jpg
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_13_2635.jpg
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_22_2812.jpg
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_29_3640.jpg
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_31_2754.jpg
/home/pi/Desktop/images/15072025/21/06/image_15072025_21_06_47_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":["1372240379","1372240367","1372240349","1372240351","1372240354","1372240359"],"photo_ids_order":["1372240349","1372240351","1372240354","1372240359","1372240367","1372240379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f7df71dfdbb084a09c6a7d963da3d142.jpg","text":"TemporaryFile(/tmp/multipartBody8713392998205530194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_47_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/bd14186d67b00721e2e1ed2ce6a7f9c2.jpg","text":"TemporaryFile(/tmp/multipartBody7549408056205679614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_31_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3a899a3b7762af1c91eeca10b4aa49f9.jpg","text":"TemporaryFile(/tmp/multipartBody7866045882223920355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_11_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23db72447bdc58c76f34c5e78e464ce3.jpg","text":"TemporaryFile(/tmp/multipartBody122702854160471163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_13_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf9d660c0e16513d6415cefbc17632de.jpg","text":"TemporaryFile(/tmp/multipartBody6396050708100979094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_22_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/00e79484923738d361b904cf21721241.jpg","text":"TemporaryFile(/tmp/multipartBody9203774437065759617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614203510,"filename":"image_15072025_21_06_29_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240354","file1":"1372240351","file0":"1372240349","file4":"1372240367","file5":"1372240379","file3":"1372240359"},"map_files_photo_id_array":[{"photo_id":"1372240379","filename":"file5"},{"photo_id":"1372240354","filename":"file2"},{"photo_id":"1372240367","filename":"file4"},{"photo_id":"1372240351","filename":"file1"},{"photo_id":"1372240349","filename":"file0"},{"photo_id":"1372240359","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240379":["hashtag1","hashtag2"]},{"1372240367":["hashtag1","hashtag2"]},{"1372240349":["hashtag1","hashtag2"]},{"1372240351":["hashtag1","hashtag2"]},{"1372240354":["hashtag1","hashtag2"]},{"1372240359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240379, 1372240367, 1372240349, 1372240351, 1372240354, 1372240359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27944540977478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:16:41.735973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_04_2633.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_08_3725.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_10_2884.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_16_2758.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_20_3710.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_22_2627.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_04_2633.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_08_3725.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_10_2884.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_16_2758.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_20_3710.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_22_2627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.72237229347229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:17:03.051456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_04_2633.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_08_3725.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_10_2884.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_16_2758.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_20_3710.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_22_2627.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_04_2633.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_08_3725.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_10_2884.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_16_2758.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_20_3710.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_22_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240439","1372240459","1372240447","1372240464","1372240452","1372240431"],"photo_ids_order":["1372240431","1372240439","1372240447","1372240452","1372240459","1372240464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1a37e5447301890caedf9ad6d7f38c49.jpg","text":"TemporaryFile(/tmp/multipartBody7194455597076838041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_08_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/167b4b62638828d1168ad89a7e66c2a4.jpg","text":"TemporaryFile(/tmp/multipartBody9069364414561063492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_20_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72f72a7d674cc853390fa8ce81088a13.jpg","text":"TemporaryFile(/tmp/multipartBody1215705505815259040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_10_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/77769dfadb3722cf6c1ff30223f6b059.jpg","text":"TemporaryFile(/tmp/multipartBody2687828144350780977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_22_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c55701a32b022036a3e9e171523144eb.jpg","text":"TemporaryFile(/tmp/multipartBody2141045697296387768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_16_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d87aa92849646d9e78f57a4d932ee9e5.jpg","text":"TemporaryFile(/tmp/multipartBody1595836071271406262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614284285,"filename":"image_15072025_21_07_04_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240447","file1":"1372240439","file0":"1372240431","file4":"1372240459","file5":"1372240464","file3":"1372240452"},"map_files_photo_id_array":[{"photo_id":"1372240464","filename":"file5"},{"photo_id":"1372240447","filename":"file2"},{"photo_id":"1372240459","filename":"file4"},{"photo_id":"1372240439","filename":"file1"},{"photo_id":"1372240431","filename":"file0"},{"photo_id":"1372240452","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240439":["hashtag1","hashtag2"]},{"1372240459":["hashtag1","hashtag2"]},{"1372240447":["hashtag1","hashtag2"]},{"1372240464":["hashtag1","hashtag2"]},{"1372240452":["hashtag1","hashtag2"]},{"1372240431":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240439, 1372240459, 1372240447, 1372240464, 1372240452, 1372240431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41508889198303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:18:03.121475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_25_2701.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_31_2600.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_37_3599.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_47_3721.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_52_2755.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_56_3591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_25_2701.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_31_2600.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_37_3599.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_47_3721.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_52_2755.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_56_3591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8033041954040527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:18:22.577031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_25_2701.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_31_2600.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_37_3599.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_47_3721.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_52_2755.jpg', '/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_56_3591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_25_2701.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_31_2600.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_37_3599.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_47_3721.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_52_2755.jpg
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_56_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240508","1372240513","1372240516","1372240521","1372240524","1372240503"],"photo_ids_order":["1372240503","1372240508","1372240513","1372240516","1372240521","1372240524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2c59292122d50e9426d2d87ec82dd57e.jpg","text":"TemporaryFile(/tmp/multipartBody4579810538363522275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_31_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/dff5e32e34438d54060601470a3b6353.jpg","text":"TemporaryFile(/tmp/multipartBody1072827948302399394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_37_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a3a2a38699f6a82373d14053c5b19528.jpg","text":"TemporaryFile(/tmp/multipartBody2897984144353476473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_47_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a53b0a00eb8d0a973d199ef001b728ed.jpg","text":"TemporaryFile(/tmp/multipartBody3474618270263969782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_52_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ff9b671a05e4b7bca42b50ef31e8be95.jpg","text":"TemporaryFile(/tmp/multipartBody5816688271902230526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_56_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6757d061e1a58b07833d32cf84879f86.jpg","text":"TemporaryFile(/tmp/multipartBody3336884406490429875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614363693,"filename":"image_15072025_21_07_25_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240513","file1":"1372240508","file0":"1372240503","file4":"1372240521","file5":"1372240524","file3":"1372240516"},"map_files_photo_id_array":[{"photo_id":"1372240524","filename":"file5"},{"photo_id":"1372240513","filename":"file2"},{"photo_id":"1372240521","filename":"file4"},{"photo_id":"1372240508","filename":"file1"},{"photo_id":"1372240503","filename":"file0"},{"photo_id":"1372240516","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240508":["hashtag1","hashtag2"]},{"1372240513":["hashtag1","hashtag2"]},{"1372240516":["hashtag1","hashtag2"]},{"1372240521":["hashtag1","hashtag2"]},{"1372240524":["hashtag1","hashtag2"]},{"1372240503":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240508, 1372240513, 1372240516, 1372240521, 1372240524, 1372240503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.181565046310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:19:22.368158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_59_2794.jpg', '/home/pi/Desktop/images/15072025/21/08/image_15072025_21_08_04_2827.jpg', '/home/pi/Desktop/images/15072025/21/08/image_15072025_21_08_40_2762.jpg', '/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_25_2644.jpg', '/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_34_2633.jpg', '/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_55_2677.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/07/image_15072025_21_07_59_2794.jpg
/home/pi/Desktop/images/15072025/21/08/image_15072025_21_08_04_2827.jpg
/home/pi/Desktop/images/15072025/21/08/image_15072025_21_08_40_2762.jpg
/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_25_2644.jpg
/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_34_2633.jpg
/home/pi/Desktop/images/15072025/21/09/image_15072025_21_09_55_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240568","1372240547","1372240593","1372240560","1372240592","1372240580"],"photo_ids_order":["1372240547","1372240560","1372240568","1372240580","1372240592","1372240593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/86e1e3780eeab07616c6445dddc4b157.jpg","text":"TemporaryFile(/tmp/multipartBody4922292958341343750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_08_40_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e3323fd5f11e8a706f895ee8b9b1bde3.jpg","text":"TemporaryFile(/tmp/multipartBody9176874105335714193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_07_59_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18c2b48a513e1ecf60edd0b23b0b7636.jpg","text":"TemporaryFile(/tmp/multipartBody3908581461960498627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_09_55_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/98ec5c155965b7e58763a638c05efb5a.jpg","text":"TemporaryFile(/tmp/multipartBody434461942327884199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_08_04_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5565fc7b2de9d496d608b382df7f4052.jpg","text":"TemporaryFile(/tmp/multipartBody7276662970233300462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_09_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/7/15/a6a50df04f1f8432b7012ecbfdc2ff88.jpg","text":"TemporaryFile(/tmp/multipartBody1152051761664589781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614423527,"filename":"image_15072025_21_09_25_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240568","file1":"1372240560","file0":"1372240547","file4":"1372240592","file5":"1372240593","file3":"1372240580"},"map_files_photo_id_array":[{"photo_id":"1372240593","filename":"file5"},{"photo_id":"1372240568","filename":"file2"},{"photo_id":"1372240592","filename":"file4"},{"photo_id":"1372240560","filename":"file1"},{"photo_id":"1372240547","filename":"file0"},{"photo_id":"1372240580","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240568":["hashtag1","hashtag2"]},{"1372240547":["hashtag1","hashtag2"]},{"1372240593":["hashtag1","hashtag2"]},{"1372240560":["hashtag1","hashtag2"]},{"1372240592":["hashtag1","hashtag2"]},{"1372240580":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240568, 1372240547, 1372240593, 1372240560, 1372240592, 1372240580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.600759983062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:20:22.706710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_10_3719.jpg', '/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_28_2734.jpg', '/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_31_3609.jpg', '/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_34_2784.jpg', '/home/pi/Desktop/images/15072025/21/10/image_15072025_21_11_01_3589.jpg', '/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_31_2667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_10_3719.jpg
/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_28_2734.jpg
/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_31_3609.jpg
/home/pi/Desktop/images/15072025/21/10/image_15072025_21_10_34_2784.jpg
/home/pi/Desktop/images/15072025/21/10/image_15072025_21_11_01_3589.jpg
/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_31_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240640","1372240616","1372240621","1372240630","1372240627","1372240609"],"photo_ids_order":["1372240609","1372240616","1372240621","1372240627","1372240630","1372240640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/67b0f4d194b3acd64ef523f473a9abe0.jpg","text":"TemporaryFile(/tmp/multipartBody8095433936168889218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_11_31_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c2db144c8ebaf40ac51403b7145ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody6738985995771580681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_10_28_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8bc2192e7b3fb6635939bf87452e5318.jpg","text":"TemporaryFile(/tmp/multipartBody3490739499428773206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_10_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7fe62d2ab41bb0f502c861038e766720.jpg","text":"TemporaryFile(/tmp/multipartBody803084315864406998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_11_01_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3726eb3744941062236661e0d6f9a5fd.jpg","text":"TemporaryFile(/tmp/multipartBody573792949801241976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_10_34_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97a59ac1b60752abb2947c4fc4bbdf63.jpg","text":"TemporaryFile(/tmp/multipartBody3372169220948633404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614483882,"filename":"image_15072025_21_10_10_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240621","file1":"1372240616","file0":"1372240609","file4":"1372240630","file5":"1372240640","file3":"1372240627"},"map_files_photo_id_array":[{"photo_id":"1372240640","filename":"file5"},{"photo_id":"1372240621","filename":"file2"},{"photo_id":"1372240630","filename":"file4"},{"photo_id":"1372240616","filename":"file1"},{"photo_id":"1372240609","filename":"file0"},{"photo_id":"1372240627","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240640":["hashtag1","hashtag2"]},{"1372240616":["hashtag1","hashtag2"]},{"1372240621":["hashtag1","hashtag2"]},{"1372240630":["hashtag1","hashtag2"]},{"1372240627":["hashtag1","hashtag2"]},{"1372240609":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240640, 1372240616, 1372240621, 1372240630, 1372240627, 1372240609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.86461520195007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:21:22.303537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_34_3609.jpg', '/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_55_3640.jpg', '/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_58_2802.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_01_2744.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_04_2796.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_10_2719.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_34_3609.jpg
/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_55_3640.jpg
/home/pi/Desktop/images/15072025/21/11/image_15072025_21_11_58_2802.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_01_2744.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_04_2796.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_10_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240676","1372240670","1372240664","1372240681","1372240686","1372240659"],"photo_ids_order":["1372240659","1372240664","1372240670","1372240676","1372240681","1372240686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5304f7112ce051d93b2c3f381b349a09.jpg","text":"TemporaryFile(/tmp/multipartBody6695461724561574923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_12_01_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aa053f32ca5c3ea972f9ed2515b493fd.jpg","text":"TemporaryFile(/tmp/multipartBody5513950850989801689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_11_58_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/78c1a3abf83216365611bc2bbc8ac354.jpg","text":"TemporaryFile(/tmp/multipartBody5383722026030013885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_11_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/7/15/fcc8d07f72dbb93148eef955f89ef785.jpg","text":"TemporaryFile(/tmp/multipartBody4537574223557279011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_12_04_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/758b003efd0af3ded8a46b98311d6485.jpg","text":"TemporaryFile(/tmp/multipartBody5810549316333272407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_12_10_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/69d8c4194548076e57adf6d2d105ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody665434536498125151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614543414,"filename":"image_15072025_21_11_34_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240670","file1":"1372240664","file0":"1372240659","file4":"1372240681","file5":"1372240686","file3":"1372240676"},"map_files_photo_id_array":[{"photo_id":"1372240686","filename":"file5"},{"photo_id":"1372240670","filename":"file2"},{"photo_id":"1372240681","filename":"file4"},{"photo_id":"1372240664","filename":"file1"},{"photo_id":"1372240659","filename":"file0"},{"photo_id":"1372240676","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240676":["hashtag1","hashtag2"]},{"1372240670":["hashtag1","hashtag2"]},{"1372240664":["hashtag1","hashtag2"]},{"1372240681":["hashtag1","hashtag2"]},{"1372240686":["hashtag1","hashtag2"]},{"1372240659":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240676, 1372240670, 1372240664, 1372240681, 1372240686, 1372240659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78379583358765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:22:22.473211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_13_2757.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_21_2595.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_28_2575.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_30_2623.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_34_3700.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_37_2644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_13_2757.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_21_2595.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_28_2575.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_30_2623.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_34_3700.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_37_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240736","1372240706","1372240723","1372240717","1372240726","1372240713"],"photo_ids_order":["1372240706","1372240713","1372240717","1372240723","1372240726","1372240736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30c72e2d02fdf165abb637c933828b21.jpg","text":"TemporaryFile(/tmp/multipartBody8844587663551019201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_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/7/15/2c03cd00fe7c0c7a81677f4cf1f968fb.jpg","text":"TemporaryFile(/tmp/multipartBody6913034571251439125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_13_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/faa7919aa21535d4ffc00ba24053631a.jpg","text":"TemporaryFile(/tmp/multipartBody4886620132062697636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_30_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ada8bbf56bb1574f6a2216f0137fd93b.jpg","text":"TemporaryFile(/tmp/multipartBody3153368011075823453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_28_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/332af539de9637cc7ece74e9b94ac322.jpg","text":"TemporaryFile(/tmp/multipartBody885439593183769798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_34_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6020906efed7c86bc81ebf8d20e20e29.jpg","text":"TemporaryFile(/tmp/multipartBody5745146049444833759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614603595,"filename":"image_15072025_21_12_21_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240717","file1":"1372240713","file0":"1372240706","file4":"1372240726","file5":"1372240736","file3":"1372240723"},"map_files_photo_id_array":[{"photo_id":"1372240736","filename":"file5"},{"photo_id":"1372240717","filename":"file2"},{"photo_id":"1372240726","filename":"file4"},{"photo_id":"1372240713","filename":"file1"},{"photo_id":"1372240706","filename":"file0"},{"photo_id":"1372240723","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240736":["hashtag1","hashtag2"]},{"1372240706":["hashtag1","hashtag2"]},{"1372240723":["hashtag1","hashtag2"]},{"1372240717":["hashtag1","hashtag2"]},{"1372240726":["hashtag1","hashtag2"]},{"1372240713":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240736, 1372240706, 1372240723, 1372240717, 1372240726, 1372240713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.60122084617615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:23:22.069884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_39_2605.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_43_3625.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_46_2678.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_48_2784.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_51_2818.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_55_3610.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_39_2605.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_43_3625.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_46_2678.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_48_2784.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_51_2818.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_55_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":["1372240778","1372240771","1372240762","1372240782","1372240785","1372240784"],"photo_ids_order":["1372240762","1372240771","1372240778","1372240782","1372240784","1372240785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f972962444c25b73933ed4258d7c1e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6045608288344856979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_46_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7b61d3e04d8d51f709829dffbe57bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody7536213763439627495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_43_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4f351a4aab9e2542037745570b105fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4873577886129981626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_39_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3906d604b78b6e8637808a9e91e36757.jpg","text":"TemporaryFile(/tmp/multipartBody5159838813361369071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_48_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/79d9df0f32a4e9cc7f2a8c7c6a27cd7e.jpg","text":"TemporaryFile(/tmp/multipartBody7804103493722369589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_55_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fe675c986a8adfb1674ab41a3727da8a.jpg","text":"TemporaryFile(/tmp/multipartBody8472161756841513131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614663198,"filename":"image_15072025_21_12_51_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240778","file1":"1372240771","file0":"1372240762","file4":"1372240784","file5":"1372240785","file3":"1372240782"},"map_files_photo_id_array":[{"photo_id":"1372240785","filename":"file5"},{"photo_id":"1372240778","filename":"file2"},{"photo_id":"1372240784","filename":"file4"},{"photo_id":"1372240771","filename":"file1"},{"photo_id":"1372240762","filename":"file0"},{"photo_id":"1372240782","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240778":["hashtag1","hashtag2"]},{"1372240771":["hashtag1","hashtag2"]},{"1372240762":["hashtag1","hashtag2"]},{"1372240782":["hashtag1","hashtag2"]},{"1372240785":["hashtag1","hashtag2"]},{"1372240784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240778, 1372240771, 1372240762, 1372240782, 1372240785, 1372240784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.46754598617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:24:22.077006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_57_2588.jpg', '/home/pi/Desktop/images/15072025/21/12/image_15072025_21_13_01_3656.jpg', '/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_04_2814.jpg', '/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_07_2616.jpg', '/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_09_2681.jpg', '/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_16_2695.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_12_57_2588.jpg
/home/pi/Desktop/images/15072025/21/12/image_15072025_21_13_01_3656.jpg
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_04_2814.jpg
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_07_2616.jpg
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_09_2681.jpg
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_16_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240850","1372240813","1372240801","1372240845","1372240836","1372240821"],"photo_ids_order":["1372240801","1372240813","1372240821","1372240836","1372240845","1372240850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/633284f109c861c9973a05c5bbd1d229.jpg","text":"TemporaryFile(/tmp/multipartBody2853078501839385923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_13_16_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/91af07d7e77f30788d973fce7f97d06f.jpg","text":"TemporaryFile(/tmp/multipartBody1463109023337088421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_13_01_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6925d12e90dcd4eaff1dabd586c4f219.jpg","text":"TemporaryFile(/tmp/multipartBody6988796164947438669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_12_57_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b178a8d511e0f9ef41e0c133ca7fc0a1.jpg","text":"TemporaryFile(/tmp/multipartBody711597460358887415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_13_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/7/15/48a529a05ff423043762808d475dbaed.jpg","text":"TemporaryFile(/tmp/multipartBody2971236907392226523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_13_07_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9774186e0ede2b76269db01fce7090b7.jpg","text":"TemporaryFile(/tmp/multipartBody6380611045883964431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614723189,"filename":"image_15072025_21_13_04_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240821","file1":"1372240813","file0":"1372240801","file4":"1372240845","file5":"1372240850","file3":"1372240836"},"map_files_photo_id_array":[{"photo_id":"1372240850","filename":"file5"},{"photo_id":"1372240821","filename":"file2"},{"photo_id":"1372240845","filename":"file4"},{"photo_id":"1372240813","filename":"file1"},{"photo_id":"1372240801","filename":"file0"},{"photo_id":"1372240836","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240850":["hashtag1","hashtag2"]},{"1372240813":["hashtag1","hashtag2"]},{"1372240801":["hashtag1","hashtag2"]},{"1372240845":["hashtag1","hashtag2"]},{"1372240836":["hashtag1","hashtag2"]},{"1372240821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240850, 1372240813, 1372240801, 1372240845, 1372240836, 1372240821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.294371128082275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:25:22.160501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_18_2656.jpg', '/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_49_3807.jpg', '/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_04_2827.jpg', '/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_13_3613.jpg', '/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_15_2669.jpg', '/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_27_2761.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_18_2656.jpg
/home/pi/Desktop/images/15072025/21/13/image_15072025_21_13_49_3807.jpg
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_04_2827.jpg
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_13_3613.jpg
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_15_2669.jpg
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_27_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372240955","1372240928","1372240891","1372240936","1372240941","1372240902"],"photo_ids_order":["1372240891","1372240902","1372240928","1372240936","1372240941","1372240955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/745c3d931175591a7fa1c108f1329e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1631604741244749992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_14_27_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8067ea6439608cbf667b9364d6a60434.jpg","text":"TemporaryFile(/tmp/multipartBody1068994702811578749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_14_04_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c97cb416b9fc1196fc9423885ce9d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody682617925068901976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_13_18_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b87c65845cb54416e8273940be9070c6.jpg","text":"TemporaryFile(/tmp/multipartBody6730277778957442128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_14_13_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/80553f182adb1b904a5d1b5e07d16bac.jpg","text":"TemporaryFile(/tmp/multipartBody538582896211284823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_14_15_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7b010873b8294970334823a42531112.jpg","text":"TemporaryFile(/tmp/multipartBody1026990562193778454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614783265,"filename":"image_15072025_21_13_49_3807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372240928","file1":"1372240902","file0":"1372240891","file4":"1372240941","file5":"1372240955","file3":"1372240936"},"map_files_photo_id_array":[{"photo_id":"1372240955","filename":"file5"},{"photo_id":"1372240928","filename":"file2"},{"photo_id":"1372240941","filename":"file4"},{"photo_id":"1372240902","filename":"file1"},{"photo_id":"1372240891","filename":"file0"},{"photo_id":"1372240936","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372240955":["hashtag1","hashtag2"]},{"1372240928":["hashtag1","hashtag2"]},{"1372240891":["hashtag1","hashtag2"]},{"1372240936":["hashtag1","hashtag2"]},{"1372240941":["hashtag1","hashtag2"]},{"1372240902":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372240955, 1372240928, 1372240891, 1372240936, 1372240941, 1372240902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.236315965652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:26:22.461872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_37_2714.jpg', '/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_39_2660.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_19_3586.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_22_2792.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_24_2688.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_45_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_37_2714.jpg
/home/pi/Desktop/images/15072025/21/14/image_15072025_21_14_39_2660.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_19_3586.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_22_2792.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_24_2688.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_45_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":["1372241026","1372241011","1372241014","1372241058","1372241004","1372241048"],"photo_ids_order":["1372241004","1372241011","1372241014","1372241026","1372241048","1372241058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/49902f714442e9306827d2e480045a40.jpg","text":"TemporaryFile(/tmp/multipartBody7302044797833303459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_15_22_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ed74967bfcb3d01e5436a6e03ffc5f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6672503618066551225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_14_39_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c0a9d22adc6320ea8af9908c02a6558.jpg","text":"TemporaryFile(/tmp/multipartBody2248300118318005691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_15_19_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72fcb86cdf61cd652d4e9a6f05d28468.jpg","text":"TemporaryFile(/tmp/multipartBody622718591640489018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_15_45_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9fb636070722227ce367f965c837530.jpg","text":"TemporaryFile(/tmp/multipartBody3836052319074452637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_14_37_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4c26a9f330df72cc3b6155ba8233f945.jpg","text":"TemporaryFile(/tmp/multipartBody6849871015371475958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614843589,"filename":"image_15072025_21_15_24_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241014","file1":"1372241011","file0":"1372241004","file4":"1372241048","file5":"1372241058","file3":"1372241026"},"map_files_photo_id_array":[{"photo_id":"1372241058","filename":"file5"},{"photo_id":"1372241014","filename":"file2"},{"photo_id":"1372241048","filename":"file4"},{"photo_id":"1372241011","filename":"file1"},{"photo_id":"1372241004","filename":"file0"},{"photo_id":"1372241026","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241026":["hashtag1","hashtag2"]},{"1372241011":["hashtag1","hashtag2"]},{"1372241014":["hashtag1","hashtag2"]},{"1372241058":["hashtag1","hashtag2"]},{"1372241004":["hashtag1","hashtag2"]},{"1372241048":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241026, 1372241011, 1372241014, 1372241058, 1372241004, 1372241048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.51281547546387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:27:22.086491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_49_3745.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_54_2652.jpg', '/home/pi/Desktop/images/15072025/21/15/image_15072025_21_16_00_2717.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_09_2619.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_19_2971.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_24_2628.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_49_3745.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_15_54_2652.jpg
/home/pi/Desktop/images/15072025/21/15/image_15072025_21_16_00_2717.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_09_2619.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_19_2971.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_24_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":["1372241092","1372241105","1372241107","1372241088","1372241082","1372241109"],"photo_ids_order":["1372241082","1372241088","1372241092","1372241105","1372241107","1372241109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/242f8449aef2a4727e6b9d57aa08d00a.jpg","text":"TemporaryFile(/tmp/multipartBody3734505473330662349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_16_00_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/19a2836d5e7b6341ef6ca7851558a10b.jpg","text":"TemporaryFile(/tmp/multipartBody2915689979355807738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_16_09_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/18c9aaa8b935fe73f47158ec3ecdfb39.jpg","text":"TemporaryFile(/tmp/multipartBody2666216068627693427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_16_19_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/19b0cf45f39913fbd01599ff1320b23e.jpg","text":"TemporaryFile(/tmp/multipartBody3478421985240076718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_15_54_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74dd44ced223243ee76f8669f4324171.jpg","text":"TemporaryFile(/tmp/multipartBody179700181407604850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_15_49_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d6ad5131d221646aec83c08c249a8e27.jpg","text":"TemporaryFile(/tmp/multipartBody707317799358634231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614903237,"filename":"image_15072025_21_16_24_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241092","file1":"1372241088","file0":"1372241082","file4":"1372241107","file5":"1372241109","file3":"1372241105"},"map_files_photo_id_array":[{"photo_id":"1372241109","filename":"file5"},{"photo_id":"1372241092","filename":"file2"},{"photo_id":"1372241107","filename":"file4"},{"photo_id":"1372241088","filename":"file1"},{"photo_id":"1372241082","filename":"file0"},{"photo_id":"1372241105","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241092":["hashtag1","hashtag2"]},{"1372241105":["hashtag1","hashtag2"]},{"1372241107":["hashtag1","hashtag2"]},{"1372241088":["hashtag1","hashtag2"]},{"1372241082":["hashtag1","hashtag2"]},{"1372241109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241092, 1372241105, 1372241107, 1372241088, 1372241082, 1372241109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.547065019607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:28:22.465625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_33_2722.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_36_2645.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_58_3641.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_16_3674.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_42_2570.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_57_2766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_33_2722.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_36_2645.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_58_3641.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_16_3674.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_42_2570.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_57_2766.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7142696380615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:28:42.430568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_33_2722.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_36_2645.jpg', '/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_58_3641.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_16_3674.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_42_2570.jpg', '/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_57_2766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_33_2722.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_36_2645.jpg
/home/pi/Desktop/images/15072025/21/16/image_15072025_21_16_58_3641.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_16_3674.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_42_2570.jpg
/home/pi/Desktop/images/15072025/21/17/image_15072025_21_17_57_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241156","1372241137","1372241142","1372241145","1372241162","1372241150"],"photo_ids_order":["1372241137","1372241142","1372241145","1372241150","1372241156","1372241162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/394417af372d69a2d9ee2b65d5e0bcf1.jpg","text":"TemporaryFile(/tmp/multipartBody4881446249251333551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_17_42_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/980eea08fc934edb4609d0022f79a75d.jpg","text":"TemporaryFile(/tmp/multipartBody7236664049543460397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_16_33_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ffa8dbcd4fffdeb1b04f9ba95103dbd9.jpg","text":"TemporaryFile(/tmp/multipartBody3847448634655752039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_16_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/7/15/a1819bc6ff98c2643f2806e6955f1a18.jpg","text":"TemporaryFile(/tmp/multipartBody2715486168874153993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_16_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/7/15/bedaaa146217457266914ba95aecdd4a.jpg","text":"TemporaryFile(/tmp/multipartBody7302931821665848363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_17_57_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/23fd3eeac72bdc38e597049af192dd06.jpg","text":"TemporaryFile(/tmp/multipartBody3604340563962317347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752614983580,"filename":"image_15072025_21_17_16_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241145","file1":"1372241142","file0":"1372241137","file4":"1372241156","file5":"1372241162","file3":"1372241150"},"map_files_photo_id_array":[{"photo_id":"1372241162","filename":"file5"},{"photo_id":"1372241145","filename":"file2"},{"photo_id":"1372241156","filename":"file4"},{"photo_id":"1372241142","filename":"file1"},{"photo_id":"1372241137","filename":"file0"},{"photo_id":"1372241150","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241156":["hashtag1","hashtag2"]},{"1372241137":["hashtag1","hashtag2"]},{"1372241142":["hashtag1","hashtag2"]},{"1372241145":["hashtag1","hashtag2"]},{"1372241162":["hashtag1","hashtag2"]},{"1372241150":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241156, 1372241137, 1372241142, 1372241145, 1372241162, 1372241150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.2933783531189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:29:42.578223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_09_3524.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_12_2705.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_16_3544.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_18_2697.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_21_2589.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_25_3676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_09_3524.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_12_2705.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_16_3544.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_18_2697.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_21_2589.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_25_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":["1372241213","1372241194","1372241206","1372241200","1372241190","1372241186"],"photo_ids_order":["1372241186","1372241190","1372241194","1372241200","1372241206","1372241213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c98f241d432069afe77fea01e7466834.jpg","text":"TemporaryFile(/tmp/multipartBody2472733881435789892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_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/7/15/610702fbb57b95280ea39ea067242d73.jpg","text":"TemporaryFile(/tmp/multipartBody2396727007812371817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_16_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e473b09b13b46c91043802edab9e2306.jpg","text":"TemporaryFile(/tmp/multipartBody2810887319444422005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_21_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/253cdc1616eee3c3125e8b52aeedca37.jpg","text":"TemporaryFile(/tmp/multipartBody5594224759248071629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_18_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9c929000d204c66c7197351e8bdf8a06.jpg","text":"TemporaryFile(/tmp/multipartBody5704291570312311767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_12_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4c50c174f550204c9afc42ee4bbdeaf9.jpg","text":"TemporaryFile(/tmp/multipartBody3640514824216803782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615043664,"filename":"image_15072025_21_18_09_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241194","file1":"1372241190","file0":"1372241186","file4":"1372241206","file5":"1372241213","file3":"1372241200"},"map_files_photo_id_array":[{"photo_id":"1372241213","filename":"file5"},{"photo_id":"1372241194","filename":"file2"},{"photo_id":"1372241206","filename":"file4"},{"photo_id":"1372241190","filename":"file1"},{"photo_id":"1372241186","filename":"file0"},{"photo_id":"1372241200","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241213":["hashtag1","hashtag2"]},{"1372241194":["hashtag1","hashtag2"]},{"1372241206":["hashtag1","hashtag2"]},{"1372241200":["hashtag1","hashtag2"]},{"1372241190":["hashtag1","hashtag2"]},{"1372241186":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241213, 1372241194, 1372241206, 1372241200, 1372241190, 1372241186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.33698034286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:30:42.152398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_27_2637.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_36_2777.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_39_2616.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_43_3538.jpg', '/home/pi/Desktop/images/15072025/21/22/image_15072025_21_22_38_2825.jpg', '/home/pi/Desktop/images/15072025/21/25/image_15072025_21_25_06_3890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_27_2637.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_36_2777.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_39_2616.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_43_3538.jpg
/home/pi/Desktop/images/15072025/21/22/image_15072025_21_22_38_2825.jpg
/home/pi/Desktop/images/15072025/21/25/image_15072025_21_25_06_3890.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7051289081573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:31:02.955846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_27_2637.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_36_2777.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_39_2616.jpg', '/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_43_3538.jpg', '/home/pi/Desktop/images/15072025/21/22/image_15072025_21_22_38_2825.jpg', '/home/pi/Desktop/images/15072025/21/25/image_15072025_21_25_06_3890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_27_2637.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_36_2777.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_39_2616.jpg
/home/pi/Desktop/images/15072025/21/18/image_15072025_21_18_43_3538.jpg
/home/pi/Desktop/images/15072025/21/22/image_15072025_21_22_38_2825.jpg
/home/pi/Desktop/images/15072025/21/25/image_15072025_21_25_06_3890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241290","1372241281","1372241298","1372241286","1372241274","1372241268"],"photo_ids_order":["1372241268","1372241274","1372241281","1372241286","1372241290","1372241298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8815b5ef69cf57094cb04e8bef51461.jpg","text":"TemporaryFile(/tmp/multipartBody3594397764592888402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_22_38_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7c00636f2d0dd7c1a0c0bdeefeff3e18.jpg","text":"TemporaryFile(/tmp/multipartBody6281510781723411275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_18_39_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a5227c3e108195e35b8ebc0e3251a84d.jpg","text":"TemporaryFile(/tmp/multipartBody4761221275703182159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_25_06_3890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e8422337c720795873e33820b762e239.jpg","text":"TemporaryFile(/tmp/multipartBody6282089920529352185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_18_43_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/31ddbffe84c0be20f11ed3d49e47465b.jpg","text":"TemporaryFile(/tmp/multipartBody8875161801322235985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_18_36_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fcf5c64c41a97f73eeb85d62cb4e95f3.jpg","text":"TemporaryFile(/tmp/multipartBody3154031464292287827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615124179,"filename":"image_15072025_21_18_27_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241281","file1":"1372241274","file0":"1372241268","file4":"1372241290","file5":"1372241298","file3":"1372241286"},"map_files_photo_id_array":[{"photo_id":"1372241298","filename":"file5"},{"photo_id":"1372241281","filename":"file2"},{"photo_id":"1372241290","filename":"file4"},{"photo_id":"1372241274","filename":"file1"},{"photo_id":"1372241268","filename":"file0"},{"photo_id":"1372241286","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241290":["hashtag1","hashtag2"]},{"1372241281":["hashtag1","hashtag2"]},{"1372241298":["hashtag1","hashtag2"]},{"1372241286":["hashtag1","hashtag2"]},{"1372241274":["hashtag1","hashtag2"]},{"1372241268":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241290, 1372241281, 1372241298, 1372241286, 1372241274, 1372241268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91111898422241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:32:03.097362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/34/image_15072025_21_34_05_2781.jpg', '/home/pi/Desktop/images/15072025/21/36/image_15072025_21_36_38_3640.jpg', '/home/pi/Desktop/images/15072025/21/36/image_15072025_21_36_56_2632.jpg', '/home/pi/Desktop/images/15072025/21/37/image_15072025_21_37_23_2792.jpg', '/home/pi/Desktop/images/15072025/21/37/image_15072025_21_37_32_2574.jpg', '/home/pi/Desktop/images/15072025/21/41/image_15072025_21_41_20_2721.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/34/image_15072025_21_34_05_2781.jpg
/home/pi/Desktop/images/15072025/21/36/image_15072025_21_36_38_3640.jpg
/home/pi/Desktop/images/15072025/21/36/image_15072025_21_36_56_2632.jpg
/home/pi/Desktop/images/15072025/21/37/image_15072025_21_37_23_2792.jpg
/home/pi/Desktop/images/15072025/21/37/image_15072025_21_37_32_2574.jpg
/home/pi/Desktop/images/15072025/21/41/image_15072025_21_41_20_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":["1372241315","1372241309","1372241338","1372241334","1372241328","1372241322"],"photo_ids_order":["1372241309","1372241315","1372241322","1372241328","1372241334","1372241338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a02c669455e71b044b628e020cb3dc06.jpg","text":"TemporaryFile(/tmp/multipartBody3833121448412774107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_36_38_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54014a7f943081e814237dbbfd2cf120.jpg","text":"TemporaryFile(/tmp/multipartBody2346908218204042997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_34_05_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/4088e0e9f9b4a26ca0ff835327c4c1db.jpg","text":"TemporaryFile(/tmp/multipartBody5187444231424007169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_41_20_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/46d93180d457de699c7c9acdcdcd91db.jpg","text":"TemporaryFile(/tmp/multipartBody1745692341011759428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_37_32_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/10d2eb515f72673dcf9ae15725a970ce.jpg","text":"TemporaryFile(/tmp/multipartBody4303668995661469908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_37_23_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0963fd13b26508e3c5def33fa8ce8177.jpg","text":"TemporaryFile(/tmp/multipartBody3397222483730289291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615184349,"filename":"image_15072025_21_36_56_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241322","file1":"1372241315","file0":"1372241309","file4":"1372241334","file5":"1372241338","file3":"1372241328"},"map_files_photo_id_array":[{"photo_id":"1372241338","filename":"file5"},{"photo_id":"1372241322","filename":"file2"},{"photo_id":"1372241334","filename":"file4"},{"photo_id":"1372241315","filename":"file1"},{"photo_id":"1372241309","filename":"file0"},{"photo_id":"1372241328","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241315":["hashtag1","hashtag2"]},{"1372241309":["hashtag1","hashtag2"]},{"1372241338":["hashtag1","hashtag2"]},{"1372241334":["hashtag1","hashtag2"]},{"1372241328":["hashtag1","hashtag2"]},{"1372241322":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241315, 1372241309, 1372241338, 1372241334, 1372241328, 1372241322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90190362930298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:33:03.191382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/41/image_15072025_21_41_52_2799.jpg', '/home/pi/Desktop/images/15072025/21/42/image_15072025_21_42_10_2725.jpg', '/home/pi/Desktop/images/15072025/21/42/image_15072025_21_42_17_2807.jpg', '/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_10_2670.jpg', '/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_16_3594.jpg', '/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_22_2709.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/41/image_15072025_21_41_52_2799.jpg
/home/pi/Desktop/images/15072025/21/42/image_15072025_21_42_10_2725.jpg
/home/pi/Desktop/images/15072025/21/42/image_15072025_21_42_17_2807.jpg
/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_10_2670.jpg
/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_16_3594.jpg
/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_22_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241362","1372241356","1372241385","1372241370","1372241375","1372241351"],"photo_ids_order":["1372241351","1372241356","1372241362","1372241370","1372241375","1372241385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3c44761139804cb76589f36aa2fc8b62.jpg","text":"TemporaryFile(/tmp/multipartBody8180782506366813926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_42_17_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1370820b61e20fbdb48da3a62d57aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2134489189401179531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_42_10_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d486fb41984b88d1721d7a3546137c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7282586173826002554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_44_22_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/72f455861fc7e02d1fb32549e65f192b.jpg","text":"TemporaryFile(/tmp/multipartBody250235226040913155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_44_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/7/15/c7eeebe91a67363b74ea5811bf96355f.jpg","text":"TemporaryFile(/tmp/multipartBody3018457382438156914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_44_16_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/a43f7a6f5f62822f04dc600bd1f6ca8c.jpg","text":"TemporaryFile(/tmp/multipartBody6725328900883108174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615244418,"filename":"image_15072025_21_41_52_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241362","file1":"1372241356","file0":"1372241351","file4":"1372241375","file5":"1372241385","file3":"1372241370"},"map_files_photo_id_array":[{"photo_id":"1372241385","filename":"file5"},{"photo_id":"1372241362","filename":"file2"},{"photo_id":"1372241375","filename":"file4"},{"photo_id":"1372241356","filename":"file1"},{"photo_id":"1372241351","filename":"file0"},{"photo_id":"1372241370","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241362":["hashtag1","hashtag2"]},{"1372241356":["hashtag1","hashtag2"]},{"1372241385":["hashtag1","hashtag2"]},{"1372241370":["hashtag1","hashtag2"]},{"1372241375":["hashtag1","hashtag2"]},{"1372241351":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241362, 1372241356, 1372241385, 1372241370, 1372241375, 1372241351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82070231437683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:34:03.310582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_29_3815.jpg', '/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_43_2787.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_04_3622.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_07_2927.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_13_2701.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_16_3734.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_29_3815.jpg
/home/pi/Desktop/images/15072025/21/44/image_15072025_21_44_43_2787.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_04_3622.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_07_2927.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_13_2701.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_16_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241414","1372241404","1372241394","1372241409","1372241399","1372241423"],"photo_ids_order":["1372241394","1372241399","1372241404","1372241409","1372241414","1372241423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7641af8f13ceb98d22919e6525b970eb.jpg","text":"TemporaryFile(/tmp/multipartBody8906083960226099574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_45_13_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/97e7670e0ed26eacb0c179a3e34b7848.jpg","text":"TemporaryFile(/tmp/multipartBody5521034846151430019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_45_04_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/09cf7ec88dd6a88216f0b592fc9ec6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1140322325373961927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_44_29_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5f8b57c7daab72e6018b4f712bfdece6.jpg","text":"TemporaryFile(/tmp/multipartBody4876172629950936632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_45_07_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/aba7d8a18de02469ff0699fefb366331.jpg","text":"TemporaryFile(/tmp/multipartBody2273119180072150000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_44_43_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e21ee72c0c091b71bbbc43d88348938b.jpg","text":"TemporaryFile(/tmp/multipartBody4039678047572639663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615304582,"filename":"image_15072025_21_45_16_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241404","file1":"1372241399","file0":"1372241394","file4":"1372241414","file5":"1372241423","file3":"1372241409"},"map_files_photo_id_array":[{"photo_id":"1372241423","filename":"file5"},{"photo_id":"1372241404","filename":"file2"},{"photo_id":"1372241414","filename":"file4"},{"photo_id":"1372241399","filename":"file1"},{"photo_id":"1372241394","filename":"file0"},{"photo_id":"1372241409","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241414":["hashtag1","hashtag2"]},{"1372241404":["hashtag1","hashtag2"]},{"1372241394":["hashtag1","hashtag2"]},{"1372241409":["hashtag1","hashtag2"]},{"1372241399":["hashtag1","hashtag2"]},{"1372241423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241414, 1372241404, 1372241394, 1372241409, 1372241399, 1372241423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.24702024459839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:35:03.515719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_22_2818.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_31_2850.jpg', '/home/pi/Desktop/images/15072025/21/45/image_15072025_21_46_01_3701.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_04_2690.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_19_3589.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_24_2644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_22_2818.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_45_31_2850.jpg
/home/pi/Desktop/images/15072025/21/45/image_15072025_21_46_01_3701.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_04_2690.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_19_3589.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_24_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241447","1372241461","1372241484","1372241466","1372241474","1372241453"],"photo_ids_order":["1372241447","1372241453","1372241461","1372241466","1372241474","1372241484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/50e16261abb16a1007c5d59c1409cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody3794029662635012811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_45_22_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f374e40e90b4fc93ef5139828a084a6d.jpg","text":"TemporaryFile(/tmp/multipartBody38344266309110739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_46_01_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e7ac919d6432af7532ebb1f818ff4b56.jpg","text":"TemporaryFile(/tmp/multipartBody6380375807613746792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_46_24_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2e3a9931934e1d112077dd5e84394314.jpg","text":"TemporaryFile(/tmp/multipartBody9067987984330583566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_46_04_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/1045b452499491da2d68f370bba216da.jpg","text":"TemporaryFile(/tmp/multipartBody3370408856375734189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_46_19_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e1eb681ecb45d57d77f47aca81bf41bc.jpg","text":"TemporaryFile(/tmp/multipartBody5635954559239381992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615364745,"filename":"image_15072025_21_45_31_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241461","file1":"1372241453","file0":"1372241447","file4":"1372241474","file5":"1372241484","file3":"1372241466"},"map_files_photo_id_array":[{"photo_id":"1372241484","filename":"file5"},{"photo_id":"1372241461","filename":"file2"},{"photo_id":"1372241474","filename":"file4"},{"photo_id":"1372241453","filename":"file1"},{"photo_id":"1372241447","filename":"file0"},{"photo_id":"1372241466","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241447":["hashtag1","hashtag2"]},{"1372241461":["hashtag1","hashtag2"]},{"1372241484":["hashtag1","hashtag2"]},{"1372241466":["hashtag1","hashtag2"]},{"1372241474":["hashtag1","hashtag2"]},{"1372241453":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241447, 1372241461, 1372241484, 1372241466, 1372241474, 1372241453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33994150161743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:36:02.462211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_28_3581.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_31_2544.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_37_2699.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_40_2672.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_43_3587.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_46_2649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_28_3581.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_31_2544.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_37_2699.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_40_2672.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_43_3587.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_46_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":["1372241510","1372241494","1372241503","1372241499","1372241523","1372241516"],"photo_ids_order":["1372241494","1372241499","1372241503","1372241510","1372241516","1372241523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/65f237ae68581d5ce43d4f6790d533fa.jpg","text":"TemporaryFile(/tmp/multipartBody8381436716038290952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_40_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/30c98359479d1d331d2898571321cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody4613331384009077933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_28_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5e583a081d902c9717f52440e4795fb4.jpg","text":"TemporaryFile(/tmp/multipartBody781023692471407928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_37_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f4ebbe3422a75922bfe44e4499843bda.jpg","text":"TemporaryFile(/tmp/multipartBody4492360495548031995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_31_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b8603f1ea5a6fed469b63c18788844de.jpg","text":"TemporaryFile(/tmp/multipartBody1684718447081369616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_46_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/89d8d15c813df9cf8a9c1dd733946ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5665803254032317961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615423639,"filename":"image_15072025_21_46_43_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241503","file1":"1372241499","file0":"1372241494","file4":"1372241516","file5":"1372241523","file3":"1372241510"},"map_files_photo_id_array":[{"photo_id":"1372241523","filename":"file5"},{"photo_id":"1372241503","filename":"file2"},{"photo_id":"1372241516","filename":"file4"},{"photo_id":"1372241499","filename":"file1"},{"photo_id":"1372241494","filename":"file0"},{"photo_id":"1372241510","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241510":["hashtag1","hashtag2"]},{"1372241494":["hashtag1","hashtag2"]},{"1372241503":["hashtag1","hashtag2"]},{"1372241499":["hashtag1","hashtag2"]},{"1372241523":["hashtag1","hashtag2"]},{"1372241516":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241510, 1372241494, 1372241503, 1372241499, 1372241523, 1372241516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.423572063446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:37:02.807320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_55_3570.jpg', '/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_58_2627.jpg', '/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_07_2711.jpg', '/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_46_3685.jpg', '/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_49_2548.jpg', '/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_52_3526.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_55_3570.jpg
/home/pi/Desktop/images/15072025/21/46/image_15072025_21_46_58_2627.jpg
/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_07_2711.jpg
/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_46_3685.jpg
/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_49_2548.jpg
/home/pi/Desktop/images/15072025/21/47/image_15072025_21_47_52_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241566","1372241551","1372241568","1372241562","1372241571","1372241559"],"photo_ids_order":["1372241551","1372241559","1372241562","1372241566","1372241568","1372241571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/720f361dbdc914736f21b2a55539b2f5.jpg","text":"TemporaryFile(/tmp/multipartBody1600063681406630532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_47_46_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/7e5866ce0a157dd1ccce28157fb746b5.jpg","text":"TemporaryFile(/tmp/multipartBody4832284950456500420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_46_55_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8117b2dfb99259126c6759fc3bb19d36.jpg","text":"TemporaryFile(/tmp/multipartBody8956741078795493385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_47_49_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b9a3603e33c5c9fb31ca59186188bce4.jpg","text":"TemporaryFile(/tmp/multipartBody2200853499546839750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_47_07_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d9a0a09cfbb6ee2c97a8f9df8aaed4eb.jpg","text":"TemporaryFile(/tmp/multipartBody8321111712068200064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_47_52_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/3ec9526732d66e28908238ad71fe78c5.jpg","text":"TemporaryFile(/tmp/multipartBody8645472384815682624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615484091,"filename":"image_15072025_21_46_58_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241562","file1":"1372241559","file0":"1372241551","file4":"1372241568","file5":"1372241571","file3":"1372241566"},"map_files_photo_id_array":[{"photo_id":"1372241571","filename":"file5"},{"photo_id":"1372241562","filename":"file2"},{"photo_id":"1372241568","filename":"file4"},{"photo_id":"1372241559","filename":"file1"},{"photo_id":"1372241551","filename":"file0"},{"photo_id":"1372241566","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241566":["hashtag1","hashtag2"]},{"1372241551":["hashtag1","hashtag2"]},{"1372241568":["hashtag1","hashtag2"]},{"1372241562":["hashtag1","hashtag2"]},{"1372241571":["hashtag1","hashtag2"]},{"1372241559":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241566, 1372241551, 1372241568, 1372241562, 1372241571, 1372241559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.573203802108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:38:02.917248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/48/image_15072025_21_48_49_2616.jpg', '/home/pi/Desktop/images/15072025/21/51/image_15072025_21_51_39_2735.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_03_2861.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_48_2774.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_54_00_2819.jpg', '/home/pi/Desktop/images/15072025/21/54/image_15072025_21_54_48_2639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/48/image_15072025_21_48_49_2616.jpg
/home/pi/Desktop/images/15072025/21/51/image_15072025_21_51_39_2735.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_03_2861.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_48_2774.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_54_00_2819.jpg
/home/pi/Desktop/images/15072025/21/54/image_15072025_21_54_48_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7729218006134033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:38:22.385591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/48/image_15072025_21_48_49_2616.jpg', '/home/pi/Desktop/images/15072025/21/51/image_15072025_21_51_39_2735.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_03_2861.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_48_2774.jpg', '/home/pi/Desktop/images/15072025/21/53/image_15072025_21_54_00_2819.jpg', '/home/pi/Desktop/images/15072025/21/54/image_15072025_21_54_48_2639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/48/image_15072025_21_48_49_2616.jpg
/home/pi/Desktop/images/15072025/21/51/image_15072025_21_51_39_2735.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_03_2861.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_53_48_2774.jpg
/home/pi/Desktop/images/15072025/21/53/image_15072025_21_54_00_2819.jpg
/home/pi/Desktop/images/15072025/21/54/image_15072025_21_54_48_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":["1372241645","1372241665","1372241620","1372241607","1372241651","1372241633"],"photo_ids_order":["1372241607","1372241620","1372241633","1372241645","1372241651","1372241665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/74ab5f1ffef8d93b0df420846010a5a5.jpg","text":"TemporaryFile(/tmp/multipartBody7220424104694664044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_53_48_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ffa79a46e9a271884d93f2df5dd652f6.jpg","text":"TemporaryFile(/tmp/multipartBody2133341967843588720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_54_48_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/afcff19234dcfb6b2e38f2898b7fd959.jpg","text":"TemporaryFile(/tmp/multipartBody5973658791477064577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_51_39_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/b1c1a3e4a01054950514fd4b5ce6d3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1132761384772018634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_48_49_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/c7e15c58d54b9a55790c77cd55ae6b19.jpg","text":"TemporaryFile(/tmp/multipartBody2781630245922723180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_54_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/7/15/dfd2a48a4d1401ab7fa926744924f8e8.jpg","text":"TemporaryFile(/tmp/multipartBody1904778505185649164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615563495,"filename":"image_15072025_21_53_03_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241633","file1":"1372241620","file0":"1372241607","file4":"1372241651","file5":"1372241665","file3":"1372241645"},"map_files_photo_id_array":[{"photo_id":"1372241665","filename":"file5"},{"photo_id":"1372241633","filename":"file2"},{"photo_id":"1372241651","filename":"file4"},{"photo_id":"1372241620","filename":"file1"},{"photo_id":"1372241607","filename":"file0"},{"photo_id":"1372241645","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241645":["hashtag1","hashtag2"]},{"1372241665":["hashtag1","hashtag2"]},{"1372241620":["hashtag1","hashtag2"]},{"1372241607":["hashtag1","hashtag2"]},{"1372241651":["hashtag1","hashtag2"]},{"1372241633":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241645, 1372241665, 1372241620, 1372241607, 1372241651, 1372241633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36872935295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:39:22.565423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/21/55/image_15072025_21_55_15_3760.jpg', '/home/pi/Desktop/images/15072025/21/56/image_15072025_21_56_42_3715.jpg', '/home/pi/Desktop/images/15072025/21/56/image_15072025_21_56_54_3692.jpg', '/home/pi/Desktop/images/15072025/21/58/image_15072025_21_58_14_2699.jpg', '/home/pi/Desktop/images/15072025/21/59/image_15072025_21_59_45_2598.jpg', '/home/pi/Desktop/images/15072025/21/59/image_15072025_21_59_47_2624.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/21/55/image_15072025_21_55_15_3760.jpg
/home/pi/Desktop/images/15072025/21/56/image_15072025_21_56_42_3715.jpg
/home/pi/Desktop/images/15072025/21/56/image_15072025_21_56_54_3692.jpg
/home/pi/Desktop/images/15072025/21/58/image_15072025_21_58_14_2699.jpg
/home/pi/Desktop/images/15072025/21/59/image_15072025_21_59_45_2598.jpg
/home/pi/Desktop/images/15072025/21/59/image_15072025_21_59_47_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241695","1372241682","1372241724","1372241690","1372241687","1372241714"],"photo_ids_order":["1372241682","1372241687","1372241690","1372241695","1372241714","1372241724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9ada8008546e82598330b4498b70a54.jpg","text":"TemporaryFile(/tmp/multipartBody6769596780509469337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_58_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/7/15/5a756e3321ff1b129ec2ca5e38fa07e0.jpg","text":"TemporaryFile(/tmp/multipartBody8854661787821017249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_55_15_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/81367679091b429d133a30b26202ab43.jpg","text":"TemporaryFile(/tmp/multipartBody3227655618400414141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_59_47_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/0f8aa33d7d3c69a0cb56dde68a541935.jpg","text":"TemporaryFile(/tmp/multipartBody967727166868932413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_56_54_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/e9f286308bbb2976a3ddbca18c65d4f9.jpg","text":"TemporaryFile(/tmp/multipartBody679261527704160586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_56_42_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/82294e2f2d6e38a9fc06b0adba2820c0.jpg","text":"TemporaryFile(/tmp/multipartBody8559980786271023267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615623683,"filename":"image_15072025_21_59_45_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241690","file1":"1372241687","file0":"1372241682","file4":"1372241714","file5":"1372241724","file3":"1372241695"},"map_files_photo_id_array":[{"photo_id":"1372241724","filename":"file5"},{"photo_id":"1372241690","filename":"file2"},{"photo_id":"1372241714","filename":"file4"},{"photo_id":"1372241687","filename":"file1"},{"photo_id":"1372241682","filename":"file0"},{"photo_id":"1372241695","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241695":["hashtag1","hashtag2"]},{"1372241682":["hashtag1","hashtag2"]},{"1372241724":["hashtag1","hashtag2"]},{"1372241690":["hashtag1","hashtag2"]},{"1372241687":["hashtag1","hashtag2"]},{"1372241714":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241695, 1372241682, 1372241724, 1372241690, 1372241687, 1372241714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.65560531616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:40:21.903675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/22/00/image_15072025_22_00_17_3697.jpg', '/home/pi/Desktop/images/15072025/22/01/image_15072025_22_01_38_2708.jpg', '/home/pi/Desktop/images/15072025/22/03/image_15072025_22_03_04_2662.jpg', '/home/pi/Desktop/images/15072025/22/09/image_15072025_22_09_31_2501.jpg', '/home/pi/Desktop/images/15072025/22/15/image_15072025_22_15_26_3678.jpg', '/home/pi/Desktop/images/15072025/22/26/image_15072025_22_26_23_2864.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/22/00/image_15072025_22_00_17_3697.jpg
/home/pi/Desktop/images/15072025/22/01/image_15072025_22_01_38_2708.jpg
/home/pi/Desktop/images/15072025/22/03/image_15072025_22_03_04_2662.jpg
/home/pi/Desktop/images/15072025/22/09/image_15072025_22_09_31_2501.jpg
/home/pi/Desktop/images/15072025/22/15/image_15072025_22_15_26_3678.jpg
/home/pi/Desktop/images/15072025/22/26/image_15072025_22_26_23_2864.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6913435459136963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:40:41.846615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/22/00/image_15072025_22_00_17_3697.jpg', '/home/pi/Desktop/images/15072025/22/01/image_15072025_22_01_38_2708.jpg', '/home/pi/Desktop/images/15072025/22/03/image_15072025_22_03_04_2662.jpg', '/home/pi/Desktop/images/15072025/22/09/image_15072025_22_09_31_2501.jpg', '/home/pi/Desktop/images/15072025/22/15/image_15072025_22_15_26_3678.jpg', '/home/pi/Desktop/images/15072025/22/26/image_15072025_22_26_23_2864.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/22/00/image_15072025_22_00_17_3697.jpg
/home/pi/Desktop/images/15072025/22/01/image_15072025_22_01_38_2708.jpg
/home/pi/Desktop/images/15072025/22/03/image_15072025_22_03_04_2662.jpg
/home/pi/Desktop/images/15072025/22/09/image_15072025_22_09_31_2501.jpg
/home/pi/Desktop/images/15072025/22/15/image_15072025_22_15_26_3678.jpg
/home/pi/Desktop/images/15072025/22/26/image_15072025_22_26_23_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241803","1372241793","1372241787","1372241766","1372241798","1372241774"],"photo_ids_order":["1372241766","1372241774","1372241787","1372241793","1372241798","1372241803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/6c988b453904a0660ec6be88b0525ebb.jpg","text":"TemporaryFile(/tmp/multipartBody515561631634010502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_26_23_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/5fd1133b7d1113dd037ea141dcead9ae.jpg","text":"TemporaryFile(/tmp/multipartBody7453607075040995039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_09_31_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/8b86c4c207abe37e6230f8f095152729.jpg","text":"TemporaryFile(/tmp/multipartBody5586568930743145299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_03_04_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/536d06b5f46c49b4470ba1898cd4046b.jpg","text":"TemporaryFile(/tmp/multipartBody7104329078841623335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_00_17_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/f19ed6e1ef6523e73ee2d1c78f30ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody8463525969998811737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_15_26_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/cf582f670dc1e0f7e2515858e0e83624.jpg","text":"TemporaryFile(/tmp/multipartBody780109921277376411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615702928,"filename":"image_15072025_22_01_38_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241787","file1":"1372241774","file0":"1372241766","file4":"1372241798","file5":"1372241803","file3":"1372241793"},"map_files_photo_id_array":[{"photo_id":"1372241803","filename":"file5"},{"photo_id":"1372241787","filename":"file2"},{"photo_id":"1372241798","filename":"file4"},{"photo_id":"1372241774","filename":"file1"},{"photo_id":"1372241766","filename":"file0"},{"photo_id":"1372241793","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241803":["hashtag1","hashtag2"]},{"1372241793":["hashtag1","hashtag2"]},{"1372241787":["hashtag1","hashtag2"]},{"1372241766":["hashtag1","hashtag2"]},{"1372241798":["hashtag1","hashtag2"]},{"1372241774":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241803, 1372241793, 1372241787, 1372241766, 1372241798, 1372241774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.734132051467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:41:42.508000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/22/28/image_15072025_22_28_44_3683.jpg', '/home/pi/Desktop/images/15072025/22/33/image_15072025_22_33_30_3655.jpg', '/home/pi/Desktop/images/15072025/22/34/image_15072025_22_34_20_2675.jpg', '/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_05_1797.jpg', '/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_16_2747.jpg', '/home/pi/Desktop/images/15072025/22/38/image_15072025_22_38_19_3727.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/22/28/image_15072025_22_28_44_3683.jpg
/home/pi/Desktop/images/15072025/22/33/image_15072025_22_33_30_3655.jpg
/home/pi/Desktop/images/15072025/22/34/image_15072025_22_34_20_2675.jpg
/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_05_1797.jpg
/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_16_2747.jpg
/home/pi/Desktop/images/15072025/22/38/image_15072025_22_38_19_3727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7403738498687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:42:03.352237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/22/28/image_15072025_22_28_44_3683.jpg', '/home/pi/Desktop/images/15072025/22/33/image_15072025_22_33_30_3655.jpg', '/home/pi/Desktop/images/15072025/22/34/image_15072025_22_34_20_2675.jpg', '/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_05_1797.jpg', '/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_16_2747.jpg', '/home/pi/Desktop/images/15072025/22/38/image_15072025_22_38_19_3727.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/22/28/image_15072025_22_28_44_3683.jpg
/home/pi/Desktop/images/15072025/22/33/image_15072025_22_33_30_3655.jpg
/home/pi/Desktop/images/15072025/22/34/image_15072025_22_34_20_2675.jpg
/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_05_1797.jpg
/home/pi/Desktop/images/15072025/22/37/image_15072025_22_37_16_2747.jpg
/home/pi/Desktop/images/15072025/22/38/image_15072025_22_38_19_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372241921","1372241900","1372241893","1372241956","1372241952","1372241939"],"photo_ids_order":["1372241893","1372241900","1372241921","1372241939","1372241952","1372241956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/2d5e0a87e7836b554630a0ec4e1273da.jpg","text":"TemporaryFile(/tmp/multipartBody6593547463090003074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_34_20_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ea5f0355b6a9780ff164b69366612dee.jpg","text":"TemporaryFile(/tmp/multipartBody5250086523899245383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_33_30_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d5c428970c68a72f9bb15b1b8cb94a69.jpg","text":"TemporaryFile(/tmp/multipartBody5967608979323662324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_28_44_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/ddb2b0c2d922891c0d9dafc531351de4.jpg","text":"TemporaryFile(/tmp/multipartBody7557397197068361242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_38_19_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/9a8a8354c2a2aec2e3c6f27dfcfb23ef.jpg","text":"TemporaryFile(/tmp/multipartBody2749518913915764744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_37_16_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/d51dbfda6013ec49f407099265a1dbbc.jpg","text":"TemporaryFile(/tmp/multipartBody561303306225661622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615784521,"filename":"image_15072025_22_37_05_1797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372241921","file1":"1372241900","file0":"1372241893","file4":"1372241952","file5":"1372241956","file3":"1372241939"},"map_files_photo_id_array":[{"photo_id":"1372241956","filename":"file5"},{"photo_id":"1372241921","filename":"file2"},{"photo_id":"1372241952","filename":"file4"},{"photo_id":"1372241900","filename":"file1"},{"photo_id":"1372241893","filename":"file0"},{"photo_id":"1372241939","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372241921":["hashtag1","hashtag2"]},{"1372241900":["hashtag1","hashtag2"]},{"1372241893":["hashtag1","hashtag2"]},{"1372241956":["hashtag1","hashtag2"]},{"1372241952":["hashtag1","hashtag2"]},{"1372241939":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372241921, 1372241900, 1372241893, 1372241956, 1372241952, 1372241939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.279563903808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:43:03.509096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
  port_id : 24949303
  datou_current_id : 3288710
in upload_from_sqlite, uploading in 24949303
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15072025/22/39/image_15072025_22_39_10_2657.jpg', '/home/pi/Desktop/images/15072025/22/40/image_15072025_22_40_13_2529.jpg', '/home/pi/Desktop/images/15072025/22/45/image_15072025_22_45_23_3582.jpg', '/home/pi/Desktop/images/15072025/23/00/image_15072025_23_00_51_2790.jpg', '/home/pi/Desktop/images/15072025/23/03/image_15072025_23_03_03_2565.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3288710&datou=0
/home/pi/Desktop/images/15072025/22/39/image_15072025_22_39_10_2657.jpg
/home/pi/Desktop/images/15072025/22/40/image_15072025_22_40_13_2529.jpg
/home/pi/Desktop/images/15072025/22/45/image_15072025_22_45_23_3582.jpg
/home/pi/Desktop/images/15072025/23/00/image_15072025_23_00_51_2790.jpg
/home/pi/Desktop/images/15072025/23/03/image_15072025_23_03_03_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1372242034","1372242015","1372242009","1372242003","1372242023"],"photo_ids_order":["1372242003","1372242009","1372242015","1372242023","1372242034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/fbac377981debe2363ed4a0f08f51adf.jpg","text":"TemporaryFile(/tmp/multipartBody9128994705671653729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615844758,"filename":"image_15072025_23_03_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/7/15/90480919943fa104b9a3f1c3a0d1546f.jpg","text":"TemporaryFile(/tmp/multipartBody1149009819906215626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615844758,"filename":"image_15072025_22_45_23_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/28fa2b95807e9ffc9514e16e0cff8ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8062094866458156401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615844758,"filename":"image_15072025_22_40_13_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/15/54e29ceba463723776f63c43030d0cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4759287392648840998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615844758,"filename":"image_15072025_22_39_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/7/15/49d58075f35b0daed1b1615f0031e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8707700409386357085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752615844758,"filename":"image_15072025_23_00_51_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1372242015","file1":"1372242009","file0":"1372242003","file4":"1372242034","file3":"1372242023"},"map_files_photo_id_array":[{"photo_id":"1372242015","filename":"file2"},{"photo_id":"1372242034","filename":"file4"},{"photo_id":"1372242009","filename":"file1"},{"photo_id":"1372242003","filename":"file0"},{"photo_id":"1372242023","filename":"file3"}],"portfolio_id":24949303,"hashtag_by_photo_ids":[{"1372242034":["hashtag1","hashtag2"]},{"1372242015":["hashtag1","hashtag2"]},{"1372242009":["hashtag1","hashtag2"]},{"1372242003":["hashtag1","hashtag2"]},{"1372242023":["hashtag1","hashtag2"]}],"comms":"Portfolio 24949303 used, photo_id : ArrayBuffer(1372242034, 1372242015, 1372242009, 1372242003, 1372242023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.81300401687622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:44:03.244298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:44:22.394823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:44:42.357139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:45:02.694982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:45:21.844310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:45:41.900930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:46:03.049463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:46:22.517819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:46:42.561379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:47:02.615618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:47:21.799687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:47:41.909850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:48:02.884692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:48:22.276516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:48:42.285866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:49:03.445306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:49:22.504927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:49:42.734313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:50:02.976478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:50:22.324463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:50:42.340463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:51:03.547207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:51:22.696461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:51:42.756890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:52:02.893930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:52:22.304798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:52:42.242824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:53:03.242684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:53:22.424337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:53:42.463097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:54:02.950899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:54:22.230256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:54:42.347710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:55:02.728294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:55:21.855331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:55:41.915326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:56:03.132572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:56:22.654261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:56:42.589998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-07-15 23:57:02.760503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-07-15 23:57:21.914925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 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 www.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-07-15 23:57:41.866344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250715 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250713 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14072025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250714 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
